Download the signature of the latest TEA Artifact revision
Download the detached signature for the latest revision of a specific TEA Artifact.
Equivalent to the versioned signature endpoint, resolving to the revision with the greatest published version — the same revision /artifact/{uuid}/latest reports. As with the latest content endpoint, the response is not immutable and caches shall revalidate it via ETag for the HTTP representation selected after negotiation. Content-Location is an absolute versioned signature URL including the API base, version path, and mediaType query parameter. That URL identifies the revision and format; HTTP content coding can still be negotiated.
When serving the signature itself (200), servers shall return a strong ETag for the HTTP representation selected after negotiation, including content coding, and shall honor If-None-Match with 304. ETag is the only conditional validator for these downloads. Servers that support HEAD for this operation shall return the same headers as GET without a response body. 302 redirects are outside conditional semantics: If-None-Match applies only to the TEA-hosted download response, not to following an external Location.
404 distinguishes the cases by TEA error body: OBJECT_UNKNOWN when the artifact revision is unknown (or concealed), and SIGNATURE_NOT_FOUND when the revision exists but the selected format has no signature published. A server concealing an artifact from a client shall answer OBJECT_UNKNOWN for every sub-resource of it, including signatures.
Path parameters
A UUID in lower case (RFC 9562)
UUID of TEA Artifact in the TEA server
Query parameters
Selects which of the artifact revision's formats the returned signature applies to, by that format's mediaType. This is the media type of the signed content, not of the signature. The parameter value is the media type itself, not a pre-encoded wire form. Clients shall apply query-parameter serialization once. Servers shall interpret the value after one query-decoding step.
Matching against a format's mediaType is case-insensitive for the type and subtype. Parameter names are compared case-insensitively; parameter values require exact equality. When omitted, the server selects a format of its choice. Requests that need a specific format's signature should supply this parameter. Successful responses include Content-Location with a mediaType query parameter naming the selected content format. An explicit mediaType can remove variation by Accept when it completely determines the signed format. It does not eliminate variation by Accept-Encoding; see artifact-vary.
Example after serialization: .../signature/download?mediaType=application%2Fvnd.cyclonedx%2Bjson
Headers
Conditional request validator (RFC 9110). For artifact and signature downloads, ETag is the only defined validator. Servers evaluate If-None-Match with the weak comparison function (RFC 9110 section 13.1.2) against the ETag of the representation selected after negotiation, including content-coding negotiation, and answer 304 when it matches. The corresponding 304 shall carry that representation's validator and shall carry Vary when the 200 would. When present, that ETag is a strong validator. Other validators are not defined for these operations.
Response
The detached signature for the selected format of the latest revision of the TEA Artifact, as resolved at the time of the request.
Identical to artifact-signature-content except for its cache policy: the latest revision changes when a new revision is published, so the response is not immutable and a cache shall revalidate it before reuse. Servers shall return a strong ETag for the selected HTTP representation. Revalidation returns 304 Not Modified when If-None-Match matches that representation's validator. Content-Location identifies the revision and format. Vary follows the same rules as artifact-signature-content.
Changes
Changed in 18 of the 136 revisions of this API.52128
- ●
the optional response header
Content-Encodingremoved for the status200optional-response-header-removed
- ●
the optional response header
Repr-Digestremoved for the status200optional-response-header-removed
- ●
the optional response header
Varyremoved for the status200optional-response-header-removed
- ●
- ●
the optional response header
Content-Encodingremoved for the status200optional-response-header-removed
- ●
the optional response header
Repr-Digestremoved for the status200optional-response-header-removed
- ●
the optional response header
Varyremoved for the status200optional-response-header-removed
- ●
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
removed the
OBJECT_NOT_SHAREABLEenum value from theresponse property for the response statusresponse-property-enum-value-removed
- ○
removed the
OBJECT_NOT_SHAREABLEenum value from theresponse property for the response statusresponse-property-enum-value-removed
- ○
removed the
OBJECT_NOT_SHAREABLEenum value from theresponse property for the response statusresponse-property-enum-value-removed
- ○
removed the
OBJECT_NOT_SHAREABLEenum value from theresponse property for the response statusresponse-property-enum-value-removed
- ○
removed the
OBJECT_NOT_SHAREABLEenum value from theresponse property for the response statusresponse-property-enum-value-removed
- ○
- ▲
removed the media type
application/octet-streamfor the response with the statusresponse-media-type-removed
- ○
added the new optional
headerrequest parameterIf-None-Matchnew-optional-request-parameter
- ○
added the media type
*/*for the response with the statusresponse-media-type-added
- ○
added the non-success response with the status
response-non-success-status-added
- ▲
- ▲
removed the media type
*/*for the response with the statusresponse-media-type-removed
- ●
deleted the
headerrequest parameterIf-None-Matchrequest-parameter-removed
- ○
added the media type
application/octet-streamfor the response with the statusresponse-media-type-added
- ○
removed the non-success response with the status
response-non-success-status-removed
- ▲
- ▲
the response header
ETagbecame optional for the statusresponse-header-became-optional
- ▲
removed the media type
application/octet-streamfor the response with the statusresponse-media-type-removed
- ○
added the media type
*/*for the response with the statusresponse-media-type-added
- ▲
- ●
the optional response header
Varyremoved for the status200optional-response-header-removed
- ●
the optional response header
Varyremoved for the status304optional-response-header-removed
- ●
- ○
added the new optional
headerrequest parameterIf-None-Matchnew-optional-request-parameter
- ○
added the non-success response with the status
response-non-success-status-added
- ○
- ●
added the new
INVALID_PAGE_TOKENenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
INVALID_PAGE_TOKENenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
INVALID_REQUESTenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
INVALID_REQUESTenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
NO_ACCEPTABLE_FORMATenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
NO_ACCEPTABLE_FORMATenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
SIGNATURE_NOT_FOUNDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
SIGNATURE_NOT_FOUNDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
- ●
added the new
NOT_IMPLEMENTEDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
NOT_IMPLEMENTEDenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●