Skip to content
Closed
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: 9 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7771,6 +7771,15 @@ components:
type: boolean
display_respondent_name:
type: boolean
allow_respondent_finish_later:
type: boolean
description: Respondents answering from a personal survey link can save their answers and finish later.
hide_unanswered_questions:
type: boolean
description: >-
"Hide unanswered questions when viewing the story" on the Survey Campaign Settings page. When true,
viewing one contact's response (for example on their profile timeline) leaves out the questions they
did not answer. Read-only through the API.

StoryCategoryResponse:
allOf:
Expand Down
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -1336,7 +1336,7 @@ function buildDocsPage() {
${endpointCard("GET", "/project_story_categories", "List Survey Campaigns", true, [
{ name: "page", type: "integer", required: false, desc: "Page number" },
{ name: "per_page", type: "integer", required: false, desc: "Records per page" }
], [{ code: "200", cls: "response-2xx", desc: "Surveys deployed to specific Projects" }])}
], [{ code: "200", cls: "response-2xx", desc: "Surveys deployed to specific Projects, with their display settings (including hide_unanswered_questions and allow_respondent_finish_later)" }])}
${endpointCard("GET", "/project_story_categories/{id}/survey_waves", "List the Waves of a Survey Campaign", true, [
{ name: "id", in: "path", type: "integer", required: true, desc: "Survey Campaign (Project Story Category) ID" },
{ name: "page", type: "integer", required: false, desc: "Page number" },
Expand Down