This endpoint is in preview and may be modified or removed at any time.
To use this endpoint, add preview=true
to the request query parameters.
Add enterprise map layers to a map. If unknown enterprise map layers or enterprise map layers that don't satisfy the security requirements are provided, the entire request will fail. For each request, a new layer is created for each enterprise map layer provided, thus not idempotent. Returns the IDs of the layers created.
boolean
Represents a boolean value that restricts an endpoint to preview mode when set to true.
object
The request body to add enterprise map layers to a map
list<EmlId>
The IDs of the enterprise map layers to be added to the map.
string
The ID of a enterprise map layer
object
Success response.
list<GaiaLayerId>
string
The ID of a layer in a Gaia map.
1
2
3
4
5
curl -X POST \
-H "Content-type: application/json" \
-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/gotham/v1/maps/ri.gaia..map.a1A2bcD3e45fg6h7ij/layers/emls?preview=true" \
-d '{"emlIds":["0123456789012345678901234567890123456789012345678901234567890123",1234567890123456789012345678901234567890123456789012345678901234]}'
1
2
3
4
5
{
"dataLayerIds": [
"exampleLayerId"
]
}