Skip to content

← All contracts

OHN-39 Network Trust and Accreditation

Version
1.1.0
OpenAPI
3.1.0
Source in the repository
modules/OHN-39/api/openapi.yaml
Servers
https://opeshealthnetwork.com
Authentication
bearerAuth: http bearer (JWT)

Download the contract (YAML)

Contracts are written in English.

Accreditation policy is configuration (OHN39_ACCEPTED_TRUST_TIERS in the TypeScript baseline; ohn.m39.accepted-trust-tiers / OHN_M39_ACCEPTED_TRUST_TIERS in the Java service); without it enrollment and certificate verification fail closed with 503 not_configured, and a tier outside the list is 422 tier_not_accepted. Synthetic-ready trust and accreditation service contracts. Production use requires accepted OHN-01/OHN-38/OHN-16 integrations and security authorization. OHN membership never implies government accreditation without evidence.

Operations

Other operations

GET/api/ohn/v1/trust/health

Operation ID: ohn39_health

Responses

CodeDescriptionMedia type
200Service health
application/json: object
GET/health/ohn-39

Platform health probe; checks the OHN-39 database connection.

Operation ID: ohn39_platformHealth

Responses

CodeDescriptionMedia type
200Healthy
application/json: object
503Database unavailable
application/json: object
POST/api/ohn/v1/trust/auth/token

Available only outside production when OHN39_SYNTHETIC_AUTH=true. Served by the TypeScript baseline only; the Java service does not issue tokens (they come from the platform gateway, ES256, audience ohn-39) and answers 404 here.

Operation ID: ohn39_issueSyntheticToken

Request body (required)

Responses

CodeDescriptionMedia type
200Synthetic token
404Not found or non-disclosing resource refusal
422Domain validation failed
GET/api/ohn/v1/trust/enrollments

Operation ID: ohn39_listEnrollments

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
cursorquerystring (uuid)no
page_sizequeryintegerno
statusqueryEnrollmentStateno
trust_tierqueryTrustTierno
organization_idquerystring (uuid)no

Responses

CodeDescriptionMedia type
200Scoped trust review queue
application/json: EnrollmentListResponse
401Unauthenticated
403Denied by policy
429Rate limited
503Dependency unavailable
POST/api/ohn/v1/trust/enrollments

Operation ID: ohn39_createEnrollment

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
Idempotency-KeyheaderstringyesClient-generated key per intent; same key and payload replays the original receipt, same key with a different payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
201Enrollment application committed
application/json: TrustEnrollmentView
400Malformed request
401Unauthenticated
403Denied by policy
409Conflict, stale version or idempotency mismatch
422Domain validation failed
429Rate limited
503Dependency unavailable
GET/api/ohn/v1/trust/enrollments/{id}

Operation ID: ohn39_getEnrollment

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yesResource-scoped id; verified by the authoritative owner service

Responses

CodeDescriptionMedia type
200Enrollment detail with workflow history and linked evidence
application/json: TrustEnrollmentDetail
401Unauthenticated
403Denied by policy
404Not found or non-disclosing resource refusal
429Rate limited
503Dependency unavailable
POST/api/ohn/v1/trust/enrollments/{id}/approve

Advances the trust onboarding workflow one guarded state. Emits trust.enrollment.approved when the enrollment becomes trusted. Returns 202 with pending reconciliation when the jurisdiction dependency is unavailable.

Operation ID: ohn39_approveEnrollment

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yesResource-scoped id; verified by the authoritative owner service
Idempotency-KeyheaderstringyesClient-generated key per intent; same key and payload replays the original receipt, same key with a different payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
200Transition committed with audit receipt
application/json: TrustEnrollmentView
202Local fact committed; downstream confirmation pending
application/json: TrustEnrollmentView
401Unauthenticated
403Denied by policy
404Not found or non-disclosing resource refusal
409Conflict, stale version or idempotency mismatch
422Domain validation failed
429Rate limited
503Dependency unavailable
POST/api/ohn/v1/trust/certificates/verify

Records certificate chain verification evidence. Expired certificates are rejected with 422 expired_certificate and never establish trust. Answers 503 not_configured when no accreditation policy is configured and 422 tier_not_accepted for a tier outside it.

