Add api to upload attachments

This commit is contained in:
Matias De lellis
2020-11-12 19:31:45 -03:00
parent 2dfd847e1e
commit e6653c171f
4 changed files with 146 additions and 6 deletions

View File

@@ -17,6 +17,12 @@ return ['resources' =>
'url' => '/share/{noteId}',
'verb' => 'DELETE'
],
// Upload attachments
[
'name' => 'AttachmentApi#upload',
'url' => '/api/v1/attachments',
'verb' => 'POST'
],
// User Settings
[
'name' => 'settings#setUserValue',