CIService

GetArtifactDownloadURL

Returns a short-lived signed HTTPS URL for one artifact. The URL expires 5 minutes after issuance.

post/depot.ci.v1.CIService/GetArtifactDownloadURL

Request

  • Base URL
    https://api.depot.dev
  • Auth
    HTTP bearer

Headers

Connect-Protocol-Version1 required

Define the version of the Connect protocol

Connect-Timeout-Msnumber

Define the timeout, in ms

Request body

artifactIdstring required

Unique identifier for the artifact. Returned by ListArtifacts.

Response

Success

urlstring

Signed HTTPS URL for the artifact content. Works with any standard HTTPS client and needs no extra authentication; anyone holding the URL can download the artifact until it expires.

expiresAtstring

Signed URL expiration time, in RFC 3339 format. URLs expire 5 minutes after issuance. Artifact retention is unaffected.

Changes

No recorded changes to this operation across all 1 revision of this API.