Actions
Refactor #3597
closedUse a serializer to validate sync and publish parameters
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
3.0.0
Target Release - Python:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
To be included in the schema (autodoc and bindings), we need to create a serializer for sync and publish
https://github.com/pulp/pulp_file/blob/master/pulp_file/app/viewsets.py#L32-L52
This serializer should use HyperlinkedRelatedFields to validate that the repository and repository version exist.
Related issues
Actions
Add sync and publish serializers
https://pulp.plan.io/issues/3597 fixes #3597
raise when repository does not have latest version