List a site's locations by role
GET/sites/:siteCode/locations
Answers "where are this site's dock doors" (or any other LocationRole) without walking the full nested site layout (ADR-0016). Results are ordered zone → aisle → bay → level → position, like getSiteLayout's slots. Keyset-paginated: limit and cursor; follow nextCursor until it is absent.
Request
Responses
- 200
- 400
- 404
- 422
- 500
Every LocationSlot at the site with the requested role, possibly empty.
Malformed input: a body that is not valid JSON, a location code that is not seven [A-Z0-9] segments, a missing required identifier, a query parameter outside its documented enum, an invalid limit / cursor or an undeclared query parameter on a paged collection, or a missing / malformed Idempotency-Key on a POST.
The named site, zone, aisle, slot, location type or placement rule does not exist.
Semantically invalid: a non-positive capacity, an unknown enum value, or a PlacementRule violation.
An unexpected failure, e.g. the datastore is unavailable.