Hanzo
OpenapiDeploy

Returns the argocd RevisionMetadata for one revision of one application — what…

Returns the argocd RevisionMetadata for one revision of one application — what the detail view shows beside a revision.

GET /v1/deploy/applications/{name}/revisions/{revision}/metadata

Addresshttps://api.hanzo.ai/v1/deploy/applications/{name}/revisions/{revision}/metadata
MethodGET
Operationget_deploy_applications_by_name_revisions_by_revision_metadata
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the argocd RevisionMetadata for one revision of one application — what the detail view shows beside a revision.

An App CR is IMAGE-pinned rather than commit-pinned: the deploy names an image tag, and the git source this projection reports is the display-only manifest repo, not the application's own source. Nothing in this process can read a commit's author or message for an arbitrary revision. So rather than 404 (which the SPA turns into an error toast) or invent a git author, it answers the HONEST minimum: date is when the App CR was created, message is the revision asked for — with the empty revision and "HEAD" resolving to the image tag the CR declares — and author is empty. An over-long revision is truncated before it is echoed back.

Tenant-scoped exactly like the application read.

Request

2 fields.

FieldInTypeRequiredDescription
namepathstringyesName is the application to read, from the path.
revisionpathstringyesRevision is the revision to describe, from the path.

Response

StatusBodyMeaning
200argoRevisionMetadataok

200 body — 5 fields.

FieldInTypeAlwaysDescription
authorbodystringAuthor is the commit author.
datebodystringDate is when the App CR was created, RFC 3339 UTC — the only real timestamp there is here.
messagebodystringMessage is the revision asked for, echoed back — not a commit message.
signatureInfobodystringSignatureInfo is the GPG verification result for the revision.
tagsbodystring[]Tags are the git tags pointing at the revision.

Failure carries the platform error shape — see Errors.

Examples

hanzo deploy applications revisions metadata <name> <revision>

Deploy API · All Hanzo APIs · Interactive reference

How is this guide?

On this page