D4Science D4Science Don't have a D4Science account? Create one Could not find what you are looking for? Contact us.

GeoNetwork Resource

POST /GeoNetwork

Request Body
media type data type
application/json GeoNetworkServiceDefinition (JSON)
Response Body
media type data type description
application/xml string (XML)

Example

Request
POST /SDI-Service/GeoNetwork
Content-Type: application/json
Accept: application/xml

                
{
  "priority" : 12345,
  "hostname" : "...",
  "majorVersion" : 12345,
  "minorVersion" : 12345,
  "releaseVersion" : 12345,
  "type" : "GEOSERVER",
  "adminPassword" : "...",
  "properties" : [ {
    "name" : "...",
    "value" : "..."
  }, {
    "name" : "...",
    "value" : "..."
  } ],
  "description" : "...",
  "name" : "..."
}
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/xml

                
...
                
              

GET /GeoNetwork/configuration/{host}

Request Parameters
name type description
host path
Response Body
media type data type description
application/json GeoNetworkDescriptor (JSON)

Example

Request
GET /SDI-Service/GeoNetwork/configuration/{host}
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "contextGroup" : "...",
  "defaultGroup" : "...",
  "sharedGroup" : "...",
  "confidentialGroup" : "...",
  "publicGroup" : "...",
  "priority" : 12345,
  "engineId" : "...",
  "version" : {
    "major" : 12345,
    "minor" : 12345,
    "build" : 12345
  },
  "baseEndpoint" : "...",
  "accessibleCredentials" : [ {
    "username" : "...",
    "password" : "...",
    "accessType" : "ADMIN"
  }, {
    "username" : "...",
    "password" : "...",
    "accessType" : "ADMIN"
  } ]
}
                
              

GET /GeoNetwork/credentials/{host}

Request Parameters
name type description
host path
Response Body
media type data type description
application/json Credentials (JSON)

Example

Request
GET /SDI-Service/GeoNetwork/credentials/{host}
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "username" : "...",
  "password" : "...",
  "accessType" : "ADMIN"
}
                
              

POST /GeoNetwork/import/{host}

Request Parameters
name type description
host path
sourceToken query
Response Body
media type data type description
application/xml string (XML)

Example

Request
POST /SDI-Service/GeoNetwork/import/{host}
Content-Type: application/json
Accept: application/xml

                
...
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/xml

                
...