From f0ce21df3fb0ea5f1cc26d41566704a1e37c977e Mon Sep 17 00:00:00 2001 From: John Chia Heng Kit Date: Mon, 30 Sep 2024 01:34:03 +0800 Subject: [PATCH] Fix bug for README.md for filter --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bceb13edd5..2a0d8f899a 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ The question microservice exposes the following API endpoints: - ```questions/all``` - Returns all the questions available on the database. - ```questions/byId/[Question ID]``` - Returns a single question by ID number. - ```questions/maxQuestionId``` - Returns the highest question ID currently being stored in the database. (Can be used for adding new Questions). -- ```filter/q/categories=Arrays,Bit%20Manipulation&complexities=Easy,Medium``` - Returns all questions that have Arrays AND/OR Bit Manipulation tags and are either Easy OR Medium. +- ```filter/q/?categories=Arrays,Bit%20Manipulation&complexities=Easy,Medium&keywords=algebra,geometry``` - Returns all questions that have Arrays AND/OR Bit Manipulation tags, are either Easy OR Medium, and contain the keywords "algebra" or "geometry". - ```questions/add``` - Adds a new question to the database. - ```questions/delete/[Question ID]``` - Deletes a question from the database by ID number. - ```questions/update/[Question ID]``` - Updates a question from the database by ID number.