| media type | data type |
|---|---|
| application/json | GeoNetworkServiceDefinition (JSON) |
| media type | data type | description |
|---|---|---|
| application/xml | string (XML) |
POST /SDI-Service/GeoNetwork
Content-Type: application/json
Accept: application/xml
{
"priority" : 12345,
"hostname" : "...",
"majorVersion" : 12345,
"minorVersion" : 12345,
"releaseVersion" : 12345,
"type" : "THREDDS",
"adminPassword" : "...",
"properties" : [ {
"name" : "...",
"value" : "..."
}, {
"name" : "...",
"value" : "..."
} ],
"description" : "...",
"name" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/xml
...
| name | type | description |
|---|---|---|
| host | path |
| media type | data type | description |
|---|---|---|
| application/json | GeoNetworkDescriptor (JSON) |
GET /SDI-Service/GeoNetwork/configuration/{host}
Content-Type: */*
Accept: application/json
...
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"
} ]
}
| name | type | description |
|---|---|---|
| host | path |
| media type | data type | description |
|---|---|---|
| application/json | Credentials (JSON) |
GET /SDI-Service/GeoNetwork/credentials/{host}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"username" : "...",
"password" : "...",
"accessType" : "CONTEXT_MANAGER"
}
| name | type | description |
|---|---|---|
| host | path | |
| sourceToken | query |
| media type | data type | description |
|---|---|---|
| application/xml | string (XML) |
POST /SDI-Service/GeoNetwork/import/{host}
Content-Type: application/json
Accept: application/xml
...
HTTP/1.1 201 Created
Content-Type: application/xml
...