GET
https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/self
Returns JSON describing the Basemap Styles Service. Includes a list of all supported languages, worldviews, and places.
Response status
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | A successful response for the root self request. | ServiceSelf |
5XX | **Server Error** | An error occurred on the server. | Error |
Examples
Request
# You can also use wget
curl -X GET https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/self \
-H 'Authorization: Bearer <YOUR_TOKEN>'
Response
{
"name": "Basemap Styles",
"version": "x.x.x",
"description": "Brief description of Basemap styles API",
"styleFamilies": [
{
"name": "ArcGIS",
"code": "arcgis"
}
],
"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"
}