Add API documentation and endpoints for requests catcher

This commit is contained in:
sHa
2024-03-13 09:18:56 +00:00
parent fbb63ef3f5
commit e7e31c2763

View File

@@ -1,12 +1,30 @@
/*
Show quick usage manual
*/
GET https://catcher.rs.shadoll.dev/api/__help GET https://catcher.rs.shadoll.dev/api/__help
/*
Show last request
*/
### ###
GET https://catcher.rs.shadoll.dev/api/__last_request GET https://catcher.rs.shadoll.dev/api/__last_request
/*
Show all history
*/
### ###
GET https://catcher.rs.shadoll.dev/api/__history GET https://catcher.rs.shadoll.dev/api/__history
/*
Show one history record by number
*/
### ###
GET https://catcher.rs.shadoll.dev/api/__history/1 GET https://catcher.rs.shadoll.dev/api/__history/1
/*
Clear all history records
*/
### ###
GET https://catcher.rs.shadoll.dev/api/__clear GET https://catcher.rs.shadoll.dev/api/__clear
/*
Requests catcher
*/
### ###
POST https://catcher.rs.shadoll.dev POST https://catcher.rs.shadoll.dev
Content-Type: application/json Content-Type: application/json