Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Questions=

Http VerbMethod PathParameterDescription
GET/questions
Get all the available questions
GET/question/{qid}Question IDGet the question with id: qid
POST/question

question* - Question text body

related_object_id* - DeckID

user_id* - User creator id

choices* - Array of question choices and its correctness

difficulty - Difficulty of the question

Create a question related to a deck / slide.


PUT/question/{qid}

qid - Question id

question* - Question text body

related_object_id* - DeckID

user_id* - User creator id

choices* - Array of question choices and its correctness

difficulty - Difficulty of the question


Replace a question related to a deck / Slide.


GET/deck/{deck-id}/questionsdeck-id - Deck IDGet all the questions related to a Deck
GET/slide/{slide-id}/questionsslide-id - Slide IDGet all the questions related to a Slide
DELETE/question/{qid}
qid - Question id

Delete a question from the questions collection

  • No labels