summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorVitor Mattos <vitor@php.rio>2022-12-12 16:37:39 -0300
committerVitor Mattos <vitor@php.rio>2022-12-12 16:37:39 -0300
commit55691b076a779e7079076ab9c18ae706aa5c2701 (patch)
tree4f4092014d4a05845136df6a80debd598184eec7 /docs
parent1c3d218845a9a2d35dc695bb2491ec27a06e40f0 (diff)
Make more specific the validation to start and stop recordin
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'docs')
-rw-r--r--docs/recording.md12
1 files changed, 7 insertions, 5 deletions
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.