Merge branch 'add-endpoint' into 'master'

Add description about "streaming health" endpoint

See merge request mastodon/docs!44
This commit is contained in:
Eugen Rochko 2019-06-11 16:42:55 +02:00
commit c8f2ea5642
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ Alternatively, a WebSocket connection can also be established.
## Server-sent events (HTTP)
### Endpoints
#### GET /api/v1/streaming/health
Returns `OK` when streaming service is fine
#### GET /api/v1/streaming/user
Returns events that are relevant to the authorized user, i.e. home timeline and notifications