List the rules naming a line
Every rule version whose scope names the line, whatever its state, with its domain, the module that reads it and whether it is mandatory — what retiring the line 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.line:read`
/referential/v1/lines/{id}/rulesEvery rule version whose scope names the line, whatever its state, with its domain, the module that reads it and whether it is mandatory — what retiring the line 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.line:read
Authorization
oauth2 In: header
Path Parameters
Response Body
*/*
curl -X GET "https://example.com/referential/v1/lines/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 }]Retire a line
Closes a line for good (D151), unlike a suspension, which stays temporary. Answers the rules naming the line, read before anything changed; the line runs no coach from today, and the rules module keeps its rules on the list needing attention and announces each mandatory rule left with nothing in force (RULES-051). The rules are the rules module's facts, so the caller also needs `referential.rule:read`. **Required permission:** `referential.line:write`
Suspend a line
Suspends an active line, recording the reason when one is given. **Required permission:** `referential.line:write`