diff options
author | 2020-12-17 10:05:21 +0300 | |
---|---|---|
committer | 2020-12-17 10:05:21 +0300 | |
commit | b7951972ef5a45c36c9372823cf6d2aa65a652d2 (patch) | |
tree | 3c4ad6c7aeb7ec69c47f10c45fe10ca466c3d989 /SCHEMA.md | |
parent | Adds Webhook Option (diff) | |
parent | Merge pull request #38 from python-discord/submission-timestamp (diff) |
Merge branch 'main' into discord-webhook
Diffstat (limited to 'SCHEMA.md')
-rw-r--r-- | SCHEMA.md | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -135,13 +135,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 |