NDS.Live

getServiceModuleDefinition

Request access

Returns the module definition of the service itself, not of its content. Use it to check that your map data component can read the tiles of the service.

Request data

HTTP method: POST

URL request format
https://{serviceURL}/getServiceModuleDefinition?apiKey={Your_API_Key}

Request body

This method takes no request body.

HTTP request headers

This method needs no request headers.

Response data

Response body

On success, the body is a zserio-encoded ModuleDefinition object. It describes the Smart Layer module that the service implements:

FieldDescriptionExample
nameThe name of the module.SMART
versionThe version of the module that the service implements.2026.06
minVersionThe minimum version of the module that your map data component needs to parse the service’s responses.2024.09

Check that the zserio code your map data component uses to decode responses was generated from a version of the Smart Layer module that is at least minVersion. Each layer also has its own minVersion, which getServiceDefinition lists. The registry response holds the same values, so your map data component can check them before it calls the service. Your map data component checks both as modules get new versions.

HTTP response headers

This method doesn’t return an ETag, so it doesn’t support conditional requests.

HTTP status codes

Besides the codes below, any method can return the common errors, for example 401 for a missing API key.

CodeMeaning
200OK. The response body holds the ModuleDefinition.
410Gone. The Smart Layer Tile Service is decommissioned. Ask the NDS.Live Registry for another service.
500Internal server error.