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 GroupResource resource.
Acceptance criteria
A group resource class is available.
The group resource data contract is validated by tests.
Technical outworking
Tasks
[x] Create/Extend API resource GroupResource in App\API\V1\Http\Resources to transform the Eloquent model
[x] Create/Extend API resource GroupCollection in App\API\V1\Http\Resources
[x] Create/Extend API resource GroupTypeResource in App\API\V1\Http\Resources to transform the Eloquent model
[x] Create feature test to assert the data contract of the GroupResource resource
[x] Create feature test to assert the data contract of the GroupTypeResource 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
GroupResource
resource.Acceptance criteria
Technical outworking
Tasks
GroupResource
inApp\API\V1\Http\Resources
to transform the Eloquent modelGroupCollection
inApp\API\V1\Http\Resources
GroupTypeResource
inApp\API\V1\Http\Resources
to transform the Eloquent modelGroupResource
resourceGroupTypeResource
resourceDesign
GroupResource
resource