Edit Notice
const url = 'https://example.com/v1/notices/example';const options = { method: 'PATCH', headers: {'Content-Type': 'application/json'}, body: '{"content":{"title":"example","decision_summary":[{"statement":"example","source":"example"}],"role_of_automated_system":[{"statement":"example","source":"example"}],"main_factors":[{"statement":"example","source":"example"}],"inputs_used":[{"statement":"example","source":"example"}],"how_to_request_inputs":"example","rights":["example"],"human_review_available":true,"how_to_request_review":"example","deadline_note":"example","framework":"example","language":"en"}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://example.com/v1/notices/example \ --header 'Content-Type: application/json' \ --data '{ "content": { "title": "example", "decision_summary": [ { "statement": "example", "source": "example" } ], "role_of_automated_system": [ { "statement": "example", "source": "example" } ], "main_factors": [ { "statement": "example", "source": "example" } ], "inputs_used": [ { "statement": "example", "source": "example" } ], "how_to_request_inputs": "example", "rights": [ "example" ], "human_review_available": true, "how_to_request_review": "example", "deadline_note": "example", "framework": "example", "language": "en" } }'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”object
object
What was decided about the person, in plain language.
object
One plain-language sentence.
The record field path this sentence is derived from, e.g. events.policy_eval.policy_id, outcome.category, approval.authority.
What the automated system did and what humans did.
object
One plain-language sentence.
The record field path this sentence is derived from, e.g. events.policy_eval.policy_id, outcome.category, approval.authority.
The main elements the decision rested on, each with its source field.
object
One plain-language sentence.
The record field path this sentence is derived from, e.g. events.policy_eval.policy_id, outcome.category, approval.authority.
What categories of information were used.
object
One plain-language sentence.
The record field path this sentence is derived from, e.g. events.policy_eval.policy_id, outcome.category, approval.authority.
The person’s rights under the named framework and how to exercise them.
Responses
Section titled “ Responses ”Successful Response
object
Examplegenerated
{}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}