Implement an API call for getting the current stream key.

This commit is contained in:
knotteye
2020-07-30 01:34:22 -05:00
parent df51432a8f
commit f7c7f05786
2 changed files with 27 additions and 4 deletions

View File

@ -188,7 +188,9 @@ Notes: VODs are always available at http://domain.com/publicEndpoint/username/fi
## /api/:user/config
### /api/:user/config
Get information about the specified user.
Method: GET
@ -202,8 +204,16 @@ Example: `{username: "foo", title: "bar", about: "This is an example bio"}`
## Not Yet Implemented
#### /api/user/streamkey/current
Return current stream key
Returns current stream key for the authenticated user.
Method: GET
Authentication: yes
Parameters: none
Response: returns a JSON object with the stream key
Example: `{"stream_key": "abcdefghijklmno12345"}` or `{"error":"error reason"}`