Skip to content

Application URL

Muhammad Tariq edited this page Mar 30, 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)

Question Backend Path

  • POST /dashboard/de/questions (Save questions to DB)
  • GET /dashboard/de/questions/:id (Get the list of questions based on Metadata IDs)
  • 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 the list of questions based on Metadata IDs)
  • POST /dashboard/de/question/theory/:id (Update single theory question)
  • PUT /question/theory/meta/:metaid (Add single question to the existing paper)

Clone this wiki locally