Download OpenAPI specification:
| title required | string (Forms.Models.formTitle) non-empty |
| description required | string (Forms.Models.formDescription) >= 0 characters |
{- "title": "string",
- "description": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "settings": {
- "visibility": "PUBLIC",
- "answer_settings": {
- "default_answer_title": "string",
- "visibility": "PUBLIC",
- "response_period": {
- "start_at": "2019-08-24T14:15:22Z",
- "end_at": "2019-08-24T14:15:22Z"
}
}
}
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "settings": {
- "visibility": "PUBLIC",
- "answer_settings": {
- "default_answer_title": "string",
- "visibility": "PUBLIC",
- "response_period": {
- "start_at": "2019-08-24T14:15:22Z",
- "end_at": "2019-08-24T14:15:22Z"
}
}
}
}
]| id required | string <uuid> (Forms.Models.formId) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "settings": {
- "visibility": "PUBLIC",
- "answer_settings": {
- "default_answer_title": "string",
- "visibility": "PUBLIC",
- "response_period": {
- "start_at": "2019-08-24T14:15:22Z",
- "end_at": "2019-08-24T14:15:22Z"
}
}
}
}| id required | string <uuid> (Forms.Models.formId) |
| title | string (Forms.Models.formTitle) non-empty |
| description | string (Forms.Models.formDescription) >= 0 characters |
object (Forms.Models.FormSettingsMergePatchUpdate) |
{- "title": "string",
- "description": "string",
- "settings": {
- "visibility": "PUBLIC",
- "answer_settings": {
- "default_answer_title": "string",
- "visibility": "PUBLIC",
- "response_period": {
- "start_at": "2019-08-24T14:15:22Z",
- "end_at": "2019-08-24T14:15:22Z"
}
}
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "settings": {
- "visibility": "PUBLIC",
- "answer_settings": {
- "default_answer_title": "string",
- "visibility": "PUBLIC",
- "response_period": {
- "start_at": "2019-08-24T14:15:22Z",
- "end_at": "2019-08-24T14:15:22Z"
}
}
}
}| form_id required | string <uuid> (Forms.Models.formId) |
[- {
- "id": 2147483647,
- "title": "string",
- "description": "string",
- "question_type": "TEXT",
- "choices": [
- "string"
], - "is_required": true
}
]| form_id required | string <uuid> (Forms.Models.formId) |
{- "questions": [
- {
- "id": 2147483647,
- "title": "string",
- "description": "string",
- "question_type": "TEXT",
- "choices": [
- "string"
], - "is_required": true
}
]
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "contents": [
- {
- "question_id": 2147483647,
- "answer": "string"
}
], - "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "role": "STANDARD_USER"
}, - "timestamp": "2019-08-24T14:15:22Z"
}
]| form_id required | string <uuid> (Forms.Models.formId) |
required | Array of objects (Answers.Models.Answer) |
{- "contents": [
- {
- "question_id": 2147483647,
- "answer": "string"
}
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "contents": [
- {
- "question_id": 2147483647,
- "answer": "string"
}
], - "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "role": "STANDARD_USER"
}, - "timestamp": "2019-08-24T14:15:22Z"
}| form_id required | string <uuid> (Forms.Models.formId) |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "contents": [
- {
- "question_id": 2147483647,
- "answer": "string"
}
], - "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "role": "STANDARD_USER"
}, - "timestamp": "2019-08-24T14:15:22Z"
}
]| form_id required | string <uuid> (Forms.Models.formId) |
| answer_id required | string <uuid> (Answers.Models.answerId) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "contents": [
- {
- "question_id": 2147483647,
- "answer": "string"
}
], - "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "role": "STANDARD_USER"
}, - "timestamp": "2019-08-24T14:15:22Z"
}| form_id required | string <uuid> (Forms.Models.formId) |
| answer_id required | string <uuid> (Answers.Models.answerId) |
Array of objects (Answers.Models.AnswerMergePatchUpdateReplaceOnly) |
{- "contents": [
- {
- "question_id": 2147483647,
- "answer": "string"
}
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "contents": [
- {
- "question_id": 2147483647,
- "answer": "string"
}
], - "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "role": "STANDARD_USER"
}, - "timestamp": "2019-08-24T14:15:22Z"
}| form_id required | string <uuid> (Forms.Models.formId) |
| answer_id required | string <uuid> (Answers.Models.answerId) |
| content required | string (Comments.Models.commentContent) non-empty |
{- "content": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "content": "string",
- "commented_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "role": "STANDARD_USER"
}, - "timestamp": "2019-08-24T14:15:22Z"
}| form_id required | string <uuid> (Forms.Models.formId) |
| answer_id required | string <uuid> (Answers.Models.answerId) |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "content": "string",
- "commented_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "role": "STANDARD_USER"
}, - "timestamp": "2019-08-24T14:15:22Z"
}
]| form_id required | string <uuid> (Forms.Models.formId) |
| answer_id required | string <uuid> (Answers.Models.answerId) |
| comment_id required | string <uuid> (Comments.Models.commentId) |
| content | string (Comments.Models.commentContent) non-empty |
{- "content": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "content": "string",
- "commented_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "role": "STANDARD_USER"
}, - "timestamp": "2019-08-24T14:15:22Z"
}| form_id required | string <uuid> (Forms.Models.formId) |
| answer_id required | string <uuid> (Answers.Models.answerId) |
| comment_id required | string <uuid> (Comments.Models.commentId) |
{- "errorCode": "string",
- "reason": "string"
}| id required | string <uuid> (Users.Models.userId) |
| id | string <uuid> (Users.Models.userId) |
| name | string (Users.Models.userName) non-empty |
| role | string (Users.Models.Role) Enum: "STANDARD_USER" "ADMINISTRATOR" |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "role": "STANDARD_USER"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "role": "STANDARD_USER"
}| form_id required | string <uuid> (Forms.Models.formId) |
| answer_id required | string <uuid> (Answers.Models.answerId) |
| body required | string (Messages.Models.messageBody) |
{- "body": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "sender": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "role": "STANDARD_USER"
}, - "body": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}| form_id required | string <uuid> (Forms.Models.formId) |
| answer_id required | string <uuid> (Answers.Models.answerId) |
{- "messages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "sender": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "role": "STANDARD_USER"
}, - "body": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
]
}| form_id required | string <uuid> (Forms.Models.formId) |
| answer_id required | string <uuid> (Answers.Models.answerId) |
| message_id required | string <uuid> (Messages.Models.messageId) |
| body | string (Messages.Models.messageBody) |
{- "body": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "sender": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "role": "STANDARD_USER"
}, - "body": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}| form_id required | string <uuid> (Forms.Models.formId) |
| answer_id required | string <uuid> (Answers.Models.answerId) |
| message_id required | string <uuid> (Messages.Models.messageId) |
{- "errorCode": "string",
- "reason": "string"
}| name required | string (LabelForAnswers.Models.labelNameForAnswers) non-empty |
{- "name": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}| label_id required | string <uuid> (LabelForAnswers.Models.labelForAnswersId) |
| name | string (LabelForAnswers.Models.labelNameForAnswers) non-empty |
{- "name": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}| name required | string (LabelForForm.Models.labelNameForForm) non-empty |
{- "name": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}| label_id required | string <uuid> (LabelForForm.Models.labelForFormId) |
| name | string (LabelForForm.Models.labelNameForForm) non-empty |
{- "name": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}{- "forms": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "settings": {
- "visibility": "PUBLIC",
- "answer_settings": {
- "default_answer_title": "string",
- "visibility": "PUBLIC",
- "response_period": {
- "start_at": "2019-08-24T14:15:22Z",
- "end_at": "2019-08-24T14:15:22Z"
}
}
}
}
], - "users": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "role": "STANDARD_USER"
}
], - "answers": [
- {
- "question_id": 2147483647,
- "answer": "string"
}
], - "comments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "content": "string",
- "commented_by": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "role": "STANDARD_USER"
}, - "timestamp": "2019-08-24T14:15:22Z"
}
], - "label_for_forms": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
], - "label_for_answers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
]
}| is_send_message_notification | boolean |
{- "is_send_message_notification": true
}{- "is_send_message_notification": true
}| expires required | integer <int64> [ 0 .. 4294967295 ] |
{- "expires": 4294967295
}{- "errorCode": "string",
- "reason": "string"
}| token required | string (External.Models.discordOAuthToken) |
{- "token": "string"
}{- "errorCode": "string",
- "reason": "string"
}