Describes the static basemap tiles service.
Returns JSON describing the static basemap tiles service.
This self describing endpoint includes details on supported styles, including the name, thumbnail and a list of supported languages. The information for each style also includes the URLs to be used for requesting tiles.
You can use this information to build a dynamic user interface that presents a user with the available selection of basemap styles.
Query parameters
Name | Type | Required | Default value | Description |
---|---|---|---|---|
|
| The authentication token, created from an ArcGIS Location Platform account, with the |
token
The authentication token, created from an ArcGIS Location Platform account, with the premium
privilege, used to access the static basemap tiles service.
The token
parameter can be either an API Key or short-lived token. See
ArcGIS security
documentation
for more information on authenticating with a token or API key.
Alternatively, you can supply a token in the request header with one of the following keys using the "Bearer" scheme:
Authorization
: Bearer <YOUR _TOKEN > X-
Esri- Authorization : Bearer <YOUR _TOKEN >
Examples
Request
# You can also use wget
curl -X GET https://static-map-tiles-api.arcgis.com/arcgis/rest/services/static-basemap-tiles-service/beta/self \
-H 'Accept: application/json'
Response
200 Response
{
"languages": [
{
"name": "French",
"code": "fr"
}
],
"styles": [
{
"name": "ArcGIS Navigation",
"path": "/arcgis/navigation",
"provider": "arcgis",
"url": "https://static-map-tiles-api.arcgis.com/arcgis/rest/services/static-basemap-tiles-service/beta/arcgis/navigation/static",
"templateUrl": "https://static-map-tiles-api.arcgis.com/arcgis/rest/services/static-basemap-tiles-service/beta/arcgis/navigation/static/tile/{z}/{y}/{x}",
"thumbnailUrl": "https://www.arcgis.com/sharing/rest/content/items/ea3befe305494bb5b2acd77e1b3135dc/info/thumbnail/thumbnail1607389425104.jpeg",
"supportedLanguageCodes": [
[
"fr",
"de"
]
]
}
]
}
Status | Meaning | Description | Schema |
---|---|---|---|
| A successful response for the root self request. | ||
| Authentication Error. The API key or token is missing, invalid or expired. | ||
| The required parameter 'token' is valid, but does not have permission to access the service. | ||
| Unknown | An error occurred on the server. |