From eefa58b585959eba0f93a20ea03cb8b23569955f Mon Sep 17 00:00:00 2001 From: Akif9748 Date: Thu, 1 Sep 2022 16:28:15 +0300 Subject: [PATCH] Added search to APIDOCS --- APIDOCS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/APIDOCS.md b/APIDOCS.md index 04231eb..7b69e8a 100644 --- a/APIDOCS.md +++ b/APIDOCS.md @@ -16,6 +16,10 @@ But in front end, the API will works with session. ## How to request? ### Request types: +- GET `/api/search/users?q=query` find users. +- GET `/api/search/threads?q=query&authorID=not_required` find threads. +- GET `/api/search/messages?q=query&authorID=not_required` find messages. + - GET `/api/bans/` fetch all bans. - GET `/api/bans/:id` fetch a ban. - DELETE `/api/bans/:id` for unban an IP adress.