Get the yard policy
GET/sites/:siteId/yard-policy
Answers the declared policy, or the default one (declared false) for a site that never declared one: appointments not required, seal mismatch FLAG, lease 300 s, no detention free time. An unknown site is not an error; the only 404 is resource-not-found (a NUL character in the path).
Request
Responses
- 200
- 400
- 404
- 500
The policy.
Response Headers
A weak validator of the aggregate version, e.g. W/"3".
Malformed JSON body, an unknown field, a NUL byte, a missing or invalid Idempotency-Key, or an invalid path or query parameter (on the list operations an unknown query parameter, limit, cursor or filter value; on the reports the from/to window; on the yard policy an If-Match that is not an entity tag).
The addressed resource does not exist, or the path carries a NUL character (resource-not-found).
Unexpected failure; the detail never leaks internals.