Operation ID: ohn39_verifyCertificate

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
Idempotency-KeyheaderstringyesClient-generated key per intent; same key and payload replays the original receipt, same key with a different payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
201Verification evidence
application/json: AccreditationEvidenceView
401Unauthenticated
403Denied by policy
409Conflict, stale version or idempotency mismatch
422Domain validation failed
429Rate limited
503Dependency unavailable
GET/api/ohn/v1/trust/certificates

Operation ID: ohn39_getCertificateDashboard

Authentication: bearerAuth

Responses

CodeDescriptionMedia type
200Certificate dashboard KPIs
application/json: object
401Unauthenticated
403Denied by policy
429Rate limited
503Dependency unavailable
GET/api/ohn/v1/trust/endpoints/{id}/verification

Operation ID: ohn39_getEndpointVerification

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yesResource-scoped id; verified by the authoritative owner service

Responses

CodeDescriptionMedia type
200Source comparison
application/json: object
401Unauthenticated
403Denied by policy
404Not found or non-disclosing resource refusal
429Rate limited
503Dependency unavailable
POST/api/ohn/v1/trust/endpoints/{id}/bindings

(v1.1, ADR-0002) Binds an endpoint id that has a trust status to the base URL it serves, so partners can look trust up by base URL. certificate_administrator only. The base URL is normalised (lower-case scheme and host, no default port, no trailing slash, no query). One active binding per base URL per organization and jurisdiction.

Operation ID: ohn39_bindEndpointBaseUrl

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yesResource-scoped id; verified by the authoritative owner service
Idempotency-KeyheaderstringyesClient-generated key per intent; same key and payload replays the original receipt, same key with a different payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
201Binding stored with audit receipt
401Unauthenticated
403Denied by policy
404Not found or non-disclosing resource refusal
409Conflict, stale version or idempotency mismatch
422Domain validation failed
GET/api/ohn/v1/trust/endpoint-bindings

Active endpoint-to-address bindings of the caller's organisation (trust_reviewer, certificate_administrator), so screens name an endpoint by the address it serves.

Operation ID: ohn39_listEndpointBindings

Authentication: bearerAuth

Responses

CodeDescriptionMedia type
200Active bindings
401Unauthenticated—
403Role not permitted—
GET/api/ohn/v1/trust/endpoint-verifications

(v1.1, ADR-0002) Partner trust lookup by organization, base URL and certificate reference, scoped to the token's jurisdiction and organization (organization_id must equal the token's). Fail closed; only a trusted, unrevoked, unexpired status for exactly this certificate is "verified".

Operation ID: ohn39_lookupEndpointVerification

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
organization_idquerystring (uuid)yes
base_urlquerystringyes
certificate_refquerystringyes

Responses

CodeDescriptionMedia type
200Lookup result (also returned, as unverified/endpoint_not_bound, when no binding exists)
401Unauthenticated
403Denied by policy
422Domain validation failed
429Rate limited
503Dependency unavailable
POST/api/ohn/v1/trust/endpoints/{id}/attestations

Records the outcome of an endpoint ownership challenge. A passed challenge, approved by a different person (dual control), is the positive attestation the onboarding step endpoint_attested requires. A failed challenge is recorded as kind=challenge, state=challenge_failed and never counts.

Operation ID: ohn39_attestEndpoint

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yesResource-scoped id; verified by the authoritative owner service
Idempotency-KeyheaderstringyesClient-generated key per intent; same key and payload replays the original receipt, same key with a different payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
201Attestation recorded with receipt
application/json: EndpointAttestationView
401Unauthenticated
403Denied by policy
409Conflict, stale version or idempotency mismatch
422Domain validation failed
429Rate limited
503Dependency unavailable
POST/api/ohn/v1/trust/endpoints/{id}/revoke

Suspends trust for the listed endpoints, quarantines them, blocks client credentials and emits trust.status.revoked atomically. Dual control - the approver must differ from the requesting operator. Returns 202 with pending reconciliation when the jurisdiction dependency is unavailable.

Operation ID: ohn39_revokeEndpoint

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yesResource-scoped id; verified by the authoritative owner service
Idempotency-KeyheaderstringyesClient-generated key per intent; same key and payload replays the original receipt, same key with a different payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
201Suspension committed; credentials blocked
application/json: EndpointAttestationView
202Local fact committed; downstream confirmation pending
application/json: EndpointAttestationView
401Unauthenticated
403Denied by policy
404Not found or non-disclosing resource refusal
409Conflict, stale version or idempotency mismatch
422Domain validation failed
429Rate limited
503Dependency unavailable
POST/api/ohn/v1/trust/suspensions/{id}/reinstate

