GET /v1/saved-shapes/{id}
One saved shape, with its geometry.
| Access | |
|---|---|
| Keys | publishable or secret |
| Plan | Premium |
| Environment | live and sandbox |
| Acts for | one consumer |
| While the account is suspended | works |
| During a data stop | works |
Path
| Name | Type | Description |
|---|---|---|
id |
string | Required. The saved shape's ID, "shp_…". |
Headers
| Name | Description |
|---|---|
X-Client-Token |
With a publishable key: required. A token your server minted for the consumer with POST /v1/client-tokens. |
X-Client-Id |
With a secret key: required. Your own opaque ID for the consumer. |
Answers
200: The saved shape
The answer is { data, meta }; meta holds requestId and environment.
data is a SavedShape.
Errors
Every error has the same body, and says how to fix it (responses and errors).
More
One shape with its geometry, as POST returned it, or 404 not_found.
This page is made from the route's own declaration by npm run openapi. To change it, change the declaration or its explanation, never this file.