Error
{
"error": {
"code": 400,
"message": "string",
"details": [
"string"
],
"restInfoUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/info"
}
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
|
| none | Error information | |
|
| none | A code identifying the type of error, either an HTTP error code, | |
|
| none | A message describing the error. | |
|
| none | List of details about the error. | |
|
| none | URL that provides the basemap-styles service information. |
Enumerated Values
code
ServiceSelf
{
"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"
}
A JSON structure which describes the Basemap Styles Service. Includes a list of all supported languages, worldviews, and places.
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
|
| none | Name of the service. | |
|
| none | Version of the service that you are using. | |
|
| none | Description of the service. | |
|
| none | Supported languages that can be passed to the {?language} parameters. | |
|
| none | Name of the language. | |
|
| none | Code for the language. | |
|
| none | Supported worldviews that can be passed to the {?worldview} parameters. | |
|
| none | Name of the Worldview. | |
|
| none | Code for the language. | |
|
| none | Supported places values that can be passed to the {?places} parameters. | |
|
| none | Name of the places parameter. | |
|
| none | Code for the places parameter. | |
|
| none | URL that points to self. | |
|
| none | URL that points to styles self. | |
|
| none | URL that points to webmaps self. |
Style
{}
Provides a Style JSON as defined by the Maplibre Style specification.
Please refer to the specification.
Properties
Name | Type | Required | Restrictions |
---|
StylesItemSelf
{
"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/styles/arcgis/human-geography-dark/self",
"styleUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/styles/arcgis/human-geography-dark{?language}{?worldview}{?places}",
"rootUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/styles/arcgis/human-geography-dark/base{?language}{?worldview}{?places}",
"baseUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/styles/arcgis/human-geography-dark/base/self",
"detailUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/styles/arcgis/human-geography-dark/detail/self",
"labelsUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/styles/arcgis/human-geography-dark/labels/self"
}
Describes the provided style.
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
|
| none | Name of the style. | |
|
| none | Endpoint path used to access the style. | |
|
| none | Style provider, arcgis or osm. | |
|
| none | link to thumnail of style. | |
|
| none | URL that points to self. | |
|
| none | URL that refers to a style, potentially including parameters such as language, worldview, or places at the end if they are supported. | |
|
| none | URL that refers to a style's base portal id layer, potentially including parameters such as language, worldview, or places at the end if they are supported. | |
|
| none | URL that points to the base layer self. | |
|
| none | URL that points to the detail layer self. | |
|
| none | URL that points to the labels layer self. |
StylesSelf
{
"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/styles/arcgis/human-geography-dark/self",
"styleUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/styles/arcgis/human-geography-dark{?language}{?worldview}{?places}",
"rootUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/styles/arcgis/human-geography-dark/base{?language}{?worldview}{?places}",
"baseUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/styles/arcgis/human-geography-dark/base/self",
"detailUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/styles/arcgis/human-geography-dark/detail/self",
"labelsUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/styles/arcgis/human-geography-dark/labels/self"
}
],
"selfUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/styles/self",
"customStylesUrl": "https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/styles/items/{item_id}"
}
Describes the list of available style endpoints.
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
|
| none | Supported languages that can be passed to the {?language} parameters. | |
|
| none | Name of the language. | |
|
| none | Code for the language. | |
|
| none | Supported worldviews that can be passed to the {?worldview} parameters. | |
|
| none | Name of the Worldview. | |
|
| none | Code for the language. | |
|
| none | Supported places values that can be passed to the {?places} parameters. | |
|
| none | Name of the places parameter. | |
|
| none | Code for the places parameter. | |
| none | list of provided styles that can be used. | ||
|
| none | URL that points to self. | |
|
| none | URL that points to custom styles of the output type. |
Webmap
{}
Provides a Webmap JSON as defined by the ESRI ArcGIS Webmap specification.
Contains a URL pointing to the location of the requested style.
Please refer to the specification.
Properties
Name | Type | Required | Restrictions |
---|
WebmapItemSelf
{
"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"
}
Describes the provided style.
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
|
| none | Name of the style. | |
|
| none | Endpoint path used to access the webmap. | |
|
| none | Style provider, arcgis or osm. | |
|
| none | link to thumnail of style. | |
|
| none | URL that points to self. | |
|
| none | URL that refers to a style, potentially including parameters such as language, worldview, or places at the end if they are supported. | |
|
| none | URL that refers to a style's base portal id layer, potentially including parameters such as language, worldview, or places at the end if they are supported. | |
|
| none | URL that points to the base layer self. | |
|
| none | URL that points to the detail layer self. | |
|
| none | URL that points to the labels layer self. |
WebmapsSelf
{
"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}"
}
Describes the list of available webmap endpoints.
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
|
| none | Supported languages that can be passed to the {?language} parameters. | |
|
| none | Name of the language. | |
|
| none | Code for the language. | |
|
| none | Supported worldviews that can be passed to the {?worldview} parameters. | |
|
| none | Name of the Worldview. | |
|
| none | Code for the language. | |
|
| none | Supported places values that can be passed to the {?places} parameters. | |
|
| none | Name of the places parameter. | |
|
| none | Code for the places parameter. | |
| none | list of provided styles that can be used. | ||
|
| none | URL that points to self. | |
|
| none | URL that points to the endpoint for custom style webmaps. |