mirror of https://github.com/statping/statping
Updated API (markdown)
parent
3ca677c584
commit
90f081e631
7
API.md
7
API.md
|
@ -1,8 +1,14 @@
|
|||
Statup includes a RESTFUL API so you can view, update, and edit your services with easy to use routes.
|
||||
|
||||
## Authentication
|
||||
|
||||
HTTP Request Header: `Authorization: API SECRET HERE`
|
||||
|
||||
## Main Route `/api`
|
||||
The main API route will show you all services and failures along with them.
|
||||
|
||||
## Services
|
||||
The services API endpoint will show you detailed information about services and will allow you to edit/delete services with POST/DELETE http methods.
|
||||
|
||||
#### Viewing All Services
|
||||
- Endpoint: `/api/services`
|
||||
|
@ -21,6 +27,7 @@ Statup includes a RESTFUL API so you can view, update, and edit your services wi
|
|||
- Method: `DELETE`
|
||||
|
||||
## Users
|
||||
The users API endpoint will show you users that are registered inside your Statup instance.
|
||||
|
||||
#### View All Users
|
||||
- Endpoint: `/api/users`
|
||||
|
|
Loading…
Reference in New Issue