Add method to mark user terms of use accepted
Description
Add an API endpoint or method to existing endpoint to allow the frontend to mark that the authenticated user has accepted the terms of use.
Further details
- This will be added to the
AccountDetails
model from #10 (closed)
Task list
- Add boolean field to existing model to mark terms of use accepted or not.
- Not nullable, default value is false.
- Add API endpoint to mark accepted
- Suggest:
PATCH
method to/v1alpha1/account
expecting JSON body:{"terms_of_use_accepted": true}
- Suggest:
Acceptance criteria
-
API endpoint to set terms of use accepted for a user account created.
Links/references
Edited by Mike Knee