-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
As a developer who uses the Backend API Application to build a client for TalentPulse,
I want to fetch a single Skilltree resource,
So that I can fetch the individual skills linked to the skilltrees of a course.
Description
Client application must be able to fetch information of a skilltree.
Technical requirements
- Endpoint:
GET /skilltrees/{uuid}
- Find the skilltree by its UUID
- Create the SkilltreeReseource if it does not exists
- Return the SkilltreeReseource
- Authorization:
- User is allowd to view the resource if he is enrolled to the related course.
- Implement the Skilltree->view policy.
Test plan
Feature test
- Write a feature test for the endpoint (without referecing the internal route name), so breaking changes to the endpoint URL are catched by the feature tests.
- Test the resource body for all expected properties and values.
Unit
- Write a unit test that covers all the cases of the authorization checks.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status