List storages
Request accessPurpose
Retrieve the private data storage locations you have access to.
Request data
HTTP method: GET
URL format
get
URL format
https://api.tomtom.com/maps/orbis/platform/private-gateway/storagescurl command example
get
curl command example
curl -X GET "https://api.tomtom.com/maps/orbis/platform/private-gateway/storages" \ -H "tomtom-api-key: YOUR_API_KEY" \ -H "Authorization: Bearer YOUR_AUTH_TOKEN"Request headers
| Header | Required | Description |
|---|---|---|
tomtom-api-key | Yes | Your TomTom API key |
Authorization | Yes | Bearer token from Azure CLI |
Response data
Response example
{ "storages": [ { "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479", "url": "https://mystorageaccount001.blob.core.windows.net/default/", "type": "AZURE_BLOB_STORAGE" }, { "id": "9b2f6c1d-3e8a-4f5b-a1c7-d4e9f0b3a625", "url": "https://mystorageaccount002.blob.core.windows.net/default/", "type": "AZURE_BLOB_STORAGE" } ]}Response fields
| Field | Type | Description |
|---|---|---|
storages | array | List of storage objects |
storages[].id | string (uuid) | Unique identifier for the storage |
storages[].url | string | URL of the storage. The host name starts with the storage account name used in Azure CLI commands. Files are stored in the default container. |
storages[].type | string | Type of storage, supported values: AZURE_BLOB_STORAGE |
Error responses
| HTTP Status | Error | Cause | Solution |
|---|---|---|---|
| 401 | Unauthorized | Invalid credentials | Refresh API key or token |
| 403 | Forbidden | The API key isn’t enabled for the GEM APIs | Enable the GEM APIs on your key, see Obtaining a TomTom API key |
| 500 | Internal Server Error | Server-side issue | Retry the request |