Add ContentRemovalRequest
viewset
#10381
Labels
DEV: backend
Python, databases, networking, filesystem...
P0 - critical
Priority: Release blocker or regression
TAG: new feature
New user-facing feature
Milestone
Depends on: #10365
Background
In order to provide support for managing a user's 'My Downloads', we need a new API viewset that will allow us manage removal of content.
Deliverables
The
ContentRemovalRequestViewSet
a) It should inherit
ValuesViewset
b) It should operate upon the model
ContentRemovalRequest
The
ContentRemovalRequestViewSet
: request creationa) It should allow creation of a
ContentRemovalRequest
model for a userb) It should create the model with the appropriate fields. See
ContentRequest.build_for_user
Acceptance criteria
Appropriate tests for the viewset
References
#10137
The text was updated successfully, but these errors were encountered: