Skip to content

Commit

Permalink
fixup! Create v2 routes
Browse files Browse the repository at this point in the history
  • Loading branch information
Altahrim committed Aug 24, 2023
1 parent 9e7bad5 commit d2b9673
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions appinfo/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,11 @@
['name' => 'V1\Locking#lockFolder', 'url' => '/api/v1/lock/{id}', 'verb' => 'POST'],
['name' => 'V1\Locking#unlockFolder', 'url' => '/api/v1/lock/{id}', 'verb' => 'DELETE'],
# v2
['name' => 'Key#setPrivateKey', 'url' => '/api/v2/private-key', 'verb' => 'POST'],
['name' => 'Key#getPrivateKey', 'url' => '/api/v2/private-key', 'verb' => 'GET'],
['name' => 'Key#deletePrivateKey', 'url' => '/api/v2/private-key', 'verb' => 'DELETE'],
['name' => 'Key#createPublicKey', 'url' => '/api/v2/public-key', 'verb' => 'POST'],
['name' => 'Key#getPublicKeys', 'url' => '/api/v2/public-key', 'verb' => 'GET'],
['name' => 'Key#deletePublicKey', 'url' => '/api/v2/public-key', 'verb' => 'DELETE'],
['name' => 'Key#getPublicServerKey', 'url' => '/api/v2/server-key', 'verb' => 'GET'],
['name' => 'MetaData#setMetaData', 'url' => '/api/v2/meta-data/{id}', 'verb' => 'POST'],
['name' => 'MetaData#getMetaData', 'url' => '/api/v2/meta-data/{id}', 'verb' => 'GET'],
['name' => 'MetaData#updateMetaData', 'url' => '/api/v2/meta-data/{id}', 'verb' => 'PUT'],
['name' => 'MetaData#deleteMetaData', 'url' => '/api/v2/meta-data/{id}', 'verb' => 'DELETE'],
['name' => 'MetaData#addMetadataFileDrop', 'url' => '/api/v2/meta-data/{id}/filedrop', 'verb' => 'PUT'],
['name' => 'Encryption#removeEncryptedFolders', 'url' => '/api/v2/encrypted-files', 'verb' => 'DELETE'],
['name' => 'Encryption#setEncryptionFlag', 'url' => '/api/v2/encrypted/{id}', 'verb' => 'PUT'],
['name' => 'Encryption#removeEncryptionFlag', 'url' => '/api/v2/encrypted/{id}', 'verb' => 'DELETE'],
['name' => 'Locking#lockFolder', 'url' => '/api/v2/lock/{id}', 'verb' => 'POST'],
['name' => 'Locking#unlockFolder', 'url' => '/api/v2/lock/{id}', 'verb' => 'DELETE'],
],
Expand Down

0 comments on commit d2b9673

Please sign in to comment.