Completes the trust compromise response workflow by reinstating suspended endpoints after human review.

Operation ID: ohn39_reinstateSuspension

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yesResource-scoped id; verified by the authoritative owner service
Idempotency-KeyheaderstringyesClient-generated key per intent; same key and payload replays the original receipt, same key with a different payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
200Suspension revalidated
application/json: EndpointAttestationView
401Unauthenticated
403Denied by policy
404Not found or non-disclosing resource refusal
409Conflict, stale version or idempotency mismatch
422Domain validation failed
429Rate limited
503Dependency unavailable
POST/api/ohn/v1/trust/workflows/{id}/transitions

Advances a certificate rollover workflow (expiry_warning, new_chain_proven, overlap_window, old_revoked) with optimistic concurrency.

Operation ID: ohn39_transitionWorkflow

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yesResource-scoped id; verified by the authoritative owner service
Idempotency-KeyheaderstringyesClient-generated key per intent; same key and payload replays the original receipt, same key with a different payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
200Rollover transition committed
application/json: AccreditationEvidenceView
401Unauthenticated
403Denied by policy
404Not found or non-disclosing resource refusal
409Conflict, stale version or idempotency mismatch
422Domain validation failed
429Rate limited
503Dependency unavailable
GET/api/ohn/v1/trust/suspensions

Operation ID: ohn39_listSuspensions

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
cursorquerystring (uuid)no
page_sizequeryintegerno
statusqueryCompromiseStateno

Responses

CodeDescriptionMedia type
200Scoped suspension history
application/json: object
401Unauthenticated
403Denied by policy
429Rate limited
503Dependency unavailable
GET/api/ohn/v1/trust/evidence

Operation ID: ohn39_listEvidence

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
cursorquerystringno
page_sizequeryintegerno
record_typequery"enrollment" | "evidence" | "attestation" | "suspension"no
endpoint_idquerystring (uuid)no

Responses

CodeDescriptionMedia type
200Combined trust evidence history in the authorized scope
application/json: object
401Unauthenticated
403Denied by policy
429Rate limited
503Dependency unavailable
GET/api/ohn/v1/trust/reports/{id}

Operation ID: ohn39_getReport

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
idpath"OHN-39-R001" | "OHN-39-R002" | "OHN-39-R003"yes
tierqueryTrustTierno
period_fromquerystring (date-time)no
period_toquerystring (date-time)no
expiry_window_daysquerynumbernoDefault 30. Not range-checked on this GET (the export body is: 1 to 3650); a non-numeric value matches no certificate.
organization_idquerystring (uuid)no
statusquerystringno

Responses

CodeDescriptionMedia type
200Authorized report with deterministic metrics and provenance
application/json: object
401Unauthenticated
403Denied by policy
404Not found or non-disclosing resource refusal
429Rate limited
503Dependency unavailable
POST/api/ohn/v1/trust/reports/{id}/export

Operation ID: ohn39_createExport

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
idpath"OHN-39-R001" | "OHN-39-R002" | "OHN-39-R003"yes
Idempotency-KeyheaderstringyesClient-generated key per intent; same key and payload replays the original receipt, same key with a different payload returns 409.

Request body (required)

Responses

CodeDescriptionMedia type
201Signed one-time export created with audit receipt
application/json: object
401Unauthenticated
403Denied by policy
404Not found or non-disclosing resource refusal
409Conflict, stale version or idempotency mismatch
422Domain validation failed
429Rate limited
503Dependency unavailable
GET/api/ohn/v1/trust/exports/{token}

Operation ID: ohn39_downloadExport

Authentication: bearerAuth

Parameters

NameInTypeRequiredDescription
tokenpathstringyes

Responses

CodeDescriptionMedia type
200One-time signed export content
text/csv
application/pdf
401Unauthenticated
403Denied by policy
404Not found or non-disclosing resource refusal
429Rate limited
503Dependency unavailable

Schemas

TrustTier

"bronze" | "silver" | "gold" | "platinum"

RevocationStatus

"not_revoked" | "revoked" | "unknown"

