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

TypeURIDescription
GET./fotoIt is used to get information about a directory.
GET./foto/detaliiIt is used to get the details about a directory.
GET./foto/newIt is use to return the list with all the files received as shared and not accepted.
DELETE./fotoIt is used to delete a photo for a user.
POST./fotoIt is used to create a new directory.
PUT./fotoIt is used to modify a directory.
POST./foto/shareIt is used to share a file/directory.
DELETE./foto/shareIt is used to delete a group of share.
POST./foto/uploadIt is used to upload a photo.
GET./foto/commentsIt is used to return the list with all comments for a file.
POST./foto/commentsIt is used to add a comment.
DELETE./foto/commentsIt is used to delete a comment.
GET./foto/comments_newIt is used to retur the number of new comments.
POST./foto/reportIt is used to report a photo.
DELETE./foto/reportIt is used to delete a report from a photo.