Deploy Artifact by Checksum

Deploy an artifact to the specified destination by checking if the artifact content already exists in Artifactory.

If Artifactory already contains a user-readable artifact with the same checksum, the artifact content is copied to the new location and returns a response without requiring content transfer.

Otherwise, a 404 error is returned to indicate that content upload is expected to deploy the artifact.

If the X-Checksum-Deploy header is set to false, the artifact will be uploaded successfully with a 201 response, even if it didn't exist before, and submitted checksums will have the status Uploaded: Identical.

Note: You can also attach properties when deploying artifacts.

Headers:

  • X-Checksum-Deploy: true (Required)
  • X-Checksum-Sha1: [sha1Value] (Optional)
  • X-Checksum-Sha256: [sha256Value] (Optional)
  • X-Checksum: [checksum_value] (Required - type is resolved by length)

Note: You must include at least one of the optional checksum headers.

Security: Requires a user with Deploy permissions (can be anonymous)

Language
Credentials
URL
Response
Click Try It! to start a request and see the response here!