EnrollmentState

"application" | "evidence_verified" | "endpoint_attested" | "approved" | "trusted" | "suspended" | "revoked"

CompromiseState

"compromise_reported" | "endpoint_quarantined" | "tokens_revoked" | "revalidated" | "challenge_failed"

TrustEnrollmentCommand

NameTypeRequiredDescription
organization_idstring (uuid)yes
endpoint_refstring (uuid)yes
accreditation_documentstring (uuid)yes
trust_tierTrustTieryes
issuing_authoritystring (uuid)yes

EnrollmentApproveCommand

NameTypeRequiredDescription
expected_versionintegeryes
evidence_refstring (uuid)yes
reasonstringyes

CertificateVerificationCommand

NameTypeRequiredDescription
endpoint_idstring (uuid)yes
certificate_chain_refstring (uuid)yes
revocation_statusRevocationStatusyes
not_afterstring (date-time)yes
validation_evidencestring (uuid)yes
subjectstringyes
issuerstringyes
serial_numberstringyes
trust_tierTrustTieryes
issuing_authoritystring (uuid)yes
accreditation_documentstring (uuid)yes

EndpointRevokeCommand

NameTypeRequiredDescription
organization_idstring (uuid)yes
reasonstringyes
affected_endpoint_idsstringyesWhitespace or comma separated UUID list
effective_atstring (date-time)yes
approverstring (uuid)yes

WorkflowTransitionCommand

NameTypeRequiredDescription
expected_versionintegeryes
to_statestringyes
evidence_refstring (uuid)yes
reasonstringyes

ReinstateSuspensionCommand

NameTypeRequiredDescription
expected_versionintegeryes
evidence_refstring (uuid)yes
reasonstringyes

ExportCommand

NameTypeRequiredDescription
format"csv" | "pdf"yes
countrystringno
tierTrustTierno
period_fromstring (date-time)no
period_tostring (date-time)no
expiry_window_daysintegerno
organization_idstring (uuid)no
statusstringno

SyntheticTokenCommand

NameTypeRequiredDescription
principal_idstring (uuid)yes
role"trust_reviewer" | "certificate_administrator" | "unauthorized_viewer"yes
jurisdictionstring (uuid)yes
organization_idstring (uuid)yes
purpose"trust_onboarding" | "certificate_verification" | "trust_suspension" | "trust_reporting"yes

Provenance

NameTypeRequiredDescription
source_system_idstring (uuid)yes
provenance_refstring (uuid)yes

Receipt

NameTypeRequiredDescription
receipt_idstring (uuid)yes
committed_atstring (date-time)yes
aggregate_idstring (uuid)yes
aggregate_typestringyes
versionintegeryes
status"committed" | "pending"yes

TrustEnrollmentView

NameTypeRequiredDescription
idstring (uuid)yes
organization_idstring (uuid)yes
endpoint_refstring (uuid)yes
accreditation_documentstring (uuid)yes
trust_tierTrustTieryes
issuing_authoritystring (uuid)yes
stateEnrollmentStateyes
versionintegeryes
accredited_atstring (date-time)no
created_atstring (date-time)yes
updated_atstring (date-time)yes
provenanceProvenanceno
receiptReceiptno

TrustEnrollmentDetail

NameTypeRequiredDescription
idstring (uuid)yes
organization_idstring (uuid)yes
endpoint_refstring (uuid)yes
accreditation_documentstring (uuid)yes
trust_tierTrustTieryes
issuing_authoritystring (uuid)yes
stateEnrollmentStateyes
versionintegeryes
accredited_atstring (date-time)no
created_atstring (date-time)yes
updated_atstring (date-time)yes
provenanceProvenanceno
receiptReceiptno
workflow_historyarray of objectno
evidencearray of objectno
attestationsarray of EndpointAttestationViewno

EnrollmentListResponse

NameTypeRequiredDescription
dataarray of TrustEnrollmentViewyes
next_cursorstring (uuid)yes
page_sizeintegeryes
summaryobjectyes

AccreditationEvidenceView

