| media type | data type |
|---|---|
| application/json | GeoServerDefinition (JSON) |
| media type | data type | description |
|---|---|---|
| application/xml | string (XML) |
POST /SDI-Service/GeoServer
Content-Type: application/json
Accept: application/xml
{
"workspaces" : [ {
"name" : "...",
"access" : "PUBLIC"
}, {
"name" : "...",
"access" : "PUBLIC"
} ],
"hostname" : "...",
"majorVersion" : 12345,
"minorVersion" : 12345,
"releaseVersion" : 12345,
"type" : "GEOSERVER",
"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 | GeoServerDescriptor (JSON) |
GET /SDI-Service/GeoServer/configuration/{host}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"confidentialWorkspace" : "...",
"contextVisibilityWorkspace" : "...",
"sharedWorkspace" : "...",
"publicWorkspace" : "...",
"hostedLayersCount" : 12345,
"engineId" : "...",
"version" : {
"major" : 12345,
"minor" : 12345,
"build" : 12345
},
"baseEndpoint" : "...",
"accessibleCredentials" : [ {
"username" : "...",
"password" : "...",
"accessType" : "CONTEXT_USER"
}, {
"username" : "...",
"password" : "...",
"accessType" : "CONTEXT_MANAGER"
} ]
}
| name | type | description |
|---|---|---|
| host | path |
| media type | data type | description |
|---|---|---|
| application/json | Credentials (JSON) |
GET /SDI-Service/GeoServer/credentials/{host}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"username" : "...",
"password" : "...",
"accessType" : "ADMIN"
}
| name | type | description |
|---|---|---|
| host | path | |
| sourceToken | query |
| media type | data type | description |
|---|---|---|
| application/xml | string (XML) |
POST /SDI-Service/GeoServer/import/{host}
Content-Type: application/json
Accept: application/xml
...
HTTP/1.1 201 Created
Content-Type: application/xml
...