Screenshots

Upload a screenshot artifact (content-addressed)

The raw PNG body must hash (sha-256) to {digest}. Idempotent: a digest the repository already has returns 200 with deduped: true without re-storing; a new artifact returns 201. A body that does not hash to the digest is 400 with code digest_mismatch. Requires the runs:write scope on agent tokens.

put/api/v1/screenshots/{digest}

Request

  • Base URL: https://dungbeetle.dev
  • URL: https://dungbeetle.dev/api/v1/screenshots/{digest}
  • Auth: one of:
    • HTTP basic
    • HTTP bearer

Path parameters

digeststring required

sha-256 hex digest (content-addressed artifact id).

sha-256 of the body (64 lowercase hex chars).

Response

Already stored (deduped).

idstring required

sha-256 hex digest (content-addressed artifact id).

dedupedboolean required

True when the repository already had this artifact.

Changes

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