Attest
Operations
| Method | Endpoint | Description |
|---|---|---|
POST |
/attest |
Record Attestations across Spaces |
Record Attestations across Spaces
POST /attest
Record an Attestation in each Space selected by WhereSpace, SpaceFilterID, ChangeOrderID and TargetStage, covering one Revision of each Unit WhereUnit selects there, named by Revision. It defaults to the Revision the ChangeOrder's end Tag marks when ChangeOrderID is given, and to the head Revision otherwise. Each Space is recorded on its own and reported on its own.
Operation ID: Attest
Parameters
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
dry_run |
boolean | Resolve the Revisions that would be covered and return the same response without writing anything. |
Request Body
Content-Type: application/json
Schema: AttestRequest
Responses
| Status | Description | Content-Type | Schema |
|---|---|---|---|
| 200 | OK | application/json |
AttestResult |
| 207 | Recording failed in some Spaces; each Space's result carries its own error | application/json |
AttestResult |
| 400 | Attest request is invalid (Bad Request). | application/json |
StandardErrorResponse |
| 401 | Unauthorized access. | application/json |
StandardErrorResponse |
| 403 | Forbidden access. | application/json |
StandardErrorResponse |
| 404 | Attest not found. | application/json |
StandardErrorResponse |
| 409 | Attest data conflict. Data has changed since last read. | application/json |
StandardErrorResponse |
| 500 | Something went wrong while processing Attest. | application/json |
StandardErrorResponse |
| default | Unexpected error. | application/json |
StandardErrorResponse |
Schemas
AttestRequest
Properties
| Property | Type | Required | Description |
|---|---|---|---|
ChangeOrderID |
string (uuid) | ||
Claims |
object | ||
EvidenceAttestationIDs |
Array of UUID |
||
ExpiresAt |
string (date-time) | ||
Note |
string | ||
ReleaseID |
string (uuid) | ||
Result |
string | ||
Revision |
string | ||
RevokedAttestationID |
string (uuid) | ||
SpaceFilterID |
string (uuid) | ||
TargetStage |
string | ||
Type |
string | ||
WhereSpace |
string | ||
WhereUnit |
string |
AttestResult
Properties
| Property | Type | Required | Description |
|---|---|---|---|
Spaces |
Array of AttestSpaceResult |
StandardErrorResponse
Error response details.
Properties
| Property | Type | Required | Description |
|---|---|---|---|
Code |
string | HTTP status code of the response. | |
Message |
string | Message returned with the response. |