diff --git a/openapi.yaml b/openapi.yaml index 4adcdde..df78d6f 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -1852,6 +1852,10 @@ paths: **Already closed or open.** `close` changes only the listed Projects that are open, and `reopen` only those that are closed. The others are left as they are. + **Progress Boards.** Closing a Project also archives the Progress Boards generated for it + (" on "), and reopening it reopens those boards. A board someone archived by + hand stays archived when the Project is reopened. + **Signup Pages.** Closing a Project that an active Signup Page uses would break that Signup Page, so `close` needs `signup_pages`: - `deactivate`: deactivate those Signup Pages, then close the Project. A Project whose Signup diff --git a/server.js b/server.js index 33582fd..0ee9038 100644 --- a/server.js +++ b/server.js @@ -1309,7 +1309,7 @@ function buildDocsPage() { { code: "403", cls: "response-4xx", desc: "You may not close or reopen one of the listed Projects; nothing changes" }, { code: "404", cls: "response-4xx", desc: "One of the listed Projects doesn't exist" }, { code: "422", cls: "response-4xx", desc: "Unknown status_action, missing signup_pages for close, or no Projects (or more than 200)" } - ], "What Close projects and Reopen projects do for the projects ticked in the Rows view of My Projects. Organisation Admins and Project Managers (Project Editors) can use it. close changes only the open Projects listed and reopen only the closed ones; each is closed or reopened as from its own settings menu, so its team is told. Check the result with GET /projects/{id} (is_closed).")} + ], "What Close projects and Reopen projects do for the projects ticked in the Rows view of My Projects. Organisation Admins and Project Managers (Project Editors) can use it. close changes only the open Projects listed and reopen only the closed ones; each is closed or reopened as from its own settings menu, so its team is told. Closing also archives the Progress Boards generated for the Project, and reopening reopens them (a board archived by hand stays archived). Check the result with GET /projects/{id} (is_closed).")} ${endpointCard("POST", "/projects/bulk_deletion", "Delete many closed Projects at once", true, [ { name: "project_ids", type: "integer[]", required: true, desc: "The Projects to delete, at most 200. Only the closed ones are deleted" } ], [