api.ayat.com/v1/programs/{id}/courses/{id}/quizzes
GET
{
"jwt": "65416584846465644546"
}
code: 200
{
"quizes": [...]
}
code: 403
{
"error": "user is unauthorized"
}
api.ayat.com/v1/programs/{id}/courses/{id}/quizzes/{id}
GET
{
"jwt": "32132143432432"
}
- Code:
200
{
// course data.
}
code: 403
{
"error": "user is unauthorized"
}
api/v1/programs/{id}/courses/{id}/quizzes
POST
{
"jwt": "ffff",
"Quiz content" : "dummy content"
}
code : 200
{
"status": "created"
}
code: 403
{
"error": "user is unauthorized"
}
api/v1/programs/{id}/courses/{id}/quizzes/{id}
PUT
{
"jwt": "ffff",
"content" : "content"
}
code : 200
{
"status": "updated"
}
code: 403
{
"error": "user is unauthorized"
}
api/v1/programs/{id}/courses/{id}/quizzes/{id}
DELETE
{
"jwt": "ffff"
}
code : 200
{
"status": "deleted"
}
code: 403
{
"error": "user is unauthorized"
}