Add a endpoint listing days for which user {userId} has made a declaration.
It is a prerequisite of #1508
Endpoint: /declarations/declaredDays
Verb: GET
Parameters:
- userId: Id of the user that made the declarations
Responses:
- 200: OK. List of declared days for the user. [] if the user doesn't exist.
- 400: Bad Request. Missing required query parameter 'userId'.
- 400: Bad Request. Invalid userId
Description
Add a endpoint listing days for which user {userId} has made a declaration. It is a prerequisite of #1508
Linked Issues
Closes #1507
Tests
How has it been tested ?