Open PatrickGTR opened 3 years ago
Endpoints
GET /media/ -> Grabs all posted content from the database. GET /media/{id} -> Grabs a post base on the given ID.
/media/
/media/{id}
POST /media/{id} -> Post a comment POST /media -> Insert a new data to our database, CONTAINS
/media
DELETE /media/{id} -> Delete a post depending on ID given. PUT /media/{id} -> Update content post, maybe new description or title?
b958c98d7275ff21bb392ac9104e701e499bde0a
Updated,
TODO:
DELETE media and PUT media
Endpoints
GET
/media/
-> Grabs all posted content from the database. GET/media/{id}
-> Grabs a post base on the given ID.POST
/media/{id}
-> Post a comment POST/media
-> Insert a new data to our database, CONTAINSDELETE
/media/{id}
-> Delete a post depending on ID given. PUT/media/{id}
-> Update content post, maybe new description or title?