/self

Click to copy

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

NameTypeRequiredDefault valueDescription

string

The authentication token, created from an ArcGIS Location Platform account, with the premium:user:staticbasemaptiles privilege, used to access the static basemap tiles service.

token

The authentication token, created from an ArcGIS Location Platform account, with the premium:user:staticbasemaptiles 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

Use dark colors for code blocksCopy
1
2
3
# 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

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  "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"
        ]
      ]
    }
  ]
}
StatusMeaningDescriptionSchema

200

OK

A successful response for the root self request.

ServiceSelf

401

Unauthorized

Authentication Error. The API key or token is missing, invalid or expired.

Error

403

Forbidden

The required parameter 'token' is valid, but does not have permission to access the service.

Error

5XX

Unknown

An error occurred on the server.

Error

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.