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

HeaderRequiredDescription
tomtom-api-keyYesYour TomTom API key
AuthorizationYesBearer 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

FieldTypeDescription
storagesarrayList of storage objects
storages[].idstringUnique identifier for the storage
storages[].urlstringURL address of storage
storages[].typestringType of storage, supported values: AZURE_BLOB_STORAGE

Error responses

HTTP StatusErrorCauseSolution
401UnauthorizedInvalid credentialsRefresh API key or token
403ForbiddenInsufficient permissionsCheck your access rights
500Internal Server ErrorServer-side issueRetry the request