Describes the Basemap Styles service.
Returns JSON describing the Basemap Styles Service. Includes a list of all supported languages, worldviews, and places.
Examples
Request
# You can also use wget
curl -X GET https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/self \
-H 'Accept: application/json'
Response
200 Response
{
"name": "Basemap Styles",
"version": "x.x.x",
"description": "Brief description of Basemap styles API",
"languages": [
{
"name": "English",
"code": "en"
}
],
"worldviews": [
{
"name": "China",
"code": "china"
}
],
"places": [
{
"name": "Attributed",
"code": "attributed"
}
],
"selfUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/self",
"stylesUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/styles/self",
"webmapsUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/webmaps/self"
}
Status | Meaning | Description | Schema |
---|---|---|---|
| A successful response for the root self request. | ||
| Unknown | An error occurred on the server. |