forked from instructure/pandarus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquiz_submission_files.json
60 lines (60 loc) · 2.07 KB
/
quiz_submission_files.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
{
"apiVersion": "1.0",
"swaggerVersion": "1.2",
"basePath": "https://canvas.instructure.com/api",
"resourcePath": "/quiz_submission_files",
"produces": [
"application/json"
],
"apis": [
{
"path": "/v1/courses/{course_id}/quizzes/{quiz_id}/submissions/self/files",
"description": "Associate a new quiz submission file\n\nThis API endpoint is the first step in uploading a quiz submission file.\nSee the {file:file_uploads.html File Upload Documentation} for details on\nthe file upload workflow as these parameters are interpreted as per the\ndocumentation there.",
"operations": [
{
"method": "POST",
"summary": "Upload a file",
"notes": "Associate a new quiz submission file\n\nThis API endpoint is the first step in uploading a quiz submission file.\nSee the {file:file_uploads.html File Upload Documentation} for details on\nthe file upload workflow as these parameters are interpreted as per the\ndocumentation there.",
"nickname": "upload_file",
"parameters": [
{
"paramType": "path",
"name": "course_id",
"description": "ID",
"type": "string",
"format": null,
"required": true
},
{
"paramType": "path",
"name": "quiz_id",
"description": "ID",
"type": "string",
"format": null,
"required": true
},
{
"paramType": "form",
"name": "name",
"description": "The name of the quiz submission file",
"type": "string",
"format": null,
"required": false
},
{
"paramType": "form",
"name": "on_duplicate",
"description": "How to handle duplicate names",
"type": "string",
"format": null,
"required": false
}
],
"type": "void"
}
]
}
],
"models": {
}
}