antoineGH / shareflow.web

ShareFlow front
0 stars 0 forks source link

Define API Contract Files #19

Open antoineGH opened 10 months ago

antoineGH commented 10 months ago

Define API contract,

API endpoint for files

GET Get existing files list

Single POST Add new file PUT Update existing file DELETE Delete existing file

Multi POST Add new files PUT Update existing files DELETE Delete existing files

Handle infinite scrolling Handle sorting asc / desc (name, size, modified)

API endpoint for tags

GET Get existing tags list (search purpose) POST Add new tag PUT Update existing tag DELETE Delete existing tag

API endpoint for comments

GET Get existing comments list POST Add new comment PUT Update existing comment DELETE Delete existing comment

API endpoint for activities

GET Get existing activities list POST Add new activity