Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18670,9 +18670,12 @@ paths:
tags: [Checklists]
summary: List an Organisation's Checklists
description: |
The Checklists of an Organisation (Charity). Visible to the Organisation's editors and
reporters, and to managers (editors) of its Projects. With `project_id`, only the Checklists
added to that Project, as the Checklist panel on its profile page shows them.
The Checklists of an Organisation (Charity) that you can see, the same ones the Checklist
tabs on Today › Focus show you. The Organisation's editors and reporters, and managers
(editors) of its Projects, see all of them. A reporter or observer of a Project sees only
the Checklists added to their Projects. With `project_id`, only the Checklists added to that
Project, as the Checklist panel on its profile page shows them. Forbidden (403) when you can
see none of the Organisation's Checklists.
operationId: listChecklists
security: [{tokenAuth: []}]
parameters:
Expand Down
4 changes: 2 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -4149,8 +4149,8 @@ function buildDocsPage() {
{ name: "per_page", type: "integer", required: false, desc: "Records per page" },
{ name: "last_synced_datetime", type: "string", required: false, desc: "ISO 8601 incremental sync" }
], [
{ code: "200", cls: "response-2xx", desc: "Paginated list of Checklists with <code>actions_count</code>" },
{ code: "403", cls: "response-4xx", desc: "No role in the Organisation that can see Checklists" },
{ code: "200", cls: "response-2xx", desc: "Paginated list of the Checklists you can see, with <code>actions_count</code>: all of them for the Organisation's editors and reporters and its Project managers, and only those added to your Projects for a Project reporter or observer (the same ones as the Checklist tabs on Today › Focus)" },
{ code: "403", cls: "response-4xx", desc: "You can see none of the Organisation's Checklists" },
{ code: "404", cls: "response-4xx", desc: "Unknown Organisation, or a <code>project_id</code> that isn't the Organisation's" }
])}
${endpointCard("GET", "/checklists/action_types", "List the actions a Checklist can contain", true, [], [
Expand Down
Loading