{
  "opencollection": "1.0.0",
  "info": {
    "name": "Kong Enterprise Admin ACLs API Package Image API",
    "version": "3.14.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Kong-Admin-Token",
      "value": "{{Kong-Admin-Token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "API Package Image",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get API Package Image",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}:{port}{path}/v3/api-packages/:packageId/images/:imageType",
            "params": [
              {
                "name": "imageType",
                "value": "",
                "type": "path",
                "description": "The Supported image type."
              },
              {
                "name": "packageId",
                "value": "",
                "type": "path",
                "description": "The UUID API Package identifier"
              }
            ]
          },
          "docs": "Retrieves the status and metadata associated with an API package Image. Returns the latest image if it has not yet been applied (status: uploading, validating, or invalid), otherwise returns the details of currently applied image (status: valid)."
        },
        {
          "info": {
            "name": "Create or Replace an API Package Image",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{protocol}://{hostname}:{port}{path}/v3/api-packages/:packageId/images/:imageType",
            "params": [
              {
                "name": "imageType",
                "value": "",
                "type": "path",
                "description": "The Supported image type."
              },
              {
                "name": "packageId",
                "value": "",
                "type": "path",
                "description": "The UUID API Package identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create or Replace an API Package Image. The replacement image is not applied to the API Package until asynchronous validation completes successfully."
        },
        {
          "info": {
            "name": "Delete an API Package Image",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{protocol}://{hostname}:{port}{path}/v3/api-packages/:packageId/images/:imageType",
            "params": [
              {
                "name": "imageType",
                "value": "",
                "type": "path",
                "description": "The Supported image type."
              },
              {
                "name": "packageId",
                "value": "",
                "type": "path",
                "description": "The UUID API Package identifier"
              }
            ]
          },
          "docs": "Delete an API Package Image."
        },
        {
          "info": {
            "name": "Get an API Package Raw Image",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}:{port}{path}/v3/api-packages/:packageId/images/:imageType/raw",
            "params": [
              {
                "name": "imageType",
                "value": "",
                "type": "path",
                "description": "The Supported image type."
              },
              {
                "name": "packageId",
                "value": "",
                "type": "path",
                "description": "The UUID API Package identifier"
              }
            ]
          },
          "docs": "Retrieves the raw image of an API Package. Only the currently applied image (status: valid) can be retrieved."
        }
      ]
    }
  ],
  "bundled": true
}