mirror of
https://github.com/Akif9748/akf-forum.git
synced 2024-12-22 23:59:08 +03:00
Added search to APIDOCS
This commit is contained in:
parent
2a3ab27ba6
commit
eefa58b585
1 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue