GET /v1/artifacts/authorities/{run} and the answer to a revocation: the record without its token and without its path.
API reference sections
Schema
AuthorityView
Type object
Shape
| Field | Type | Description |
|---|---|---|
| runrequired | RunId | |
| workspacerequired | WorkspaceId | |
| generationrequired | AttemptGeneration | Which attempt of a run is current - the fence §7.5 and §7.6 rely on. A monotonic counter per run, starting at [ |
| grantsrequired | array of WorkspaceId | |
| staterequired | AuthorityState | Whether the authority still stands. A closed domain, |
| created_at_msrequired | integer (int64) | |
| revoked_at_ms | integer (int64) or null |
{
"run": "00000000-0000-4000-8000-000000000000",
"workspace": "00000000-0000-4000-8000-000000000000",
"generation": 0,
"grants": [
"00000000-0000-4000-8000-000000000000"
],
"state": "active",
"created_at_ms": 0,
"revoked_at_ms": 0
}The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.
Used by
GET
A run's authority record/v1/artifacts/authorities/{run}POST
Revoke a run's authority/v1/artifacts/authorities/{run}/revoke
Generated from contract version 1. Last updated .
