diff --git a/appinfo/routes/routesCallController.php b/appinfo/routes/routesCallController.php index afcafb01117..2a878c77153 100644 --- a/appinfo/routes/routesCallController.php +++ b/appinfo/routes/routesCallController.php @@ -16,7 +16,7 @@ /** @see \OCA\Talk\Controller\CallController::getPeersForCall() */ ['name' => 'Call#getPeersForCall', 'url' => '/api/{apiVersion}/call/{token}', 'verb' => 'GET', 'requirements' => $requirements], /** @see \OCA\Talk\Controller\CallNotificationController::state() */ - ['name' => 'CallNotification#state', 'url' => '/api/{apiVersion}/call/{token}/notification', 'verb' => 'GET', 'requirements' => $requirements], + ['name' => 'CallNotification#state', 'url' => '/api/{apiVersion}/call/{token}/notification-state', 'verb' => 'GET', 'requirements' => $requirements], /** @see \OCA\Talk\Controller\CallController::downloadParticipantsForCall() */ ['name' => 'Call#downloadParticipantsForCall', 'url' => '/api/{apiVersion}/call/{token}/download', 'verb' => 'GET', 'requirements' => $requirements], /** @see \OCA\Talk\Controller\CallController::joinCall() */ diff --git a/openapi-full.json b/openapi-full.json index 58e5ab323e9..eccc60c132b 100644 --- a/openapi-full.json +++ b/openapi-full.json @@ -4560,7 +4560,7 @@ } } }, - "/ocs/v2.php/apps/spreed/api/{apiVersion}/call/{token}/notification": { + "/ocs/v2.php/apps/spreed/api/{apiVersion}/call/{token}/notification-state": { "get": { "operationId": "call_notification-state", "summary": "Check the expected state of a call notification", diff --git a/openapi.json b/openapi.json index 7715831d533..e00793473bf 100644 --- a/openapi.json +++ b/openapi.json @@ -4447,7 +4447,7 @@ } } }, - "/ocs/v2.php/apps/spreed/api/{apiVersion}/call/{token}/notification": { + "/ocs/v2.php/apps/spreed/api/{apiVersion}/call/{token}/notification-state": { "get": { "operationId": "call_notification-state", "summary": "Check the expected state of a call notification", diff --git a/src/types/openapi/openapi-full.ts b/src/types/openapi/openapi-full.ts index f746769ac34..eafe8a13943 100644 --- a/src/types/openapi/openapi-full.ts +++ b/src/types/openapi/openapi-full.ts @@ -261,7 +261,7 @@ export type paths = { patch?: never; trace?: never; }; - "/ocs/v2.php/apps/spreed/api/{apiVersion}/call/{token}/notification": { + "/ocs/v2.php/apps/spreed/api/{apiVersion}/call/{token}/notification-state": { parameters: { query?: never; header?: never; diff --git a/src/types/openapi/openapi.ts b/src/types/openapi/openapi.ts index 7567f280c2f..6a208fd0f90 100644 --- a/src/types/openapi/openapi.ts +++ b/src/types/openapi/openapi.ts @@ -261,7 +261,7 @@ export type paths = { patch?: never; trace?: never; }; - "/ocs/v2.php/apps/spreed/api/{apiVersion}/call/{token}/notification": { + "/ocs/v2.php/apps/spreed/api/{apiVersion}/call/{token}/notification-state": { parameters: { query?: never; header?: never; diff --git a/tests/integration/features/bootstrap/FeatureContext.php b/tests/integration/features/bootstrap/FeatureContext.php index 6af3ffe14b3..82107eadc16 100644 --- a/tests/integration/features/bootstrap/FeatureContext.php +++ b/tests/integration/features/bootstrap/FeatureContext.php @@ -2139,7 +2139,7 @@ public function userJoinsCall(string $user, string $identifier, int $statusCode, */ public function userChecksCallNotification(string $user, string $identifier, int $statusCode, string $apiVersion, ?TableNode $formData = null): void { $this->setCurrentUser($user); - $this->sendRequest('GET', '/apps/spreed/api/' . $apiVersion . '/call/' . self::$identifierToToken[$identifier] . '/notification'); + $this->sendRequest('GET', '/apps/spreed/api/' . $apiVersion . '/call/' . self::$identifierToToken[$identifier] . '/notification-state'); $this->assertStatusCode($this->response, $statusCode); }