{ "uuid": "2eb56971-279b-471d-8d94-e0b967c273c2", "lastMigration": 29, "name": "Google Forms API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "aa6c103c-0c80-4457-8b46-9706068de50c", "documentation": "Create a new form using the title given in the provided form message in the request. *Important:* Only the form.info.title and form.info.document_title fields are copied to the new form. All other fields including the form description, items and settings are disallowed. To create a new form and add items, you must first call forms.create to create an empty form with a title and (optional) document title, and then call forms.update to add the items.", "method": "post", "endpoint": "v1/forms", "responses": [ { "uuid": "eb34358e-97a7-4a13-a2f0-3cc060ec5a9c", "body": "{\n \"formId\": \"\",\n \"info\": {\n \"description\": \"\",\n \"documentTitle\": \"\",\n \"title\": \"\"\n },\n \"items\": [\n {\n \"description\": \"\",\n \"imageItem\": {\n \"image\": {\n \"altText\": \"\",\n \"contentUri\": \"\",\n \"properties\": {\n \"alignment\": \"{{oneOf (array 'ALIGNMENT_UNSPECIFIED' 'LEFT' 'RIGHT' 'CENTER')}}\",\n \"width\": {{faker 'number.int' max=99999}}\n },\n \"sourceUri\": \"\"\n }\n },\n \"itemId\": \"\",\n \"pageBreakItem\": {},\n \"questionGroupItem\": {\n \"grid\": {\n \"columns\": {\n \"options\": [\n {\n \"goToAction\": \"{{oneOf (array 'GO_TO_ACTION_UNSPECIFIED' 'NEXT_SECTION' 'RESTART_FORM' 'SUBMIT_FORM')}}\",\n \"goToSectionId\": \"\",\n \"image\": {\n \"altText\": \"\",\n \"contentUri\": \"\",\n \"properties\": {\n \"alignment\": \"{{oneOf (array 'ALIGNMENT_UNSPECIFIED' 'LEFT' 'RIGHT' 'CENTER')}}\",\n \"width\": {{faker 'number.int' max=99999}}\n },\n \"sourceUri\": \"\"\n },\n \"isOther\": {{faker 'datatype.boolean'}},\n \"value\": \"\"\n }\n ],\n \"shuffle\": {{faker 'datatype.boolean'}},\n \"type\": \"{{oneOf (array 'CHOICE_TYPE_UNSPECIFIED' 'RADIO' 'CHECKBOX' 'DROP_DOWN')}}\"\n },\n \"shuffleQuestions\": {{faker 'datatype.boolean'}}\n },\n \"image\": {\n \"altText\": \"\",\n \"contentUri\": \"\",\n \"properties\": {\n \"alignment\": \"{{oneOf (array 'ALIGNMENT_UNSPECIFIED' 'LEFT' 'RIGHT' 'CENTER')}}\",\n \"width\": {{faker 'number.int' max=99999}}\n },\n \"sourceUri\": \"\"\n },\n \"questions\": [\n {\n \"choiceQuestion\": {\n \"options\": [\n {\n \"goToAction\": \"{{oneOf (array 'GO_TO_ACTION_UNSPECIFIED' 'NEXT_SECTION' 'RESTART_FORM' 'SUBMIT_FORM')}}\",\n \"goToSectionId\": \"\",\n \"image\": {\n \"altText\": \"\",\n \"contentUri\": \"\",\n \"properties\": {\n \"alignment\": \"{{oneOf (array 'ALIGNMENT_UNSPECIFIED' 'LEFT' 'RIGHT' 'CENTER')}}\",\n \"width\": {{faker 'number.int' max=99999}}\n },\n \"sourceUri\": \"\"\n },\n \"isOther\": {{faker 'datatype.boolean'}},\n \"value\": \"\"\n }\n ],\n \"shuffle\": {{faker 'datatype.boolean'}},\n \"type\": \"{{oneOf (array 'CHOICE_TYPE_UNSPECIFIED' 'RADIO' 'CHECKBOX' 'DROP_DOWN')}}\"\n },\n \"dateQuestion\": {\n \"includeTime\": {{faker 'datatype.boolean'}},\n \"includeYear\": {{faker 'datatype.boolean'}}\n },\n \"fileUploadQuestion\": {\n \"folderId\": \"\",\n \"maxFileSize\": \"\",\n \"maxFiles\": {{faker 'number.int' max=99999}},\n \"types\": [\n \"{{oneOf (array 'FILE_TYPE_UNSPECIFIED' 'ANY' 'DOCUMENT' 'PRESENTATION' 'SPREADSHEET' 'DRAWING' 'PDF' 'IMAGE' 'VIDEO' 'AUDIO')}}\"\n ]\n },\n \"grading\": {\n \"correctAnswers\": {\n \"answers\": [\n {\n \"value\": \"\"\n }\n ]\n },\n \"generalFeedback\": {\n \"material\": [\n {\n \"link\": {\n \"displayText\": \"\",\n \"uri\": \"\"\n },\n \"video\": {\n \"displayText\": \"\",\n \"youtubeUri\": \"\"\n }\n }\n ],\n \"text\": \"\"\n },\n \"pointValue\": {{faker 'number.int' max=99999}},\n \"whenRight\": {\n \"material\": [\n {\n \"link\": {\n \"displayText\": \"\",\n \"uri\": \"\"\n },\n \"video\": {\n \"displayText\": \"\",\n \"youtubeUri\": \"\"\n }\n }\n ],\n \"text\": \"\"\n },\n \"whenWrong\": {\n \"material\": [\n {\n \"link\": {\n \"displayText\": \"\",\n \"uri\": \"\"\n },\n \"video\": {\n \"displayText\": \"\",\n \"youtubeUri\": \"\"\n }\n }\n ],\n \"text\": \"\"\n }\n },\n \"questionId\": \"\",\n \"required\": {{faker 'datatype.boolean'}},\n \"rowQuestion\": {\n \"title\": \"\"\n },\n \"scaleQuestion\": {\n \"high\": {{faker 'number.int' max=99999}},\n \"highLabel\": \"\",\n \"low\": {{faker 'number.int' max=99999}},\n \"lowLabel\": \"\"\n },\n \"textQuestion\": {\n \"paragraph\": {{faker 'datatype.boolean'}}\n },\n \"timeQuestion\": {\n \"duration\": {{faker 'datatype.boolean'}}\n }\n }\n ]\n },\n \"questionItem\": {\n \"image\": {\n \"altText\": \"\",\n \"contentUri\": \"\",\n \"properties\": {\n \"alignment\": \"{{oneOf (array 'ALIGNMENT_UNSPECIFIED' 'LEFT' 'RIGHT' 'CENTER')}}\",\n \"width\": {{faker 'number.int' max=99999}}\n },\n \"sourceUri\": \"\"\n },\n \"question\": {\n \"choiceQuestion\": {\n \"options\": [\n {\n \"goToAction\": \"{{oneOf (array 'GO_TO_ACTION_UNSPECIFIED' 'NEXT_SECTION' 'RESTART_FORM' 'SUBMIT_FORM')}}\",\n \"goToSectionId\": \"\",\n \"image\": {\n \"altText\": \"\",\n \"contentUri\": \"\",\n \"properties\": {\n \"alignment\": \"{{oneOf (array 'ALIGNMENT_UNSPECIFIED' 'LEFT' 'RIGHT' 'CENTER')}}\",\n \"width\": {{faker 'number.int' max=99999}}\n },\n \"sourceUri\": \"\"\n },\n \"isOther\": {{faker 'datatype.boolean'}},\n \"value\": \"\"\n }\n ],\n \"shuffle\": {{faker 'datatype.boolean'}},\n \"type\": \"{{oneOf (array 'CHOICE_TYPE_UNSPECIFIED' 'RADIO' 'CHECKBOX' 'DROP_DOWN')}}\"\n },\n \"dateQuestion\": {\n \"includeTime\": {{faker 'datatype.boolean'}},\n \"includeYear\": {{faker 'datatype.boolean'}}\n },\n \"fileUploadQuestion\": {\n \"folderId\": \"\",\n \"maxFileSize\": \"\",\n \"maxFiles\": {{faker 'number.int' max=99999}},\n \"types\": [\n \"{{oneOf (array 'FILE_TYPE_UNSPECIFIED' 'ANY' 'DOCUMENT' 'PRESENTATION' 'SPREADSHEET' 'DRAWING' 'PDF' 'IMAGE' 'VIDEO' 'AUDIO')}}\"\n ]\n },\n \"grading\": {\n \"correctAnswers\": {\n \"answers\": [\n {\n \"value\": \"\"\n }\n ]\n },\n \"generalFeedback\": {\n \"material\": [\n {\n \"link\": {\n \"displayText\": \"\",\n \"uri\": \"\"\n },\n \"video\": {\n \"displayText\": \"\",\n \"youtubeUri\": \"\"\n }\n }\n ],\n \"text\": \"\"\n },\n \"pointValue\": {{faker 'number.int' max=99999}},\n \"whenRight\": {\n \"material\": [\n {\n \"link\": {\n \"displayText\": \"\",\n \"uri\": \"\"\n },\n \"video\": {\n \"displayText\": \"\",\n \"youtubeUri\": \"\"\n }\n }\n ],\n \"text\": \"\"\n },\n \"whenWrong\": {\n \"material\": [\n {\n \"link\": {\n \"displayText\": \"\",\n \"uri\": \"\"\n },\n \"video\": {\n \"displayText\": \"\",\n \"youtubeUri\": \"\"\n }\n }\n ],\n \"text\": \"\"\n }\n },\n \"questionId\": \"\",\n \"required\": {{faker 'datatype.boolean'}},\n \"rowQuestion\": {\n \"title\": \"\"\n },\n \"scaleQuestion\": {\n \"high\": {{faker 'number.int' max=99999}},\n \"highLabel\": \"\",\n \"low\": {{faker 'number.int' max=99999}},\n \"lowLabel\": \"\"\n },\n \"textQuestion\": {\n \"paragraph\": {{faker 'datatype.boolean'}}\n },\n \"timeQuestion\": {\n \"duration\": {{faker 'datatype.boolean'}}\n }\n }\n },\n \"textItem\": {},\n \"title\": \"\",\n \"videoItem\": {\n \"caption\": \"\",\n \"video\": {\n \"properties\": {\n \"alignment\": \"{{oneOf (array 'ALIGNMENT_UNSPECIFIED' 'LEFT' 'RIGHT' 'CENTER')}}\",\n \"width\": {{faker 'number.int' max=99999}}\n },\n \"youtubeUri\": \"\"\n }\n }\n }\n ],\n \"linkedSheetId\": \"\",\n \"responderUri\": \"\",\n \"revisionId\": \"\",\n \"settings\": {\n \"quizSettings\": {\n \"isQuiz\": {{faker 'datatype.boolean'}}\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3c7c2813-6451-414e-ac04-3c552376d888", "documentation": "Get a form.", "method": "get", "endpoint": "v1/forms/:formId", "responses": [ { "uuid": "8a5d01a4-db28-4d71-a369-e578c136e045", "body": "{\n \"formId\": \"\",\n \"info\": {\n \"description\": \"\",\n \"documentTitle\": \"\",\n \"title\": \"\"\n },\n \"items\": [\n {\n \"description\": \"\",\n \"imageItem\": {\n \"image\": {\n \"altText\": \"\",\n \"contentUri\": \"\",\n \"properties\": {\n \"alignment\": \"{{oneOf (array 'ALIGNMENT_UNSPECIFIED' 'LEFT' 'RIGHT' 'CENTER')}}\",\n \"width\": {{faker 'number.int' max=99999}}\n },\n \"sourceUri\": \"\"\n }\n },\n \"itemId\": \"\",\n \"pageBreakItem\": {},\n \"questionGroupItem\": {\n \"grid\": {\n \"columns\": {\n \"options\": [\n {\n \"goToAction\": \"{{oneOf (array 'GO_TO_ACTION_UNSPECIFIED' 'NEXT_SECTION' 'RESTART_FORM' 'SUBMIT_FORM')}}\",\n \"goToSectionId\": \"\",\n \"image\": {\n \"altText\": \"\",\n \"contentUri\": \"\",\n \"properties\": {\n \"alignment\": \"{{oneOf (array 'ALIGNMENT_UNSPECIFIED' 'LEFT' 'RIGHT' 'CENTER')}}\",\n \"width\": {{faker 'number.int' max=99999}}\n },\n \"sourceUri\": \"\"\n },\n \"isOther\": {{faker 'datatype.boolean'}},\n \"value\": \"\"\n }\n ],\n \"shuffle\": {{faker 'datatype.boolean'}},\n \"type\": \"{{oneOf (array 'CHOICE_TYPE_UNSPECIFIED' 'RADIO' 'CHECKBOX' 'DROP_DOWN')}}\"\n },\n \"shuffleQuestions\": {{faker 'datatype.boolean'}}\n },\n \"image\": {\n \"altText\": \"\",\n \"contentUri\": \"\",\n \"properties\": {\n \"alignment\": \"{{oneOf (array 'ALIGNMENT_UNSPECIFIED' 'LEFT' 'RIGHT' 'CENTER')}}\",\n \"width\": {{faker 'number.int' max=99999}}\n },\n \"sourceUri\": \"\"\n },\n \"questions\": [\n {\n \"choiceQuestion\": {\n \"options\": [\n {\n \"goToAction\": \"{{oneOf (array 'GO_TO_ACTION_UNSPECIFIED' 'NEXT_SECTION' 'RESTART_FORM' 'SUBMIT_FORM')}}\",\n \"goToSectionId\": \"\",\n \"image\": {\n \"altText\": \"\",\n \"contentUri\": \"\",\n \"properties\": {\n \"alignment\": \"{{oneOf (array 'ALIGNMENT_UNSPECIFIED' 'LEFT' 'RIGHT' 'CENTER')}}\",\n \"width\": {{faker 'number.int' max=99999}}\n },\n \"sourceUri\": \"\"\n },\n \"isOther\": {{faker 'datatype.boolean'}},\n \"value\": \"\"\n }\n ],\n \"shuffle\": {{faker 'datatype.boolean'}},\n \"type\": \"{{oneOf (array 'CHOICE_TYPE_UNSPECIFIED' 'RADIO' 'CHECKBOX' 'DROP_DOWN')}}\"\n },\n \"dateQuestion\": {\n \"includeTime\": {{faker 'datatype.boolean'}},\n \"includeYear\": {{faker 'datatype.boolean'}}\n },\n \"fileUploadQuestion\": {\n \"folderId\": \"\",\n \"maxFileSize\": \"\",\n \"maxFiles\": {{faker 'number.int' max=99999}},\n \"types\": [\n \"{{oneOf (array 'FILE_TYPE_UNSPECIFIED' 'ANY' 'DOCUMENT' 'PRESENTATION' 'SPREADSHEET' 'DRAWING' 'PDF' 'IMAGE' 'VIDEO' 'AUDIO')}}\"\n ]\n },\n \"grading\": {\n \"correctAnswers\": {\n \"answers\": [\n {\n \"value\": \"\"\n }\n ]\n },\n \"generalFeedback\": {\n \"material\": [\n {\n \"link\": {\n \"displayText\": \"\",\n \"uri\": \"\"\n },\n \"video\": {\n \"displayText\": \"\",\n \"youtubeUri\": \"\"\n }\n }\n ],\n \"text\": \"\"\n },\n \"pointValue\": {{faker 'number.int' max=99999}},\n \"whenRight\": {\n \"material\": [\n {\n \"link\": {\n \"displayText\": \"\",\n \"uri\": \"\"\n },\n \"video\": {\n \"displayText\": \"\",\n \"youtubeUri\": \"\"\n }\n }\n ],\n \"text\": \"\"\n },\n \"whenWrong\": {\n \"material\": [\n {\n \"link\": {\n \"displayText\": \"\",\n \"uri\": \"\"\n },\n \"video\": {\n \"displayText\": \"\",\n \"youtubeUri\": \"\"\n }\n }\n ],\n \"text\": \"\"\n }\n },\n \"questionId\": \"\",\n \"required\": {{faker 'datatype.boolean'}},\n \"rowQuestion\": {\n \"title\": \"\"\n },\n \"scaleQuestion\": {\n \"high\": {{faker 'number.int' max=99999}},\n \"highLabel\": \"\",\n \"low\": {{faker 'number.int' max=99999}},\n \"lowLabel\": \"\"\n },\n \"textQuestion\": {\n \"paragraph\": {{faker 'datatype.boolean'}}\n },\n \"timeQuestion\": {\n \"duration\": {{faker 'datatype.boolean'}}\n }\n }\n ]\n },\n \"questionItem\": {\n \"image\": {\n \"altText\": \"\",\n \"contentUri\": \"\",\n \"properties\": {\n \"alignment\": \"{{oneOf (array 'ALIGNMENT_UNSPECIFIED' 'LEFT' 'RIGHT' 'CENTER')}}\",\n \"width\": {{faker 'number.int' max=99999}}\n },\n \"sourceUri\": \"\"\n },\n \"question\": {\n \"choiceQuestion\": {\n \"options\": [\n {\n \"goToAction\": \"{{oneOf (array 'GO_TO_ACTION_UNSPECIFIED' 'NEXT_SECTION' 'RESTART_FORM' 'SUBMIT_FORM')}}\",\n \"goToSectionId\": \"\",\n \"image\": {\n \"altText\": \"\",\n \"contentUri\": \"\",\n \"properties\": {\n \"alignment\": \"{{oneOf (array 'ALIGNMENT_UNSPECIFIED' 'LEFT' 'RIGHT' 'CENTER')}}\",\n \"width\": {{faker 'number.int' max=99999}}\n },\n \"sourceUri\": \"\"\n },\n \"isOther\": {{faker 'datatype.boolean'}},\n \"value\": \"\"\n }\n ],\n \"shuffle\": {{faker 'datatype.boolean'}},\n \"type\": \"{{oneOf (array 'CHOICE_TYPE_UNSPECIFIED' 'RADIO' 'CHECKBOX' 'DROP_DOWN')}}\"\n },\n \"dateQuestion\": {\n \"includeTime\": {{faker 'datatype.boolean'}},\n \"includeYear\": {{faker 'datatype.boolean'}}\n },\n \"fileUploadQuestion\": {\n \"folderId\": \"\",\n \"maxFileSize\": \"\",\n \"maxFiles\": {{faker 'number.int' max=99999}},\n \"types\": [\n \"{{oneOf (array 'FILE_TYPE_UNSPECIFIED' 'ANY' 'DOCUMENT' 'PRESENTATION' 'SPREADSHEET' 'DRAWING' 'PDF' 'IMAGE' 'VIDEO' 'AUDIO')}}\"\n ]\n },\n \"grading\": {\n \"correctAnswers\": {\n \"answers\": [\n {\n \"value\": \"\"\n }\n ]\n },\n \"generalFeedback\": {\n \"material\": [\n {\n \"link\": {\n \"displayText\": \"\",\n \"uri\": \"\"\n },\n \"video\": {\n \"displayText\": \"\",\n \"youtubeUri\": \"\"\n }\n }\n ],\n \"text\": \"\"\n },\n \"pointValue\": {{faker 'number.int' max=99999}},\n \"whenRight\": {\n \"material\": [\n {\n \"link\": {\n \"displayText\": \"\",\n \"uri\": \"\"\n },\n \"video\": {\n \"displayText\": \"\",\n \"youtubeUri\": \"\"\n }\n }\n ],\n \"text\": \"\"\n },\n \"whenWrong\": {\n \"material\": [\n {\n \"link\": {\n \"displayText\": \"\",\n \"uri\": \"\"\n },\n \"video\": {\n \"displayText\": \"\",\n \"youtubeUri\": \"\"\n }\n }\n ],\n \"text\": \"\"\n }\n },\n \"questionId\": \"\",\n \"required\": {{faker 'datatype.boolean'}},\n \"rowQuestion\": {\n \"title\": \"\"\n },\n \"scaleQuestion\": {\n \"high\": {{faker 'number.int' max=99999}},\n \"highLabel\": \"\",\n \"low\": {{faker 'number.int' max=99999}},\n \"lowLabel\": \"\"\n },\n \"textQuestion\": {\n \"paragraph\": {{faker 'datatype.boolean'}}\n },\n \"timeQuestion\": {\n \"duration\": {{faker 'datatype.boolean'}}\n }\n }\n },\n \"textItem\": {},\n \"title\": \"\",\n \"videoItem\": {\n \"caption\": \"\",\n \"video\": {\n \"properties\": {\n \"alignment\": \"{{oneOf (array 'ALIGNMENT_UNSPECIFIED' 'LEFT' 'RIGHT' 'CENTER')}}\",\n \"width\": {{faker 'number.int' max=99999}}\n },\n \"youtubeUri\": \"\"\n }\n }\n }\n ],\n \"linkedSheetId\": \"\",\n \"responderUri\": \"\",\n \"revisionId\": \"\",\n \"settings\": {\n \"quizSettings\": {\n \"isQuiz\": {{faker 'datatype.boolean'}}\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c89535dc-def8-4ba2-b003-b42abef7eead", "documentation": "List a form's responses.", "method": "get", "endpoint": "v1/forms/:formId/responses", "responses": [ { "uuid": "39062801-e495-483f-a6f9-9f821f23dafa", "body": "{\n \"nextPageToken\": \"\",\n \"responses\": [\n {\n \"answers\": {},\n \"createTime\": \"\",\n \"formId\": \"\",\n \"lastSubmittedTime\": \"\",\n \"respondentEmail\": \"\",\n \"responseId\": \"\",\n \"totalScore\": {{faker 'number.float'}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f6df6eed-ce74-470c-a1d7-687e7a725f8e", "documentation": "Get one response from the form.", "method": "get", "endpoint": "v1/forms/:formId/responses/:responseId", "responses": [ { "uuid": "0bed6643-892f-4dd8-8db6-dcc247754373", "body": "{\n \"answers\": {},\n \"createTime\": \"\",\n \"formId\": \"\",\n \"lastSubmittedTime\": \"\",\n \"respondentEmail\": \"\",\n \"responseId\": \"\",\n \"totalScore\": {{faker 'number.float'}}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bee18d98-9f66-4e0d-a788-f3674727b457", "documentation": "Return a list of the watches owned by the invoking project. The maximum number of watches is two: For each invoker, the limit is one for each event type per form.", "method": "get", "endpoint": "v1/forms/:formId/watches", "responses": [ { "uuid": "1f4c3be2-4570-427e-b611-ce9dca69ff73", "body": "{\n \"watches\": [\n {\n \"createTime\": \"\",\n \"errorType\": \"{{oneOf (array 'ERROR_TYPE_UNSPECIFIED' 'PROJECT_NOT_AUTHORIZED' 'NO_USER_ACCESS' 'OTHER_ERRORS')}}\",\n \"eventType\": \"{{oneOf (array 'EVENT_TYPE_UNSPECIFIED' 'SCHEMA' 'RESPONSES')}}\",\n \"expireTime\": \"\",\n \"id\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'ACTIVE' 'SUSPENDED')}}\",\n \"target\": {\n \"topic\": {\n \"topicName\": \"\"\n }\n }\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "80a52c11-23e9-482d-a077-02eb6cf4c017", "documentation": "Create a new watch. If a watch ID is provided, it must be unused. For each invoking project, the per form limit is one watch per Watch.EventType. A watch expires seven days after it is created (see Watch.expire_time).", "method": "post", "endpoint": "v1/forms/:formId/watches", "responses": [ { "uuid": "12e28735-ce55-4589-8ccc-ee59d3507a59", "body": "{\n \"createTime\": \"\",\n \"errorType\": \"{{oneOf (array 'ERROR_TYPE_UNSPECIFIED' 'PROJECT_NOT_AUTHORIZED' 'NO_USER_ACCESS' 'OTHER_ERRORS')}}\",\n \"eventType\": \"{{oneOf (array 'EVENT_TYPE_UNSPECIFIED' 'SCHEMA' 'RESPONSES')}}\",\n \"expireTime\": \"\",\n \"id\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'ACTIVE' 'SUSPENDED')}}\",\n \"target\": {\n \"topic\": {\n \"topicName\": \"\"\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3f2c8a79-d5a7-42a5-9c62-eefe5232b0ff", "documentation": "Delete a watch.", "method": "delete", "endpoint": "v1/forms/:formId/watches/:watchId", "responses": [ { "uuid": "cfef800a-5115-4dfd-9b58-8c9a84a00707", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d29e4618-60b6-41e5-b6f4-f28ef9275ea1", "documentation": "Renew an existing watch for seven days. The state of the watch after renewal is `ACTIVE`, and the `expire_time` is seven days from the renewal. Renewing a watch in an error state (e.g. `SUSPENDED`) succeeds if the error is no longer present, but fail otherwise. After a watch has expired, RenewWatch returns `NOT_FOUND`.", "method": "post", "endpoint": "v1/forms/:formId/watches/:watchId:renew", "responses": [ { "uuid": "d0984627-9910-4992-8007-c84bc9c10282", "body": "{\n \"createTime\": \"\",\n \"errorType\": \"{{oneOf (array 'ERROR_TYPE_UNSPECIFIED' 'PROJECT_NOT_AUTHORIZED' 'NO_USER_ACCESS' 'OTHER_ERRORS')}}\",\n \"eventType\": \"{{oneOf (array 'EVENT_TYPE_UNSPECIFIED' 'SCHEMA' 'RESPONSES')}}\",\n \"expireTime\": \"\",\n \"id\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'ACTIVE' 'SUSPENDED')}}\",\n \"target\": {\n \"topic\": {\n \"topicName\": \"\"\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "77f6b03d-3481-47cb-8c27-1414c56ea2a2", "documentation": "Change the form with a batch of updates.", "method": "post", "endpoint": "v1/forms/:formId:batchUpdate", "responses": [ { "uuid": "802bac90-d6be-48e0-9e60-acd521dcc258", "body": "{\n \"form\": {\n \"formId\": \"\",\n \"info\": {\n \"description\": \"\",\n \"documentTitle\": \"\",\n \"title\": \"\"\n },\n \"items\": [\n {\n \"description\": \"\",\n \"imageItem\": {\n \"image\": {\n \"altText\": \"\",\n \"contentUri\": \"\",\n \"properties\": {\n \"alignment\": \"{{oneOf (array 'ALIGNMENT_UNSPECIFIED' 'LEFT' 'RIGHT' 'CENTER')}}\",\n \"width\": {{faker 'number.int' max=99999}}\n },\n \"sourceUri\": \"\"\n }\n },\n \"itemId\": \"\",\n \"pageBreakItem\": {},\n \"questionGroupItem\": {\n \"grid\": {\n \"columns\": {\n \"options\": [\n {\n \"goToAction\": \"{{oneOf (array 'GO_TO_ACTION_UNSPECIFIED' 'NEXT_SECTION' 'RESTART_FORM' 'SUBMIT_FORM')}}\",\n \"goToSectionId\": \"\",\n \"image\": {\n \"altText\": \"\",\n \"contentUri\": \"\",\n \"properties\": {\n \"alignment\": \"{{oneOf (array 'ALIGNMENT_UNSPECIFIED' 'LEFT' 'RIGHT' 'CENTER')}}\",\n \"width\": {{faker 'number.int' max=99999}}\n },\n \"sourceUri\": \"\"\n },\n \"isOther\": {{faker 'datatype.boolean'}},\n \"value\": \"\"\n }\n ],\n \"shuffle\": {{faker 'datatype.boolean'}},\n \"type\": \"{{oneOf (array 'CHOICE_TYPE_UNSPECIFIED' 'RADIO' 'CHECKBOX' 'DROP_DOWN')}}\"\n },\n \"shuffleQuestions\": {{faker 'datatype.boolean'}}\n },\n \"image\": {\n \"altText\": \"\",\n \"contentUri\": \"\",\n \"properties\": {\n \"alignment\": \"{{oneOf (array 'ALIGNMENT_UNSPECIFIED' 'LEFT' 'RIGHT' 'CENTER')}}\",\n \"width\": {{faker 'number.int' max=99999}}\n },\n \"sourceUri\": \"\"\n },\n \"questions\": [\n {\n \"choiceQuestion\": {\n \"options\": [\n {\n \"goToAction\": \"{{oneOf (array 'GO_TO_ACTION_UNSPECIFIED' 'NEXT_SECTION' 'RESTART_FORM' 'SUBMIT_FORM')}}\",\n \"goToSectionId\": \"\",\n \"image\": {\n \"altText\": \"\",\n \"contentUri\": \"\",\n \"properties\": {\n \"alignment\": \"{{oneOf (array 'ALIGNMENT_UNSPECIFIED' 'LEFT' 'RIGHT' 'CENTER')}}\",\n \"width\": {{faker 'number.int' max=99999}}\n },\n \"sourceUri\": \"\"\n },\n \"isOther\": {{faker 'datatype.boolean'}},\n \"value\": \"\"\n }\n ],\n \"shuffle\": {{faker 'datatype.boolean'}},\n \"type\": \"{{oneOf (array 'CHOICE_TYPE_UNSPECIFIED' 'RADIO' 'CHECKBOX' 'DROP_DOWN')}}\"\n },\n \"dateQuestion\": {\n \"includeTime\": {{faker 'datatype.boolean'}},\n \"includeYear\": {{faker 'datatype.boolean'}}\n },\n \"fileUploadQuestion\": {\n \"folderId\": \"\",\n \"maxFileSize\": \"\",\n \"maxFiles\": {{faker 'number.int' max=99999}},\n \"types\": [\n \"{{oneOf (array 'FILE_TYPE_UNSPECIFIED' 'ANY' 'DOCUMENT' 'PRESENTATION' 'SPREADSHEET' 'DRAWING' 'PDF' 'IMAGE' 'VIDEO' 'AUDIO')}}\"\n ]\n },\n \"grading\": {\n \"correctAnswers\": {\n \"answers\": [\n {\n \"value\": \"\"\n }\n ]\n },\n \"generalFeedback\": {\n \"material\": [\n {\n \"link\": {\n \"displayText\": \"\",\n \"uri\": \"\"\n },\n \"video\": {\n \"displayText\": \"\",\n \"youtubeUri\": \"\"\n }\n }\n ],\n \"text\": \"\"\n },\n \"pointValue\": {{faker 'number.int' max=99999}},\n \"whenRight\": {\n \"material\": [\n {\n \"link\": {\n \"displayText\": \"\",\n \"uri\": \"\"\n },\n \"video\": {\n \"displayText\": \"\",\n \"youtubeUri\": \"\"\n }\n }\n ],\n \"text\": \"\"\n },\n \"whenWrong\": {\n \"material\": [\n {\n \"link\": {\n \"displayText\": \"\",\n \"uri\": \"\"\n },\n \"video\": {\n \"displayText\": \"\",\n \"youtubeUri\": \"\"\n }\n }\n ],\n \"text\": \"\"\n }\n },\n \"questionId\": \"\",\n \"required\": {{faker 'datatype.boolean'}},\n \"rowQuestion\": {\n \"title\": \"\"\n },\n \"scaleQuestion\": {\n \"high\": {{faker 'number.int' max=99999}},\n \"highLabel\": \"\",\n \"low\": {{faker 'number.int' max=99999}},\n \"lowLabel\": \"\"\n },\n \"textQuestion\": {\n \"paragraph\": {{faker 'datatype.boolean'}}\n },\n \"timeQuestion\": {\n \"duration\": {{faker 'datatype.boolean'}}\n }\n }\n ]\n },\n \"questionItem\": {\n \"image\": {\n \"altText\": \"\",\n \"contentUri\": \"\",\n \"properties\": {\n \"alignment\": \"{{oneOf (array 'ALIGNMENT_UNSPECIFIED' 'LEFT' 'RIGHT' 'CENTER')}}\",\n \"width\": {{faker 'number.int' max=99999}}\n },\n \"sourceUri\": \"\"\n },\n \"question\": {\n \"choiceQuestion\": {\n \"options\": [\n {\n \"goToAction\": \"{{oneOf (array 'GO_TO_ACTION_UNSPECIFIED' 'NEXT_SECTION' 'RESTART_FORM' 'SUBMIT_FORM')}}\",\n \"goToSectionId\": \"\",\n \"image\": {\n \"altText\": \"\",\n \"contentUri\": \"\",\n \"properties\": {\n \"alignment\": \"{{oneOf (array 'ALIGNMENT_UNSPECIFIED' 'LEFT' 'RIGHT' 'CENTER')}}\",\n \"width\": {{faker 'number.int' max=99999}}\n },\n \"sourceUri\": \"\"\n },\n \"isOther\": {{faker 'datatype.boolean'}},\n \"value\": \"\"\n }\n ],\n \"shuffle\": {{faker 'datatype.boolean'}},\n \"type\": \"{{oneOf (array 'CHOICE_TYPE_UNSPECIFIED' 'RADIO' 'CHECKBOX' 'DROP_DOWN')}}\"\n },\n \"dateQuestion\": {\n \"includeTime\": {{faker 'datatype.boolean'}},\n \"includeYear\": {{faker 'datatype.boolean'}}\n },\n \"fileUploadQuestion\": {\n \"folderId\": \"\",\n \"maxFileSize\": \"\",\n \"maxFiles\": {{faker 'number.int' max=99999}},\n \"types\": [\n \"{{oneOf (array 'FILE_TYPE_UNSPECIFIED' 'ANY' 'DOCUMENT' 'PRESENTATION' 'SPREADSHEET' 'DRAWING' 'PDF' 'IMAGE' 'VIDEO' 'AUDIO')}}\"\n ]\n },\n \"grading\": {\n \"correctAnswers\": {\n \"answers\": [\n {\n \"value\": \"\"\n }\n ]\n },\n \"generalFeedback\": {\n \"material\": [\n {\n \"link\": {\n \"displayText\": \"\",\n \"uri\": \"\"\n },\n \"video\": {\n \"displayText\": \"\",\n \"youtubeUri\": \"\"\n }\n }\n ],\n \"text\": \"\"\n },\n \"pointValue\": {{faker 'number.int' max=99999}},\n \"whenRight\": {\n \"material\": [\n {\n \"link\": {\n \"displayText\": \"\",\n \"uri\": \"\"\n },\n \"video\": {\n \"displayText\": \"\",\n \"youtubeUri\": \"\"\n }\n }\n ],\n \"text\": \"\"\n },\n \"whenWrong\": {\n \"material\": [\n {\n \"link\": {\n \"displayText\": \"\",\n \"uri\": \"\"\n },\n \"video\": {\n \"displayText\": \"\",\n \"youtubeUri\": \"\"\n }\n }\n ],\n \"text\": \"\"\n }\n },\n \"questionId\": \"\",\n \"required\": {{faker 'datatype.boolean'}},\n \"rowQuestion\": {\n \"title\": \"\"\n },\n \"scaleQuestion\": {\n \"high\": {{faker 'number.int' max=99999}},\n \"highLabel\": \"\",\n \"low\": {{faker 'number.int' max=99999}},\n \"lowLabel\": \"\"\n },\n \"textQuestion\": {\n \"paragraph\": {{faker 'datatype.boolean'}}\n },\n \"timeQuestion\": {\n \"duration\": {{faker 'datatype.boolean'}}\n }\n }\n },\n \"textItem\": {},\n \"title\": \"\",\n \"videoItem\": {\n \"caption\": \"\",\n \"video\": {\n \"properties\": {\n \"alignment\": \"{{oneOf (array 'ALIGNMENT_UNSPECIFIED' 'LEFT' 'RIGHT' 'CENTER')}}\",\n \"width\": {{faker 'number.int' max=99999}}\n },\n \"youtubeUri\": \"\"\n }\n }\n }\n ],\n \"linkedSheetId\": \"\",\n \"responderUri\": \"\",\n \"revisionId\": \"\",\n \"settings\": {\n \"quizSettings\": {\n \"isQuiz\": {{faker 'datatype.boolean'}}\n }\n }\n },\n \"replies\": [\n {\n \"createItem\": {\n \"itemId\": \"\",\n \"questionId\": [\n \"\"\n ]\n }\n }\n ],\n \"writeControl\": {\n \"requiredRevisionId\": \"\",\n \"targetRevisionId\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "aa6c103c-0c80-4457-8b46-9706068de50c" }, { "type": "route", "uuid": "3c7c2813-6451-414e-ac04-3c552376d888" }, { "type": "route", "uuid": "c89535dc-def8-4ba2-b003-b42abef7eead" }, { "type": "route", "uuid": "f6df6eed-ce74-470c-a1d7-687e7a725f8e" }, { "type": "route", "uuid": "bee18d98-9f66-4e0d-a788-f3674727b457" }, { "type": "route", "uuid": "80a52c11-23e9-482d-a077-02eb6cf4c017" }, { "type": "route", "uuid": "3f2c8a79-d5a7-42a5-9c62-eefe5232b0ff" }, { "type": "route", "uuid": "d29e4618-60b6-41e5-b6f4-f28ef9275ea1" }, { "type": "route", "uuid": "77f6b03d-3481-47cb-8c27-1414c56ea2a2" } ] }