-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathquiz_submission_user_list.json
76 lines (73 loc) · 2.85 KB
/
quiz_submission_user_list.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"apiVersion": "1.0",
"swaggerVersion": "1.2",
"basePath": "https://canvas.instructure.com/api",
"resourcePath": "/quiz_submission_user_list",
"produces": [
"application/json"
],
"apis": [
{
"path": "/v1/courses/{course_id}/quizzes/{id}/submission_users/message",
"description": "{\n \"body\": {\n \"type\": \"string\",\n \"description\": \"message body of the conversation to be created\",\n \"example\": \"Please take the quiz.\"\n },\n \"recipients\": {\n \"type\": \"string\",\n \"description\": \"Who to send the message to. May be either 'submitted' or 'unsubmitted'\",\n \"example\": \"submitted\"\n },\n \"subject\": {\n \"type\": \"string\",\n \"description\": \"Subject of the new Conversation created\",\n \"example\": \"ATTN: Quiz 101 Students\"\n }\n}",
"operations": [
{
"method": "POST",
"summary": "Send a message to unsubmitted or submitted users for the quiz",
"notes": "{\n \"body\": {\n \"type\": \"string\",\n \"description\": \"message body of the conversation to be created\",\n \"example\": \"Please take the quiz.\"\n },\n \"recipients\": {\n \"type\": \"string\",\n \"description\": \"Who to send the message to. May be either 'submitted' or 'unsubmitted'\",\n \"example\": \"submitted\"\n },\n \"subject\": {\n \"type\": \"string\",\n \"description\": \"Subject of the new Conversation created\",\n \"example\": \"ATTN: Quiz 101 Students\"\n }\n}",
"nickname": "send_message_to_unsubmitted_or_submitted_users_for_quiz",
"parameters": [
{
"paramType": "path",
"name": "course_id",
"description": "ID",
"type": "string",
"format": null,
"required": true
},
{
"paramType": "path",
"name": "id",
"description": "ID",
"type": "string",
"format": null,
"required": true
},
{
"paramType": "form",
"name": "conversations",
"description": "- Body and recipients to send the message to.",
"type": "QuizUserConversation",
"format": null,
"required": false
}
],
"type": "void"
}
]
}
],
"models": {
"QuizSubmissionUserList": {
"id": "QuizSubmissionUserList",
"description": "",
"required": [
],
"properties": null
},
"QuizSubmissionUserListMeta": {
"id": "QuizSubmissionUserListMeta",
"description": "",
"required": [
],
"properties": null
},
"JSONAPIPagination": {
"id": "JSONAPIPagination",
"description": "",
"required": [
],
"properties": null
}
}
}