Images

Get the content of an image by type java

Changed on
get/images/{imageDigest}/content/java

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /images/{imageDigest}/content/java
  • Auth: none declared

Path parameters

imageDigeststring required

Headers

x-anchore-accountstring

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

Response

Content of specified type from the image

imageDigeststring
content_typestring

Example response

{
  "content_type": "content_type",
  "content": [
    {
      "package": "package",
      "implementation-version": "implementation-version",
      "cpes": [
        "cpes",
        "cpes"
      ],
      "origin": "origin",
      "maven-version": "maven-version",
      "location": "location",
      "type": "type",
      "specification-version": "specification-version"
    },
    {
      "package": "package",
      "implementation-version": "implementation-version",
      "cpes": [
        "cpes",
        "cpes"
      ],
      "origin": "origin",
      "maven-version": "maven-version",
      "location": "location",
      "type": "type",
      "specification-version": "specification-version"
    }
  ],
  "imageDigest": "imageDigest"
}

Changes

    • breaking

      the / response's property type changed from no type to object for status

    • info

      added the optional property // to the response with the status

    • breaking

      the / response's property type changed from object to no type for status

    • warning

      removed the optional property // from the response with the status