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

Version 1 Next »

Questions=

Http VerbMethod PathParameterDescription
GETquestion/all
Get all the available questions
POSTquestion/deck/new

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.


PUTquestion/deck/{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.


GETquestion/deck/{id}id - Deck IDGet all the questions related to a Deck
POSTquestion/slide/new

question* - Question text body

related_object_id* - SlideID

user_id* - User creator id

choices* - Array of question choices and its correctness

difficulty - Difficulty of the question


Method to create a question related to a Slide.


PUTquestion/slide/{qid}

qid - Question id

question* - Question text body

related_object_id* - SlideID

user_id* - User creator id

choices* - Array of question choices and its correctness

difficulty - Difficulty of the question


Replace a question related to a SlideID.

GETquestion/{qid}

qid - Question id

Get a Question by its ID
PUTquestion/{qid}
qid - Question id

Replace a question by its ID

DELETEquestion/{qid}
qid - Question id

Delete a question from the questions collection

  • No labels