Credential reference
2 pages, 7 routes, 7 connections and 5 CLI commands, generated from the declarations of Credential without reading storage or running anything.
Code · 0 files
No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.
Pages · 3
| Page | View id | Role | Route | Order | Parent | Entity | Navigation |
|---|---|---|---|---|---|---|---|
| List | credential.index | list | /view/credential/list | 0 | Credential | in navigation | |
| Check a certificate | credential.verify | list | /view/credential/verify | 30 | Credential | in navigation | |
| Certificate | credential.item | detail | /view/credential/{credential_id} | 110 | credential.index | Credential | hidden |
Connections · 7
Credential.Claim
Claim an earned credential — the signed-in holder only. Verifies a course completion via Course.Progress or a checked-in seat via Event.Attendance (never trusts the caller), seals the record, mints the holder one unit of the credential's asset, and best-effort binds it to identity via Passport.Create. A repeated claim returns the stored credential.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| holder_id | optional | |||
| course_id | optional | |||
| event_id | optional | |||
| source | optional | |||
| source_ref | optional |
- Output keycredential.result
- Classificationreal
- POST /credential/claimHTTP route
- credential claimCLI command
Credential.Get
Fetch one credential by id.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| credential_id | required |
- Output keycredential.result
- Classificationroute_handler
- POST /credential/getHTTP route
Credential.Issue
Grant a credential to another account. The signed-in granter is recorded as its issuer; nobody can grant one to themselves.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| holder_id | required | |||
| title | required |
- Output keycredential.result
- Classificationreal
- POST /credential/issueHTTP route
- credential issueCLI command
Credential.List
List credentials: a holder's standing ones, the caller's own, or (for the issuer) those they issued.
- Output keycredential.result
- Classificationroute_handler
- GET /credential/listHTTP route
- credential listCLI command
Credential.Proof
A credential as a proof file anyone can check offline: the sealed fields, the seal, the issuing runtime's Ed25519 signature, and each evidence entry with its Merkle path to the sealed root.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| credential_id | optional | |||
| code | optional |
- Output keycredential.result
- Classificationroute_handler
- POST /credential/proofHTTP route
- credential proofCLI command
Credential.Revoke
Revoke a credential — its issuer only. The record is kept and marked Revoked, and the holder's unit of its asset is burned.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| credential_id | required |
- Output keycredential.result
- Classificationreal
- POST /credential/revokeHTTP route
Credential.Verify
Check a credential by id or printed code: whether it stands, whether the record still matches its seal, evidence root and issuer signature, and whether the holder's wallet holds its asset.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| credential_id | optional | |||
| code | optional |
- Output keycredential.result
- Classificationroute_handler
- POST /credential/verifyHTTP route
- credential verifyCLI command
CLI commands · 5
credential claim
Claim your credential for a completed course (course_id) or an attended event (event_id)
credential claim {"course_id":"course-..."}credential issue
Grant a credential to another account (holder_id + title)
credential issue {"holder_id":"alice","title":"Workshop attendee"}credential list
List your credentials, or one holder's standing ones
credential list {"holder_id":"alice"}credential list
credential list {"holder_id":"alice"}credential proof
Export a credential's proof file, checkable with scripts/verify_credential.mjs --proof
credential proof {"code":"CRE8-0000-0000-0000"}credential verify
Check a credential by id or printed code
credential verify {"code":"CRE8-0000-0000-0000"}Schema and data model
Declared storage and kinds. Linked kinds open their app pages.
- Authorityhyper
- Preferred truthhyper
- App ownerCredential
- SQL projectionnone · DDL declarations: 0
- None declared.
- cre8/credential
- cre8/credential
- No model warnings were reported.
Capabilities and dependencies
- Protocol