You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi.1.0.0.yaml
+231Lines changed: 231 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -529,6 +529,127 @@ paths:
529
529
encoding:
530
530
coverImage:
531
531
contentType: application/json
532
+
/api/forms/{formId}/highlight:
533
+
get:
534
+
operationId: Forms_getFormHighlight
535
+
summary: Get Form Highlight
536
+
description: Get the highlight question and its response statistics for a specific form. Returns 200 with questionId=null when no highlight is configured.
description: The server cannot find the requested resource.
552
+
content:
553
+
application/json:
554
+
schema:
555
+
$ref: '#/components/schemas/NotFound'
556
+
tags:
557
+
- Forms
558
+
put:
559
+
operationId: Forms_setFormHighlight
560
+
summary: Set Form Highlight
561
+
description: Set or update the highlight question for a specific form. Returns 400 if the question is not a choice-based type (singleChoice, multipleChoice, dropdown, detailedMultipleChoice).
description: 'Partially update the configured highlight for a specific form. Currently supports updating displayTitle only. Send displayTitle: null to fall back to the question''s current title.'
description: The highlighted question's unique identifier. Null if no highlight is configured.
3015
+
questionTitle:
3016
+
anyOf:
3017
+
- type: string
3018
+
- type: 'null'
3019
+
description: The current title of the highlighted question, fetched from the question. Null if no highlight is configured.
3020
+
displayTitle:
3021
+
anyOf:
3022
+
- type: string
3023
+
- type: 'null'
3024
+
description: The display title shown on the dashboard. Equals stored custom title if set, otherwise falls back to questionTitle. Null if no highlight is configured.
description: Response counts per choice option. Empty array if no highlight is configured.
3030
+
description: Response model for a form's highlight question statistics. When no highlight is configured, questionId is null and all other fields are null or empty.
0 commit comments