Files
cachet-docker/docs/api/api-documentation.md
2018-06-23 13:17:51 +02:00

49 lines
633 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# API Documentation for Cachet
## `GET /api/v1/ping`
Ping the Cachet instance.
## `GET /api/v1/version`
Get the version of Cachet installed.
## `GET /api/v1/status`
Get the overall system status.
## `GET /api/v1/components`
Get all components.
## `GET /api/v1/components/:id`
Get a single component.
### Params
- `id` the ID of the component
## `POST /api/v1/components`
Create a new component.
### Params
- `name` the name of the component
- `description` may be left empty
- `status`
- `link`
- `order`
- `group_id`
- `enabled`
- `meta`
## `DELETE /api/v1/components/:id`
Delete a component.
### Params
- `id`