List the rules naming a bay
Every rule version whose scope names the bay, whatever its state, with its domain, the module that reads it and whether it is mandatory — what decommissioning the bay would touch, read before anything changes (RULES-051). The rules are the rules module's facts, so the caller also needs `referential.rule:read`. **Required permission:** `referential.bay:read`
/referential/v1/bays/{id}/rulesEvery rule version whose scope names the bay, whatever its state, with its domain, the module that reads it and whether it is mandatory — what decommissioning the bay would touch, read before anything changes (RULES-051). The rules are the rules module's facts, so the caller also needs referential.rule:read.
Required permission: referential.bay:read
Authorization
oauth2 In: header
Path Parameters
Response Body
*/*
curl -X GET "https://example.com/referential/v1/bays/string/rules"[ { "consumer": "string", "domain": "string", "domain_name": "string", "effective_at": "2019-08-24T14:15:22Z", "mandatory": true, "rule_code": "string", "rule_id": "string", "state": "string", "version_id": "string", "version_number": 0 }]Declare which coaches a bay takes
States the longest coach the bay takes, in metres, and the family it belongs to. Both replace what the bay held; an omitted value is cleared. **Required permission:** `referential.bay:write`
Get a beneficiary version
Returns one recorded version by id. **Required permission:** `referential.carrier:read-beneficiary`