diff --git a/openapi.yaml b/openapi.yaml index 76bf8ea..adeaf0c 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -9106,7 +9106,9 @@ paths: It is added through a Project, the one whose records count for actions set to "Only count records in this project": the only Project that allows it, or `project_id` when more than one does (required then). Adding one that was removed from the Contact earlier restores the - actions they had done. + actions they had done. An Organisation Admin may also add back a Checklist that was removed + from the Contact while one of their Projects adds it automatically; it is added through that + Project. operationId: addContactChecklist security: [{tokenAuth: []}] parameters: diff --git a/server.js b/server.js index 916806a..712c522 100644 --- a/server.js +++ b/server.js @@ -2835,7 +2835,7 @@ function buildDocsPage() { { name: "beneficiary_id", in: "path", type: "integer", required: true, desc: "Contact ID" }, { name: "checklist_id", in: "path", type: "integer", required: true, desc: "Checklist ID" } ], [ - { code: "200", cls: "response-2xx", desc: "{checklist_id, beneficiary_id, removed_at, removed_by_user_id}. The Contact's progress is kept: adding the Checklist again restores it" }, + { code: "200", cls: "response-2xx", desc: "{checklist_id, beneficiary_id, removed_at, removed_by_user_id}. The Contact's progress is kept: adding the Checklist again restores it. An Organisation Admin can add back one a Project adds automatically" }, { code: "403", cls: "response-4xx", desc: "Only an Organisation Admin, or a colleague who can add this Checklist to the Contact, can remove it" }, { code: "404", cls: "response-4xx", desc: "A Contact the user can't see, or a Checklist the Contact doesn't have" } ])}