NameTypeRequiredDescription
idstring (uuid)yes
organization_idstring (uuid)yes
endpoint_idstring (uuid)yes
certificate_chain_refstring (uuid)yes
revocation_statusRevocationStatusyes
not_afterstring (date-time)yes
validation_evidencestring (uuid)yes
state"expiry_warning" | "new_chain_proven" | "overlap_window" | "old_revoked"yes
versionintegeryes
created_atstring (date-time)no
updated_atstring (date-time)no
provenanceProvenanceno
certificateobjectno
workflow_idstring (uuid)no
workflow_statestringno
receiptReceiptno

EndpointAttestationView

NameTypeRequiredDescription
idstring (uuid)yes
organization_idstring (uuid)yes
kind"attestation" | "challenge" | "suspension"yes
reasonstringyes
affected_endpoint_idsstringyes
effective_atstring (date-time)yes
approverstring (uuid)yes
stateCompromiseStateyes
versionintegeryes
revoked_atstring (date-time)no
reinstated_atstring (date-time)no
reinstatement_evidencestring (uuid)no
created_atstring (date-time)no
updated_atstring (date-time)no
provenanceProvenanceno
workflow_statestringno
event_idstring (uuid)no
receiptReceiptno
downstreamstringno

post-api-ohn-v1-trust-auth-token.response-200 defined inline

NameTypeRequiredDescription
access_tokenstringyes

post-api-ohn-v1-trust-auth-token.response-404 defined inline

NameTypeRequiredDescription
error"not_found"yes

post-api-ohn-v1-trust-auth-token.response-422 defined inline

NameTypeRequiredDescription
errorstringyes
detailsobjectno

get-api-ohn-v1-trust-enrollments.response-401 defined inline

NameTypeRequiredDescription
error"unauthenticated"yes

get-api-ohn-v1-trust-enrollments.response-403 defined inline

NameTypeRequiredDescription
error"denied_by_policy"yes

get-api-ohn-v1-trust-enrollments.response-429 defined inline

NameTypeRequiredDescription
error"rate_limited"yes

get-api-ohn-v1-trust-enrollments.response-503 defined inline

NameTypeRequiredDescription
error"dependency_unavailable"yes

post-api-ohn-v1-trust-enrollments.response-400 defined inline

NameTypeRequiredDescription
errorstringyes

post-api-ohn-v1-trust-enrollments.response-401 defined inline

NameTypeRequiredDescription
error"unauthenticated"yes

post-api-ohn-v1-trust-enrollments.response-403 defined inline

NameTypeRequiredDescription
error"denied_by_policy"yes

post-api-ohn-v1-trust-enrollments.response-409 defined inline

NameTypeRequiredDescription
errorstringyes

post-api-ohn-v1-trust-enrollments.response-422 defined inline

NameTypeRequiredDescription
errorstringyes
detailsobjectno

post-api-ohn-v1-trust-enrollments.response-429 defined inline

NameTypeRequiredDescription
error"rate_limited"yes

post-api-ohn-v1-trust-enrollments.response-503 defined inline

NameTypeRequiredDescription
error"dependency_unavailable"yes

get-api-ohn-v1-trust-enrollments-id.response-401 defined inline

NameTypeRequiredDescription
error"unauthenticated"yes

get-api-ohn-v1-trust-enrollments-id.response-403 defined inline

NameTypeRequiredDescription
error"denied_by_policy"yes

get-api-ohn-v1-trust-enrollments-id.response-404 defined inline

NameTypeRequiredDescription
error"not_found"yes

get-api-ohn-v1-trust-enrollments-id.response-429 defined inline

NameTypeRequiredDescription
error"rate_limited"yes

get-api-ohn-v1-trust-enrollments-id.response-503 defined inline

NameTypeRequiredDescription
error"dependency_unavailable"yes

post-api-ohn-v1-trust-enrollments-id-approve.response-401 defined inline

NameTypeRequiredDescription
error"unauthenticated"yes

post-api-ohn-v1-trust-enrollments-id-approve.response-403 defined inline

NameTypeRequiredDescription
error"denied_by_policy"yes

post-api-ohn-v1-trust-enrollments-id-approve.response-404 defined inline

NameTypeRequiredDescription
error"not_found"yes

post-api-ohn-v1-trust-enrollments-id-approve.response-409 defined inline

NameTypeRequiredDescription
errorstringyes

post-api-ohn-v1-trust-enrollments-id-approve.response-422 defined inline

NameTypeRequiredDescription
errorstringyes
detailsobjectno

post-api-ohn-v1-trust-enrollments-id-approve.response-429 defined inline

