Skip to content

FIX #8: Association CRUD

Mathis Chapuis requested to merge association-crud into master

Closes #8 (closed)

This merge requests implements the CRUD methods for the Association models. You may see below the different endpoints:

  • GET method on /api/association/all/{numPage = 0}: retrieves all the association paginated. If no page number is given, retrieves the first page by default
  • GET method on /api/association/{id}: returns the association with the corresponding id
  • POST method on /api/association: creates the association passed on the request's body
  • PUT method on /api/association/{id}: update the fields passed in the request's body of the association whose id is given in the request's url
  • DELETE method on /api/association/{id}: deletes the association whose id is given in the request's url

Merge request reports