Added search to APIDOCS

This commit is contained in:
Akif9748 2022-09-01 16:28:15 +03:00
parent 2a3ab27ba6
commit eefa58b585
1 changed files with 4 additions and 0 deletions

View File

@ -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.