ArcGIS Oceans Base as a web map.
Returns the JSON for ArcGIS Oceans Base as a web map.
This layer is designed to be used as a basemap by marine GIS professionals and as a reference map by anyone interested in ocean data.
For more information about the style, data providers, attribution, and terms of use, go to the item page in ArcGIS.
Note:
This endpoint does not support worldviews. Making a request to this endpoint with a worldview
query parameter will result in a bad request
.
Query parameters
Name | Type | Required | Default value | Description |
---|---|---|---|---|
|
| The authentication token, used to access the Basemap styles service. | ||
|
| Optional, case-sensitive parameter to specify the format in which responses are given. Can either be json or pjson. |
token
The authentication token, used to access the Basemap styles service.
The token
parameter can be either an API Key or short-lived token.
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 >
The provided token
must have the necessary premium
privilege to use the basemap style service.
Developer guide: To learn more, go to Security and authentication.
f
Optional, case-sensitive parameter to specify the format in which responses are given. Can either be json or pjson.
- Default
- json
Enumerated values
Examples
Request
# You can also use wget
curl -X GET https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/webmaps/arcgis/oceans/base \
-H 'Accept: application/json'
Response
200 Response
{}
Status | Meaning | Description | Schema |
---|---|---|---|
| A successful response for a webmap request. | ||
| Invalid query parameters / Incorrect portal item type. | ||
| Authentication Error. The API key or token is missing, invalid or expired. | ||
| The requested resource cannot be accesed because of incorrent sharing permissions. | ||
| Unknown | An error occurred on the server. |