Describes service webmaps.
Returns JSON describing the webmaps endpoint including supported styles. 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/webmaps/self \
-H 'Accept: application/json'
Response
200 Response
{
"languages": [
{
"name": "English",
"code": "en"
}
],
"worldviews": [
{
"name": "China",
"code": "china"
}
],
"places": [
{
"name": "Attributed",
"code": "attributed"
}
],
"styles": [
{
"name": "ArcGIS Human Geography Dark",
"path": "/styles/arcgis/human-geography-dark",
"provider": "arcgis",
"thumbnailUrl": "https://www.arcgis.com/sharing/rest/content/items/ea3befe305494bb5b2acd77e1b3135dc/info/thumbnail/thumbnail1659480292164.png",
"selfUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/webmaps/arcgis/human-geography-dark/self",
"styleUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/webmaps/arcgis/human-geography-dark{?language}{?worldview}{?places}",
"rootUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/webmaps/arcgis/human-geography-dark/base{?language}{?worldview}{?places}",
"baseUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/webmaps/arcgis/human-geography-dark/base/self",
"detailUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/webmaps/arcgis/human-geography-dark/detail/self",
"labelsUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/webmaps/arcgis/human-geography-dark/labels/self"
}
],
"selfUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/webmaps/self",
"customStylesUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/webmaps/items/{item_id}"
}
Status | Meaning | Description | Schema |
---|---|---|---|
| A successful response for an output type self request. | ||
| Unknown | An error occurred on the server. |