mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
Merge branch 'add-endpoint' into 'master'
Add description about "streaming health" endpoint See merge request mastodon/docs!44
This commit is contained in:
commit
c8f2ea5642
@ -13,6 +13,10 @@ Alternatively, a WebSocket connection can also be established.
|
|||||||
|
|
||||||
## Server-sent events (HTTP)
|
## Server-sent events (HTTP)
|
||||||
### Endpoints
|
### Endpoints
|
||||||
|
#### GET /api/v1/streaming/health
|
||||||
|
|
||||||
|
Returns `OK` when streaming service is fine
|
||||||
|
|
||||||
#### GET /api/v1/streaming/user
|
#### GET /api/v1/streaming/user
|
||||||
|
|
||||||
Returns events that are relevant to the authorized user, i.e. home timeline and notifications
|
Returns events that are relevant to the authorized user, i.e. home timeline and notifications
|
||||||
|
Loading…
x
Reference in New Issue
Block a user