From 55691b076a779e7079076ab9c18ae706aa5c2701 Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Mon, 12 Dec 2022 16:37:39 -0300 Subject: Make more specific the validation to start and stop recordin Signed-off-by: Vitor Mattos --- docs/recording.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'docs') diff --git a/docs/recording.md b/docs/recording.md index b3afa04c3..efbf437a1 100644 --- a/docs/recording.md +++ b/docs/recording.md @@ -16,9 +16,10 @@ * Response: - Status code: + `200 OK` - + `400 Bad Request` When the status to start is invalid - + `400 Bad Request` The haven't the capability `recording-v1` - + `412 Precondition Failed` When the lobby is active and the user is not a moderator + + `400 Bad Request` Message: `status`. When the status to start is invalid. + + `400 Bad Request` Message: `config`. Need to enable the config `recording`. + + `400 Bad Request` Message: `room`. Already have a recording in progress. + + `412 Precondition Failed` When the lobby is active and the user is not a moderator. ## Stop call recording @@ -29,5 +30,6 @@ * Response: - Status code: + `200 OK` - + `400 Bad Request` The haven't the capability `recording-v1` - + `412 Precondition Failed` When the lobby is active and the user is not a moderator + + `400 Bad Request` Message: `config`. Need to enable the config `recording`. + + `400 Bad Request` Message: `room`. Recording has already been stopped. + + `412 Precondition Failed` When the lobby is active and the user is not a moderator. -- cgit v1.2.3