NameTypeRequiredDescription
error"rate_limited"yes

post-api-ohn-v1-trust-enrollments-id-approve.response-503 defined inline

NameTypeRequiredDescription
error"dependency_unavailable"yes

post-api-ohn-v1-trust-certificates-verify.response-401 defined inline

NameTypeRequiredDescription
error"unauthenticated"yes

post-api-ohn-v1-trust-certificates-verify.response-403 defined inline

NameTypeRequiredDescription
error"denied_by_policy"yes

post-api-ohn-v1-trust-certificates-verify.response-409 defined inline

NameTypeRequiredDescription
errorstringyes

post-api-ohn-v1-trust-certificates-verify.response-422 defined inline

NameTypeRequiredDescription
errorstringyes
detailsobjectno

post-api-ohn-v1-trust-certificates-verify.response-429 defined inline

NameTypeRequiredDescription
error"rate_limited"yes

post-api-ohn-v1-trust-certificates-verify.response-503 defined inline

NameTypeRequiredDescription
error"dependency_unavailable"yes

get-api-ohn-v1-trust-certificates.response-401 defined inline

NameTypeRequiredDescription
error"unauthenticated"yes

get-api-ohn-v1-trust-certificates.response-403 defined inline

NameTypeRequiredDescription
error"denied_by_policy"yes

get-api-ohn-v1-trust-certificates.response-429 defined inline

NameTypeRequiredDescription
error"rate_limited"yes

get-api-ohn-v1-trust-certificates.response-503 defined inline

NameTypeRequiredDescription
error"dependency_unavailable"yes

get-api-ohn-v1-trust-endpoints-id-verification.response-401 defined inline

NameTypeRequiredDescription
error"unauthenticated"yes

get-api-ohn-v1-trust-endpoints-id-verification.response-403 defined inline

NameTypeRequiredDescription
error"denied_by_policy"yes

get-api-ohn-v1-trust-endpoints-id-verification.response-404 defined inline

NameTypeRequiredDescription
error"not_found"yes

get-api-ohn-v1-trust-endpoints-id-verification.response-429 defined inline

NameTypeRequiredDescription
error"rate_limited"yes

get-api-ohn-v1-trust-endpoints-id-verification.response-503 defined inline

NameTypeRequiredDescription
error"dependency_unavailable"yes

post-api-ohn-v1-trust-endpoints-id-bindings.request defined inline

NameTypeRequiredDescription
base_urlstring (uri)yes
reasonstringyes

post-api-ohn-v1-trust-endpoints-id-bindings.response-201 defined inline

NameTypeRequiredDescription
idstring (uuid)yes
endpoint_idstring (uuid)yes
base_urlstringyes
state"active" | "retired"yes
versionintegeryes
receiptobjectyes

post-api-ohn-v1-trust-endpoints-id-bindings.response-401 defined inline

NameTypeRequiredDescription
error"unauthenticated"yes

post-api-ohn-v1-trust-endpoints-id-bindings.response-403 defined inline

NameTypeRequiredDescription
error"denied_by_policy"yes

post-api-ohn-v1-trust-endpoints-id-bindings.response-404 defined inline

NameTypeRequiredDescription
error"not_found"yes

post-api-ohn-v1-trust-endpoints-id-bindings.response-409 defined inline

NameTypeRequiredDescription
errorstringyes

post-api-ohn-v1-trust-endpoints-id-bindings.response-422 defined inline

NameTypeRequiredDescription
errorstringyes
detailsobjectno

get-api-ohn-v1-trust-endpoint-bindings.response-200 defined inline

NameTypeRequiredDescription
dataarray of get-api-ohn-v1-trust-endpoint-bindings.response-200.data.itemyes

get-api-ohn-v1-trust-endpoint-bindings.response-200.data.item defined inline

NameTypeRequiredDescription
idstring (uuid)yes
endpoint_idstring (uuid)yes
base_urlstringyes
statestringyes
versionintegeryes
updated_atstring (date-time)yes

get-api-ohn-v1-trust-endpoint-verifications.response-200 defined inline

