Skip to content
DARC
Developers

REST Resource: receipts

What a hash refers to. The fields present depend on kind.

Receipt fields

FieldDescription
kind
stringrequired
  • One of: result, event, artifact
A task result, a cluster event, or a file a result cites.
cluster
stringrequired
  • Format: slug
The cluster's slug.
task
string
result and artifact: the task's key.
attempt
integer
result and artifact: which attempt at the task.
status
string
  • One of: PENDING, VERIFIED, ACCEPTED, REFUTED, SUPERSEDED
result: the result's status.
author
string
  • Format: handle
result: who submitted it.
seq
integer
event: the event's sequence number.
type
string
event: what happened.
at
string
  • Format: date-time
result and event: when.

Methods

  • receipts.get
    GET/api/v1/public/receipts/{sha256}

    Says what a sha256 hash refers to: a task result, a cluster event or an artifact.