Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-7599

Quay V2 API should support delete manifest by tag name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • quay-v3.13.0
    • quay-v3.12.0, quay-v3.11.2
    • quay
    • False
    • None
    • False

      Description:

      This is an issue found in Quay 3.12 V2 API, when customer trying to delete manifest with tag name with Quay V2 API, get 405 error code, checked Quay V2 API manifest code, there's no operation "delete_manifest_by_tagname", pls review and add support for this operation in V2 API.

      [nsatsia@fedora Downloads]$ curl -k -s -L -X DELETE -H "Authorization: Bearer "${Bearer//[$'\" ']} https://lab-registry.home.lab.diktio.net/v2/testorg/centos/manifests/latest
      <!doctype html>
      <html lang=en>
      <title>405 Method Not Allowed</title>
      <h1>Method Not Allowed</h1>
      <p>The method is not allowed for the requested URL.</p>
      [nsatsia@fedora Downloads]$ 

      Quay V2 API manifest code:

      https://github.com/quay/quay/blob/master/endpoints/v2/manifest.py 

      Quay Version: 3.12

      https://docker-docs.uclv.cu/registry/spec/api/#manifest 

      V2 manifest API:

            rhn-support-ibazulic Ivan Bazulic
            lzha1981 luffy zhang
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: