Closed cyrildewit closed 2 years ago
We could number our error messages with codes that they can provide to us when they need help, but according to this article it looks like it's not needed. We just have to provide valuable feedback when something goes unexpected. This is something we already keep in mind.
Description
Many endpoints tracked in #37 have been implemented, but they're currently not documented in the OpenAPI file. They need to be documented so consumers of our REST API can read how to use the API.
Acceptance criteria
Technical outworking
Tasks
Schemas
GroupResource
GroupTypeResource
ReservationResource
ReperationRequestMaterialResource
ReperationRequestResource
Space
UserResource
Endpoints
Groups
GET api/v1/groups
POST api/v1/groups
PUT api/v1/groups/{id}
GET api/v1/groups/{id}
DELETE api/v1/groups/{id}
Reparation Request Materials
GET api/v1/reparation_request_materials
POST api/v1/reparation_request_materials
PUT api/v1/reparation_request_materials/{id}
GET api/v1/reparation_request_materials/{id}
DELETE api/v1/reparation_request_materials/{id}
Reparation Requests
GET api/v1/reparation_requests
POST api/v1/reparation_requests
PUT api/v1/reparation_requests/{id}
GET api/v1/reparation_requests/{id}
DELETE api/v1/reparation_requests/{id}