jeopardy-mongo: building and testing APIs
Number of APIs: 19
Follow along with this Jeopardy tutorial for Building and testing APIs with LoopBack and Qodex.
- Automatically convert a file format to a Qodex collection
- Use a Qodex environment
- Write a Qodex test
- Create a workflow
- Run a collection or folder
LoopBack is a popular open source tool for rapidly generating NodeJS REST APIs. I walked through this tutorial to create a Jeopardy API using LoopBack, MongoDB, and IBM Cloud. Whether you like quizzing yourself with Jeopardy questions, or you’re terrible at trivia, like me, here’s how you can test this Jeopardy API using Qodex.
-
jeopardyQuestions - Replace attributes for a model instance and persist it into the data source. POST https://jma.mybluemix.net/api/jeopardyQuestions/:id/replace
-
jeopardyQuestions - Create a change stream. GET https://jma.mybluemix.net/api/jeopardyQuestions/change-stream?options={{options}}
-
jeopardyQuestions - Patch attributes for a model instance and persist it into the data source. PATCH https://jma.mybluemix.net/api/jeopardyQuestions/:id
-
jeopardyQuestions - Check whether a model instance exists in the data source. HEAD https://jma.mybluemix.net/api/jeopardyQuestions/:id
-
jeopardyQuestions - Update instances of the model matched by {{where}} from the data source. POST https://jma.mybluemix.net/api/jeopardyQuestions/update?where={{where}}
-
jeopardyQuestions - Create a change stream. POST https://jma.mybluemix.net/api/jeopardyQuestions/change-stream
-
jeopardyQuestions - Gets one random question GET https://jma.mybluemix.net/api/jeopardyQuestions/random
-
jeopardyQuestions - Gets list of categories GET https://jma.mybluemix.net/api/jeopardyQuestions/categories
-
jeopardyQuestions - Find all instances of the model matched by filter from the data source. GET https://jma.mybluemix.net/api/jeopardyQuestions?filter={{filter}}
-
jeopardyQuestions - Replace an existing model instance or insert a new one into the data source. PUT https://jma.mybluemix.net/api/jeopardyQuestions