Artifacts

Get artifact content by SHA-256 hash

Changed on

Gets the content for an artifact version in the registry using the SHA-256 hash of the content. This content hash may be shared by multiple artifact versions in the case where the artifact versions have identical content.

This operation may fail for one of the following reasons:

  • No content with this contentHash exists (HTTP error 404)
  • A server error occurred (HTTP error 500)
get/ids/contentHashes/{contentHash}

Request

  • The document declares no server URL.
  • Auth
    none declared

Response

The content of one version of one artifact.

string binary required

Changes

    • breaking

      api path removed without deprecation

    • info

      endpoint added

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the media type application/x-protobuf for the response with the status

    • breaking

      removed the media type application/x-protobuffer for the response with the status

    • info

      added the media type */* for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status