mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
46 lines
1.0 KiB
HTTP
46 lines
1.0 KiB
HTTP
|
|
GET https://snow.instructure.com/api/v1/courses/871954/quizzes
|
|
Authorization: Bearer {{$dotenv CANVAS_TOKEN}}
|
|
|
|
###
|
|
GET https://snow.instructure.com/api/v1/courses/871954/assignments
|
|
Authorization: Bearer {{$dotenv CANVAS_TOKEN}}
|
|
|
|
###
|
|
POST https://snow.instructure.com/api/v1/courses/871954/quizzes/3243305/questions
|
|
Authorization: Bearer {{$dotenv CANVAS_TOKEN}}
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"question":{
|
|
"question_text": "dummy question via the api",
|
|
"question_type": "multiple_answers_question",
|
|
"points_possible": 3,
|
|
"answers": [
|
|
{
|
|
"answer_text": "color",
|
|
"answer_weight": 0
|
|
},
|
|
{
|
|
"answer_text": "affordances",
|
|
"answer_weight": 100
|
|
},
|
|
{
|
|
"answer_text": "structure",
|
|
"answer_weight": 0
|
|
},
|
|
{
|
|
"answer_text": "constraints",
|
|
"answer_weight": 100
|
|
},
|
|
{
|
|
"answer_text": "mappings",
|
|
"answer_weight": 100
|
|
},
|
|
{
|
|
"answer_text": "placement",
|
|
"answer_weight": 0
|
|
}
|
|
]
|
|
}
|
|
} |