diff options
author | Vitor Mattos <vitor@php.rio> | 2022-12-07 22:45:57 -0300 |
---|---|---|
committer | Vitor Mattos <vitor@php.rio> | 2022-12-09 17:02:08 -0300 |
commit | db88acf9beb04ab6bf1b7d423bcad0c5ad21c542 (patch) | |
tree | 37f1ed6fe23081b7132d51f03e1fab4431dac33f /appinfo | |
parent | edb7df03562c93fdfe65fe66b921498fb1b59968 (diff) |
Toggle call recording status
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes/routesCallController.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/appinfo/routes/routesCallController.php b/appinfo/routes/routesCallController.php index 83632bc9d..11a3f6d62 100644 --- a/appinfo/routes/routesCallController.php +++ b/appinfo/routes/routesCallController.php @@ -40,5 +40,9 @@ return [ ['name' => 'Call#updateCallFlags', 'url' => '/api/{apiVersion}/call/{token}', 'verb' => 'PUT', 'requirements' => $requirements], /** @see \OCA\Talk\Controller\CallController::leaveCall() */ ['name' => 'Call#leaveCall', 'url' => '/api/{apiVersion}/call/{token}', 'verb' => 'DELETE', 'requirements' => $requirements], + /** @see \OCA\Talk\Controller\CallController::startRecording() */ + ['name' => 'Call#startRecording', 'url' => '/api/{apiVersion}/call/{token}/recording', 'verb' => 'POST', 'requirements' => $requirementsWithToken], + /** @see \OCA\Talk\Controller\CallController::stopRecording() */ + ['name' => 'Call#stopRecording', 'url' => '/api/{apiVersion}/call/{token}/recording', 'verb' => 'DELETE', 'requirements' => $requirementsWithToken], ], ]; |