Skip to navigation

Reset place occupancy

View as Markdown
Reset the occupancy baseline for a place using the values in the request body.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

Details regarding the current occupancy of a place
placestringRequiredformat: "^.{0,10000}$"<=10000 characters
timestampdatetimeRequired
occupancyResetlongRequired0-10000
objectTypestringRequiredformat: "^.{0,10000}$"<=10000 characters

Response headers

Access-Control-Allow-OriginstringOptionalformat: "^.{0,10000}$"<=10000 characters

CORS header to allow cross-origin requests.

X-RateLimit-LimitintegerOptional
The maximum number of requests allowed in the current time period.
X-RateLimit-RemainingintegerOptional
The number of requests remaining in the current time period.
X-RateLimit-ResetintegerOptional

The time when the rate limit will be reset (Unix timestamp).

Response

Successful Operation.
successboolean

Errors

400
Bad Request Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error