aboutsummaryrefslogtreecommitdiffstats
path: root/SCHEMA.md
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-12-17 09:25:03 +0200
committerGravatar GitHub <[email protected]>2020-12-17 09:25:03 +0200
commit4cefde0421715d79461ffc3ca970b7b26d7f2131 (patch)
tree7fa8e7a118499d7020a80ff5074253a1973af488 /SCHEMA.md
parentEnable docs and load protection middleware (diff)
parentMerge pull request #38 from python-discord/submission-timestamp (diff)
Merge branch 'main' into docs/api-spec
Diffstat (limited to 'SCHEMA.md')
-rw-r--r--SCHEMA.md15
1 files changed, 8 insertions, 7 deletions
diff --git a/SCHEMA.md b/SCHEMA.md
index b37ed1d..59b6c33 100644
--- a/SCHEMA.md
+++ b/SCHEMA.md
@@ -127,13 +127,14 @@ Textareas require no additional configuration.
## Form response
-| Field | Type | Description |
-| ---------- | ---------------------------------------------------- | --------------------------------------------------------------------------- |
-| `_id`/`id` | MongoDB ObjectID | Random identifier used for the response |
-| `user` | Optional [user details object](#user-details-object) | An object describing the user that submitted if the form is not anonymous |
-| `antispam` | Optional [anti spam object](#anti-spam-object) | An object containing information about the anti-spam on the form submission |
-| `response` | Object | Object containing question IDs mapping to the users answer |
-| `form_id` | String | ID of the form that the user is submitting to |
+| Field | Type | Description |
+| ----------- | ---------------------------------------------------- | --------------------------------------------------------------------------- |
+| `_id`/`id` | MongoDB ObjectID | Random identifier used for the response |
+| `user` | Optional [user details object](#user-details-object) | An object describing the user that submitted if the form is not anonymous |
+| `antispam` | Optional [anti spam object](#anti-spam-object) | An object containing information about the anti-spam on the form submission |
+| `response` | Object | Object containing question IDs mapping to the users answer |
+| `form_id` | String | ID of the form that the user is submitting to |
+| `timestamp` | String | ISO formatted string of submission time. |
### User details object