Skip to content

Application URL

Haseeb Udeen edited this page Apr 13, 2021 · 34 revisions

Super User Backend Path

  • POST /superuser/login
  • POST /superuser/operator
  • GET /superuser/operators
  • POST /superuser/operator/:id
  • DELETE /superuser/operator/:id

Metadata Backend Path

  • GET /dashboard/de/test
  • GET /dashboard/de/metadata (Get metadata by user)
  • POST /dashboard/de/metadata/:id (Update metadata by user)
  • DELETE /dashboard/de/metadata/:id (Delete metadata by user - This function will only delete metadata but the question will remain in the DB)

MCQs Question Backend Path

  • POST /dashboard/de/questions (Save questions to DB)
  • GET /dashboard/de/questions/:metaid (Get the list of questions based on Metadata ID)
  • GET /dashboard/de/question/:id (Get single question)
  • POST /dashboard/de/question/:id (Update single question)
  • DEL /dashboard/de/question/:id (questionID)/meta/:metaid(metadata ID) (Delete single question document from Question collection and also entry in the Metadata collection)
  • PUT /dashboard/de/question/meta/:metaid (Add single question to the existing paper)

Theory Question Backend Path

  • POST /dashboard/de/questions/theory (Save questions to DB)
  • GET /dashboard/de/question/theory/:id (Get single theory question by questionID)
  • GET /dashboard/de/questions/theory/:metaid (Get the list of questions based on Metadata ID)
  • POST /dashboard/de/question/theory/:id (Update single theory question by using questionID)
  • PUT /dashboard/de/question/theory/meta/:metaid (Add single question to the existing paper)
  • DEL /dashboard/de/question/theory/:id (questionID)/meta/:metaid(metadata ID) (Delete single question document from Question collection and also entry in the Metadata collection)

Clone this wiki locally