From d4bb2ceebec8bd39c7ee3da14a40c4d98b4427c3 Mon Sep 17 00:00:00 2001 From: knotteye Date: Mon, 12 Oct 2020 12:12:27 -0500 Subject: [PATCH] Update documentation for API. All that's left for twitch mirroring is a UI and then testing. --- docs/REST.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/REST.md b/docs/REST.md index 74786c9..3160cf7 100644 --- a/docs/REST.md +++ b/docs/REST.md @@ -124,9 +124,9 @@ Update the current user's information **Authentication**: yes -**Parameters**: title, bio, rec +**Parameters**: title, bio, rec, twitch, twitch_key -Rec is a boolean (whether to record VODs), others are strings. Parameters that are not included in the request will not be updated. +Rec is a boolean (whether to record VODs), twitch is a boolean (whether to mirror video streams to twitch) others are strings. Twitch_key is the stream key to use for twitch. Parameters that are not included in the request will not be updated. **Response**: Returns `{error: "error code"}` or `{success: ""}`