NameTypeRequiredDescription
api_version"1.1.0"yes
status"verified" | "unverified" | "revoked" | "expired"yes
reason"trusted" | "endpoint_not_bound" | "no_trust_status" | "certificate_mismatch" | "certificate_revoked" | "endpoint_revoked" | "endpoint_quarantined" | "certificate_expired" | "not_trusted" | "revocation_unknown"yes
endpoint_idstring | null (uuid)yes
evidence_refstring | null (uuid)yes
not_afterstring | null (date-time)yes
checked_atstring (date-time)yes

get-api-ohn-v1-trust-endpoint-verifications.response-401 defined inline

NameTypeRequiredDescription
error"unauthenticated"yes

get-api-ohn-v1-trust-endpoint-verifications.response-403 defined inline

NameTypeRequiredDescription
error"denied_by_policy"yes

get-api-ohn-v1-trust-endpoint-verifications.response-422 defined inline

NameTypeRequiredDescription
errorstringyes
detailsobjectno

get-api-ohn-v1-trust-endpoint-verifications.response-429 defined inline

NameTypeRequiredDescription
error"rate_limited"yes

get-api-ohn-v1-trust-endpoint-verifications.response-503 defined inline

NameTypeRequiredDescription
error"dependency_unavailable"yes

post-api-ohn-v1-trust-endpoints-id-attestations.request defined inline

NameTypeRequiredDescription
challenge_result"passed" | "failed"yes
challenge_evidencestring (uuid)yes
reasonstringyes
approverstring (uuid)yes

post-api-ohn-v1-trust-endpoints-id-attestations.response-401 defined inline

NameTypeRequiredDescription
error"unauthenticated"yes

post-api-ohn-v1-trust-endpoints-id-attestations.response-403 defined inline

NameTypeRequiredDescription
error"denied_by_policy"yes

post-api-ohn-v1-trust-endpoints-id-attestations.response-409 defined inline

NameTypeRequiredDescription
errorstringyes

post-api-ohn-v1-trust-endpoints-id-attestations.response-422 defined inline

NameTypeRequiredDescription
errorstringyes
detailsobjectno

post-api-ohn-v1-trust-endpoints-id-attestations.response-429 defined inline

NameTypeRequiredDescription
error"rate_limited"yes

post-api-ohn-v1-trust-endpoints-id-attestations.response-503 defined inline

NameTypeRequiredDescription
error"dependency_unavailable"yes

post-api-ohn-v1-trust-endpoints-id-revoke.response-401 defined inline

NameTypeRequiredDescription
error"unauthenticated"yes

post-api-ohn-v1-trust-endpoints-id-revoke.response-403 defined inline

NameTypeRequiredDescription
error"denied_by_policy"yes

post-api-ohn-v1-trust-endpoints-id-revoke.response-404 defined inline

NameTypeRequiredDescription
error"not_found"yes

post-api-ohn-v1-trust-endpoints-id-revoke.response-409 defined inline

NameTypeRequiredDescription
errorstringyes

post-api-ohn-v1-trust-endpoints-id-revoke.response-422 defined inline

NameTypeRequiredDescription
errorstringyes
detailsobjectno

post-api-ohn-v1-trust-endpoints-id-revoke.response-429 defined inline

NameTypeRequiredDescription
error"rate_limited"yes

post-api-ohn-v1-trust-endpoints-id-revoke.response-503 defined inline

NameTypeRequiredDescription
error"dependency_unavailable"yes

post-api-ohn-v1-trust-suspensions-id-reinstate.response-401 defined inline

NameTypeRequiredDescription
error"unauthenticated"yes

post-api-ohn-v1-trust-suspensions-id-reinstate.response-403 defined inline

NameTypeRequiredDescription
error"denied_by_policy"yes

post-api-ohn-v1-trust-suspensions-id-reinstate.response-404 defined inline

NameTypeRequiredDescription
error"not_found"yes

post-api-ohn-v1-trust-suspensions-id-reinstate.response-409 defined inline

NameTypeRequiredDescription
errorstringyes

post-api-ohn-v1-trust-suspensions-id-reinstate.response-422 defined inline

NameTypeRequiredDescription
errorstringyes
detailsobjectno

post-api-ohn-v1-trust-suspensions-id-reinstate.response-429 defined inline

NameTypeRequiredDescription
error"rate_limited"yes

post-api-ohn-v1-trust-suspensions-id-reinstate.response-503 defined inline

NameTypeRequiredDescription
error"dependency_unavailable"yes

post-api-ohn-v1-trust-workflows-id-transitions.response-401 defined inline

