Skip to content
Merged
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
4 changes: 4 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15576,6 +15576,10 @@ paths:

Every Project is checked first, so if one is refused none is added. A Project that
already uses the Survey is left as it is and listed in `existing_project_ids`.

When the Survey has Shared Intervals (shared waves) in a Project's own organisation,
shared waves are turned on automatically for that Project's survey campaign, including
one that already used the Survey. They are never turned off.
security: [{tokenAuth: []}]
parameters:
- name: id
Expand Down
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -3021,7 +3021,7 @@ function buildDocsPage() {
{ code: "401", cls: "response-4xx", desc: "Missing or invalid token" },
{ code: "404", cls: "response-4xx", desc: "The Survey, or a Project, isn't one you can use; the error names it. Nothing is added" },
{ code: "422", cls: "response-4xx", desc: "No <code>project_ids</code>, or a Project is closed or its Project Category doesn't allow other Surveys. Nothing is added" }
], "The same as Add survey to project(s) on a Survey's page.")}
], "The same as Add survey to project(s) on a Survey's page. When the Survey has Shared Intervals in a Project's organisation, shared waves are turned on automatically for that Project's survey campaign.")}
${endpointCard("PATCH", "/surveys/{id}", "Change a Survey", true, [
{ name: "id", in: "path", type: "integer", required: true, desc: "The Survey (Story Category) id" },
{ name: "name", in: "body", type: "string", required: false, desc: "A new name; one your organisation already uses for another Survey is 422" },
Expand Down
Loading