task cancel api is incorrect
the pulp3 task cancelling api in incorrect in two ways:
It says that 'name' is required, which doesn't make much sense.
The return code is 204, not 201.
I'm attaching a screenshot of the issue with docs.
Problem: task cancel API is incorrect
Solution: switch it to a PATCH method of the task
This patch changes REST API for task cancelation. Users will now be able to make a PATCH
request to the task href and specify the state='canceled'. The response is the fully
Please register to edit this issue