mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
adding matching suppiort
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
|
||||
GET https://snow.instructure.com/api/v1/courses/871954/quizzes
|
||||
GET https://snow.instructure.com/api/v1/courses/958185/quizzes
|
||||
Authorization: Bearer {{$dotenv CANVAS_TOKEN}}
|
||||
|
||||
###
|
||||
GET https://snow.instructure.com/api/v1/courses/871954/assignments
|
||||
GET https://snow.instructure.com/api/v1/courses/958185/assignments
|
||||
Authorization: Bearer {{$dotenv CANVAS_TOKEN}}
|
||||
|
||||
###
|
||||
POST https://snow.instructure.com/api/v1/courses/871954/quizzes/3243305/questions
|
||||
POST https://snow.instructure.com/api/v1/courses/958185/quizzes/3358912/questions
|
||||
Authorization: Bearer {{$dotenv CANVAS_TOKEN}}
|
||||
Content-Type: application/json
|
||||
|
||||
@@ -43,4 +43,38 @@ Content-Type: application/json
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
###
|
||||
POST https://snow.instructure.com/api/v1/courses/958185/quizzes/3358912/questions
|
||||
Authorization: Bearer {{$dotenv CANVAS_TOKEN}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"question": {
|
||||
"question_text": "dummy matching via the api",
|
||||
"question_type": "matching_question",
|
||||
"points_possible": 5,
|
||||
"answers": [
|
||||
{
|
||||
"correct": true,
|
||||
"answer_match_left": "statement",
|
||||
"answer_match_right": "a single command to be executed"
|
||||
},
|
||||
{
|
||||
"correct": true,
|
||||
"answer_match_left": "identifier",
|
||||
"answer_match_right": "name of a variable"
|
||||
},
|
||||
{
|
||||
"correct": true,
|
||||
"answer_match_left": "keyword",
|
||||
"answer_match_right": "reserved word that has special meaning in a program (e.g. class, void, static, etc.)"
|
||||
},
|
||||
{
|
||||
"correct": true,
|
||||
"answer_match_left": "source file",
|
||||
"answer_match_right": "the .cs text file containing your source code"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user