NameTypeRequiredDescription
error"unauthenticated"yes

post-api-ohn-v1-trust-workflows-id-transitions.response-403 defined inline

NameTypeRequiredDescription
error"denied_by_policy"yes

post-api-ohn-v1-trust-workflows-id-transitions.response-404 defined inline

NameTypeRequiredDescription
error"not_found"yes

post-api-ohn-v1-trust-workflows-id-transitions.response-409 defined inline

NameTypeRequiredDescription
errorstringyes

post-api-ohn-v1-trust-workflows-id-transitions.response-422 defined inline

NameTypeRequiredDescription
errorstringyes
detailsobjectno

post-api-ohn-v1-trust-workflows-id-transitions.response-429 defined inline

NameTypeRequiredDescription
error"rate_limited"yes

post-api-ohn-v1-trust-workflows-id-transitions.response-503 defined inline

NameTypeRequiredDescription
error"dependency_unavailable"yes

get-api-ohn-v1-trust-suspensions.response-401 defined inline

NameTypeRequiredDescription
error"unauthenticated"yes

get-api-ohn-v1-trust-suspensions.response-403 defined inline

NameTypeRequiredDescription
error"denied_by_policy"yes

get-api-ohn-v1-trust-suspensions.response-429 defined inline

NameTypeRequiredDescription
error"rate_limited"yes

get-api-ohn-v1-trust-suspensions.response-503 defined inline

NameTypeRequiredDescription
error"dependency_unavailable"yes

get-api-ohn-v1-trust-evidence.response-401 defined inline

NameTypeRequiredDescription
error"unauthenticated"yes

get-api-ohn-v1-trust-evidence.response-403 defined inline

NameTypeRequiredDescription
error"denied_by_policy"yes

get-api-ohn-v1-trust-evidence.response-429 defined inline

NameTypeRequiredDescription
error"rate_limited"yes

get-api-ohn-v1-trust-evidence.response-503 defined inline

NameTypeRequiredDescription
error"dependency_unavailable"yes

get-api-ohn-v1-trust-reports-id.response-401 defined inline

NameTypeRequiredDescription
error"unauthenticated"yes

get-api-ohn-v1-trust-reports-id.response-403 defined inline

NameTypeRequiredDescription
error"denied_by_policy"yes

get-api-ohn-v1-trust-reports-id.response-404 defined inline

NameTypeRequiredDescription
error"not_found"yes

get-api-ohn-v1-trust-reports-id.response-429 defined inline

NameTypeRequiredDescription
error"rate_limited"yes

get-api-ohn-v1-trust-reports-id.response-503 defined inline

NameTypeRequiredDescription
error"dependency_unavailable"yes

post-api-ohn-v1-trust-reports-id-export.response-401 defined inline

NameTypeRequiredDescription
error"unauthenticated"yes

post-api-ohn-v1-trust-reports-id-export.response-403 defined inline

NameTypeRequiredDescription
error"denied_by_policy"yes

post-api-ohn-v1-trust-reports-id-export.response-404 defined inline

NameTypeRequiredDescription
error"not_found"yes

post-api-ohn-v1-trust-reports-id-export.response-409 defined inline

NameTypeRequiredDescription
errorstringyes

post-api-ohn-v1-trust-reports-id-export.response-422 defined inline

NameTypeRequiredDescription
errorstringyes
detailsobjectno

post-api-ohn-v1-trust-reports-id-export.response-429 defined inline

NameTypeRequiredDescription
error"rate_limited"yes

post-api-ohn-v1-trust-reports-id-export.response-503 defined inline

NameTypeRequiredDescription
error"dependency_unavailable"yes

get-api-ohn-v1-trust-exports-token.response-401 defined inline

NameTypeRequiredDescription
error"unauthenticated"yes

get-api-ohn-v1-trust-exports-token.response-403 defined inline

NameTypeRequiredDescription
error"denied_by_policy"yes

get-api-ohn-v1-trust-exports-token.response-404 defined inline

NameTypeRequiredDescription
error"not_found"yes

get-api-ohn-v1-trust-exports-token.response-429 defined inline

NameTypeRequiredDescription
error"rate_limited"yes

get-api-ohn-v1-trust-exports-token.response-503 defined inline

NameTypeRequiredDescription
error"dependency_unavailable"yes