diff --git a/docs/API_v3.md b/docs/API_v3.md index 0f26ba77f..17ff34d80 100644 --- a/docs/API_v3.md +++ b/docs/API_v3.md @@ -53,6 +53,8 @@ This file contains the API-Documentation. For more information on the returned D - `POST /api/v3/forms/{formId}/questions/{questionId}/options` does now accept more options at once - `PATCH /api/v3/forms/{formId}/questions/{questionId}/options/reorder` to reorder the options - `POST /api/v3/forms/{formId}/submissions/files/{questionId}` to upload a file to a file question before submitting the form + - `GET /api/v3/forms/{formId}/submissions/{submissionId}` to get a single submission + - `PUT /api/v3/forms/{formId}/submissions/{submissionId}` to update an existing submission - In API version 2.5 the following endpoints were introduced: - `POST /api/v2.5/uploadFiles/{formId}/{questionId}` to upload files to answer before form submitting - In API version 2.4 the following endpoints were introduced: @@ -163,6 +165,7 @@ Returns the full-depth object of the requested form (without submissions). "filePath": "foo/bar", "isAnonymous": false, "submitMultiple": true, + "allowEditSubmissions": false, "showExpiration": false, "canSubmit": true, "state": 0, @@ -225,7 +228,9 @@ Returns the full-depth object of the requested form (without submissions). "shareWith": "dYcTWjrSsxjMFFQzFAywzq5J", "displayName": "" } - ] + ], + "submissionCount": 0, + "submissionMessage": "", } ``` diff --git a/docs/DataStructure.md b/docs/DataStructure.md index 9e3abff23..bd9490585 100644 --- a/docs/DataStructure.md +++ b/docs/DataStructure.md @@ -34,6 +34,8 @@ This document describes the Object-Structure, that is used within the Forms App | questions | Array of [Questions](#question) | | Array of questions belonging to the form | | shares | Array of [Shares](#share) | | Array of shares of the form | | submissions | Array of [Submissions](#submission) | | Array of submissions belonging to the form | +| submissionCount | Integer | | Number of submissions to the form | +| submissionMessage | String | | Message to show after a submission | ``` { @@ -59,6 +61,8 @@ This document describes the Object-Structure, that is used within the Forms App "state": 0, "shares": [] "submissions": [], + "submissionCount": 0, + "submissionMessage": "string" } ```