Project

Profile

Help

Issue #4638

Delete distriution REST API method description incorrect

Added by jdjeffers 7 months ago. Updated 6 months ago.

Status:
MODIFIED
Priority:
Normal
Category:
API
Sprint/Milestone:
Start date:
Due date:
Severity:
2. Medium
Version:
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 51

Description

See https://docs.pulpproject.org/en/3.0/nightly/integration-guide/rest-api/index.html#delete-distribution_href

The description indicates the method is synchronous and returns a 204, but should return a 202 and a task.

Associated revisions

Revision e0f5a37d View on GitHub
Added by dkliban@redhat.com 6 months ago

Problem: OpenAPI schema for distribution delete is wrong

Solution: rename 'delete' method on the ViewSet to 'destroy'

This patch also updates the schema for orphan delete.

fixes: #4638
https://pulp.plan.io/issues/4638

History

#1 Updated by amacdona@redhat.com 7 months ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 51
  • Tags Easy Fix added

#2 Updated by ipanova@redhat.com 7 months ago

  • Triaged changed from Yes to No
  • Sprint deleted (Sprint 51)
  • Tags deleted (Easy Fix)

Del of Artifact, ContentGuard, Orphans, Task also show 204

#3 Updated by ipanova@redhat.com 7 months ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 51
  • Tags Easy Fix added
  • Tags deleted (Pulp 3)

#4 Updated by dkliban@redhat.com 6 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dkliban@redhat.com

#5 Updated by dkliban@redhat.com 6 months ago

  • Status changed from ASSIGNED to POST

#6 Updated by dkliban@redhat.com 6 months ago

  • Status changed from POST to MODIFIED

#7 Updated by bmbouter 6 months ago

  • Tags Pulp 3 added

#8 Updated by daviddavis 6 months ago

  • Sprint/Milestone set to 3.0

#9 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF