diff options
author | Joas Schilling <coding@schilljs.com> | 2021-12-03 17:17:53 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-02-17 18:31:00 +0300 |
commit | 4eb1f73ca1170329d80a6f040461fb7ac7be4ecc (patch) | |
tree | 9f93aaabf76f047ad8caa9ce3babd81d1687c962 /appinfo/routes | |
parent | 55121e46170af29d752eece2b99cc72bb8b6f1e2 (diff) |
Add an API endpoint to get all invites
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo/routes')
-rw-r--r-- | appinfo/routes/routesFederationController.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/appinfo/routes/routesFederationController.php b/appinfo/routes/routesFederationController.php index 4882e9abd..6991e78fc 100644 --- a/appinfo/routes/routesFederationController.php +++ b/appinfo/routes/routesFederationController.php @@ -31,5 +31,6 @@ return [ 'ocs' => [ ['name' => 'Federation#acceptShare', 'url' => 'api/{apiVersion}/federation/invitation/{id}', 'verb' => 'POST', 'requirements' => $requirements], ['name' => 'Federation#rejectShare', 'url' => 'api/{apiVersion}/federation/invitation/{id}', 'verb' => 'DELETE', 'requirements' => $requirements], + ['name' => 'Federation#getShares', 'url' => 'api/{apiVersion}/federation/invitation', 'verb' => 'GET', 'requirements' => $requirements], ], ]; |