Skip to main content
Version: Next

Update map settings

PUT 

https://demo.openremote.io/api/master/map

Update map settings

Request

Header Parameters

    Authorization string
    X-Forwarded-Proto string
    X-Forwarded-Host string

Body

    options object
    property name* MapRealmConfig
    centerfloat[]
    boundsfloat[]
    zoomint32
    minZoomint32
    maxZoomint32
    boxZoomboolean
    geocodeUrlstring
    geoJson object
    sourceobject
    layersobject[]
    sources object
    property name* MapSourceConfig
    typestring
    urlstring
    tilesstring[]
    boundsfloat[]
    schemestring
    minzoomint32
    maxzoomint32
    attributionstring
    customboolean

Responses

default response

Schema
    objectobject

Authorization: oauth2

name: openidtype: oauth2flows: {
  "clientCredentials": {
    "tokenUrl": "/auth/realms/master/protocol/openid-connect/token",
    "refreshUrl": "/auth/realms/master/protocol/openid-connect/token",
    "scopes": {
      "profile": "profile"
    }
  },
  "authorizationCode": {
    "authorizationUrl": "/auth/realms/master/protocol/openid-connect/auth",
    "tokenUrl": "/auth/realms/master/protocol/openid-connect/token",
    "refreshUrl": "/auth/realms/master/protocol/openid-connect/token",
    "scopes": {
      "profile": "profile"
    }
  }
}
curl -L -X PUT 'https://demo.openremote.io/api/master/map' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <token>' \
-d '{
"options": {},
"sources": {}
}'
Request Collapse all
Base URL
https://demo.openremote.io/api/master
Auth
Parameters
— header
— header
— header
Body
{
  "options": {},
  "sources": {}
}
ResponseClear

Click the Send API Request button above and see the response here!