List storages
Purpose
Retrieve a list of all private data storage locations associated with your account.
Request data
HTTP method: GET
- Constants and parameters enclosed in curly brackets
{}must be replaced with their values. - See the following Request parameters section with the required and optional parameters tables for these values.
URL format
get
URL format
https://api.tomtom.com/maps/orbis/platform/private-gateway/storages
URL example
get
URL example
https://api.tomtom.com/maps/orbis/platform/private-gateway/storages
curl command example
get
curl command example
1curl -X GET "https://api.tomtom.com/maps/orbis/platform/private-gateway/storages" \2 -H "tomtom-api-key: YOUR_API_KEY" \3 -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
1{2 "storages": [3 {4 "id": "storage-001",5 "url": "https://storage-001.blob.core.windows.net/default/",6 "type": "AZURE_BLOB_STORAGE"7 },8 {9 "id": "storage-002",10 "url": "https://storage-002.blob.core.windows.net/default/",11 "type": "AZURE_BLOB_STORAGE"12 }13 ]14}
Response fields
| Field | Type | Description |
|---|---|---|
storages | array | List of storage objects |
storages[].id | string | Unique identifier for the storage |
storages[].url | string | URL address of storage |
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 | Insufficient permissions | Check your access rights |
| 500 | Internal Server Error | Server-side issue | Retry the request |