Photo
It is used to add/delete/update a photo and make certain actions based on the endoint.
Need subscription flag: FLAG_MODULE_FOTO
Endpoints
Type | URI | Description |
---|---|---|
GET | ./foto | It is used to get information about a directory. |
GET | ./foto/detalii | It is used to get the details about a directory. |
GET | ./foto/new | It is use to return the list with all the files received as shared and not accepted. |
DELETE | ./foto | It is used to delete a photo for a user. |
POST | ./foto | It is used to create a new directory. |
PUT | ./foto | It is used to modify a directory. |
POST | ./foto/share | It is used to share a file/directory. |
DELETE | ./foto/share | It is used to delete a group of share. |
POST | ./foto/upload | It is used to upload a photo. |
GET | ./foto/comments | It is used to return the list with all comments for a file. |
POST | ./foto/comments | It is used to add a comment. |
DELETE | ./foto/comments | It is used to delete a comment. |
GET | ./foto/comments_new | It is used to retur the number of new comments. |
POST | ./foto/report | It is used to report a photo. |
DELETE | ./foto/report | It is used to delete a report from a photo. |