Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcos Zuriaga <wolfi@wolfi.es>2016-10-05 19:47:25 +0300
committerMarcos Zuriaga <wolfi@wolfi.es>2016-10-05 19:47:25 +0300
commit77587e5598bf37e7e253d72ddf76929cc0dd8544 (patch)
tree99f2897cd20e2a069dc334c7d64d24abf8cba90b /appinfo/routes.php
parent5ff5414f2c534b89674698dc8a760ebef1ef9849 (diff)
Added capability on the api revisions endpoint to get shared item revisions by target user
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r--appinfo/routes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 0922549e..985637ff 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -39,7 +39,7 @@ return [
['name' => 'credential#deleteCredential', 'url' => '/api/v2/credentials/{credential_id}', 'verb' => 'DELETE'],
//Revisions
- ['name' => 'credential#getRevision', 'url' => '/api/v2/credentials/{credential_id}/revision', 'verb' => 'GET'],
+ ['name' => 'credential#getRevision', 'url' => '/api/v2/credentials/{credential_guid}/revision', 'verb' => 'GET'],
['name' => 'credential#deleteRevision', 'url' => '/api/v2/credentials/{credential_id}/revision/{revision_id}', 'verb' => 'DELETE'],
['name' => 'credential#updateRevision', 'url' => '/api/v2/credentials/{credential_id}/revision/{revision_id}', 'verb' => 'PATCH'],