New REST API endpoints will be created in the following week(s). One common implementation that's needed, before these tickets can be picked up is the SpaceResource resource.
Acceptance criteria
A space resource class is available.
The space resource data contract is validated by tests.
Technical outworking
Tasks
[x] Create/Extend API resource SpaceResource in App\API\V1\Http\Resources to transform the Eloquent model
[x] Create feature test to assert the data contract of the SpaceResource resource
Description
New REST API endpoints will be created in the following week(s). One common implementation that's needed, before these tickets can be picked up is the
SpaceResource
resource.Acceptance criteria
Technical outworking
Tasks
SpaceResource
inApp\API\V1\Http\Resources
to transform the Eloquent modelSpaceResource
resourceDesign
SpaceResource
resource