← All contracts
OHN-25 Integration Connectors and SDKs
- Version
- 1.0.0
- OpenAPI
- 3.1.0
- Source in the repository
modules/OHN-25/api/openapi.json- Servers
https://opeshealthnetwork.com/api/ohn/v1
- Authentication
bearer: http bearer
Download the contract (JSON)
Contracts are written in English.
Base path /api/ohn/v1. Every POST requires Idempotency-Key; mutations use expected_version. Routes default-deny on role AND purpose (connector_management). The connector stores references and counts only: no credentials, URLs or patient data. Validation failures are 422 domain_validation_failed with details = {field: code} (first failing check per field). Dependencies (OHN-45 credentials, OHN-39 endpoint trust, OHN-21 FHIR gateway) fail closed with 503 dependency_unavailable. The synthetic sign-in of the TypeScript reference (POST /connectors/synthetic-token) is not part of this contract: tokens come from the platform gateway.
Operations
OHN-25
GET/connectorsList connectors in the jurisdiction (P001/P002/P003)
Operation ID: listConnectors
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
state | query | string | no | |
health | query | string | no | |
partner | query | string (uuid) | no | |
cursor | query | string | no | Opaque cursor from next_cursor |
Responses
| Code | Description | Media type |
|---|
200 | OK | |
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/connectorsInstall a partner connector (OHN-25-API-001; F001; W001)
Operation ID: installConnector
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
201 | Installed | |
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
413 | Request body larger than 256 kB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
GET/connectors/statusFleet status summary and exceptions (P003)
Operation ID: connectorStatus
Authentication: bearer
Responses
| Code | Description | Media type |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
GET/connectors/{id}Connector detail with history and latest checks
Operation ID: getConnector
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Responses
| Code | Description | Media type |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/connectors/{id}/testCredential/trust check or synthetic dry run (OHN-25-API-002; P005/P006)
Operation ID: testConnector
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | OK | |
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
413 | Request body larger than 256 kB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
GET/connectors/{id}/healthConnector health with evidence (OHN-25-API-003)
Operation ID: connectorHealth
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Responses
| Code | Description | Media type |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/connectors/{id}/transitionsAdvance the install workflow (W001)
Operation ID: transitionConnector
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | OK | |
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
413 | Request body larger than 256 kB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
GET/connectors/{id}/mappingsMapping configuration history
Operation ID: listMappings
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Responses
| Code | Description | Media type |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/connectors/{id}/mappingsAdd a mapping configuration version (F002)
Operation ID: configureMapping
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
201 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
413 | Request body larger than 256 kB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
GET/connectors/{id}/sync-runsSynchronization runs
Operation ID: listSyncRuns
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Responses
| Code | Description | Media type |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/connectors/{id}/sync-runsRecord a synchronization run (W002)
Operation ID: recordSync
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
201 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
413 | Request body larger than 256 kB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
GET/connectors/{id}/upgradesUpgrades of a connector
Operation ID: listUpgrades
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Responses
| Code | Description | Media type |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/connectors/{id}/upgradesPropose an upgrade (F003; W003)
Operation ID: proposeUpgrade
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
201 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
413 | Request body larger than 256 kB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/connectors/{id}/upgrades/{uid}/transitionsAdvance an upgrade (W003)
Operation ID: advanceUpgrade
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string (uuid) | yes | |
uid | path | string (uuid) | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
413 | Request body larger than 256 kB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
GET/connectors/sdk-versionsSDK release registry
Operation ID: listSdkVersions
Authentication: bearer
Responses
| Code | Description | Media type |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/connectors/sdk-versionsRegister or update an SDK release
Operation ID: upsertSdkVersion
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
201 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
413 | Request body larger than 256 kB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
GET/connectors/policyRead policy (unset = fail closed)
Operation ID: readPolicy
Authentication: bearer
Responses
| Code | Description | Media type |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/connectors/policyWrite policy
Operation ID: writePolicy
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
413 | Request body larger than 256 kB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
GET/connectors/code-lists/{list}Read a controlled code list
Operation ID: listCodes
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
list | path | "connector_type" | "environment" | "retry_policy" | "sdk_language" | yes | |
Responses
| Code | Description | Media type |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/connectors/code-lists/{list}Upsert code list entries
Operation ID: upsertCodes
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
list | path | "connector_type" | "environment" | "retry_policy" | "sdk_language" | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
413 | Request body larger than 256 kB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/connectors/maintenance/drain-outboxDrain outbox (no sink: nothing marked delivered)
Operation ID: drainOutbox
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
Idempotency-Key | header | string | yes | |
Responses
| Code | Description | Media type |
|---|
200 | OK | |
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
413 | Request body larger than 256 kB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
GET/connectors/report-catalogReport catalogue
Operation ID: reportCatalog
Authentication: bearer
Responses
| Code | Description | Media type |
|---|
200 | OK | application/json: object
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
GET/connectors/reports/{reportId}Run OHN-25-R001..R003
Operation ID: runReport
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
reportId | path | "OHN-25-R001" | "OHN-25-R002" | "OHN-25-R003" | yes | |
partner | query | string (uuid) | no | |
version | query | string | no | R001/R002: connector release; R003: SDK version |
status | query | string | no | R001: connector health |
resource | query | string | no | R002: FHIR resource |
country | query | string | no | R003 |
language | query | string | no | R003 |
period_from | query | string | no | Narrows the synchronisation runs, not the connectors |
period_to | query | string | no | |
cursor | query | string | no | Opaque cursor (page size 100) |
Responses
| Code | Description | Media type |
|---|
200 | OK | |
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
POST/connectors/reports/{reportId}/exportCreate a signed single-use export
Operation ID: exportReport
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
reportId | path | "OHN-25-R001" | "OHN-25-R002" | "OHN-25-R003" | yes | |
Idempotency-Key | header | string | yes | |
Request body (required)
Responses
| Code | Description | Media type |
|---|
201 | OK | |
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
413 | Request body larger than 256 kB (payload_too_large) | — |
422 | Validation or domain refusal | |
429 | Rate limited | — |
503 | Dependency unavailable (fails closed) | — |
GET/connectors/exports/{token}Download an export once
Operation ID: downloadExport
Authentication: bearer
Parameters
| Name | In | Type | Required | Description |
|---|
token | path | string | yes | |
Responses
| Code | Description | Media type |
|---|
200 | The export file (attachment); single use | text/csv: string
application/pdf: string (binary)
|
400 | Malformed / missing Idempotency-Key | — |
401 | Unauthenticated | — |
403 | Role/purpose denied or separation of duties | — |
404 | Not found / out of scope | — |
409 | Version conflict, illegal transition or idempotency mismatch | |
410 | Export expired (export_expired) or already downloaded (export_consumed) | |
422 | Validation or domain refusal | |
429 | Rate limited | — |
500 | Export failed its integrity check (export_integrity_failed) | |
503 | Dependency unavailable (fails closed) | — |
GET/health/ohn-25Liveness and dependency modes
Operation ID: health
Responses
| Code | Description | Media type |
|---|
200 | OK | |
503 | Database unreachable | |
Schemas
Error
| Name | Type | Required | Description |
|---|
error | string | no | Stable machine code, e.g. domain_validation_failed, version_conflict, separation_of_duties, canary_not_proven. |
message | string | no | |
details | any | no | For validation failures: field name -> zod issue code (invalid_type, too_small, too_big, invalid_string, invalid_enum_value, unrecognized_keys under "_"), or a domain code such as not_in_jurisdiction_code_list. For refusals: evidence (current_version, runs, required_runs, ...). |
type | string | no | RFC 9457 problem type (Java service). |
title | string | no | |
status | integer | no | |
detail | string | no | |
trace_id | string | no | |
Connector
| Name | Type | Required | Description |
|---|
partner_org | string (uuid) | yes | |
connector_type | string | yes | |
version | string | yes | |
environment | string | yes | |
credentials_ref | string (uuid) | yes | |
fhir_endpoint | string (uuid) | yes | |
TestCommand
| Name | Type | Required | Description |
|---|
kind | "credentials" | "dry_run" | yes | |
sample_resource | "Patient" | "Observation" | "Encounter" | "Condition" | "Immunization" | no | |
Transition
| Name | Type | Required | Description |
|---|
to_state | "registered" | "credentials_checked" | "conformance_passed" | "approved" | "enabled" | yes | |
expected_version | integer | yes | |
reason | string | yes | |
Mapping
| Name | Type | Required | Description |
|---|
resource_profile | string (uuid) | yes | |
mapping_version | string | yes | |
retry_policy | string | yes | |
sync_schedule | string | yes | Numeric cron-style schedule; surrounding whitespace is trimmed before the length and pattern checks. |
expected_version | integer | yes | |
reason | string | yes | |
SyncRun
records_rejected must not exceed records_polled (422 details.records_rejected = exceeds_records_polled).
| Name | Type | Required | Description |
|---|
records_polled | integer | yes | |
records_rejected | integer | yes | |
lag_seconds | integer | yes | |
error_code | string | no | |
resource | string | no | |
Upgrade
| Name | Type | Required | Description |
|---|
to_version | string | yes | |
backward_compatibility_report | string (uuid) | yes | |
rollback_plan | string | yes | |
UpgradeStep
| Name | Type | Required | Description |
|---|
to_state | "compatibility_tested" | "canary" | "deployed" | "rolled_back" | yes | |
expected_version | integer | yes | |
reason | string | yes | |
SdkRelease
| Name | Type | Required | Description |
|---|
sdk | string | yes | |
language | string | yes | |
version | string | yes | |
country | string | yes | |
registered_clients | integer | yes | |
end_of_support | string | null | yes | Date (YYYY-MM-DD) after which the release is unsupported; null when no end is announced. The key is required. |
Policy
Thresholds are null until the jurisdiction decides them; while any is null, health is unknown, approval and deployment are refused (policy_not_configured). No default values exist.
| Name | Type | Required | Description |
|---|
max_lag_seconds | integer | null | yes | |
min_success_bp | integer | null | yes | |
canary_min_runs | integer | null | yes | |
approval_reference | string | yes | |
ExportCommand
| Name | Type | Required | Description |
|---|
format | "csv" | "pdf" | yes | |
filters | ReportFilters | no | |
CodeListEntry
| Name | Type | Required | Description |
|---|
code | string | yes | |
label_en | string | yes | |
label_fr | string | yes | |
active | boolean | no | |
ReportFilters
| Name | Type | Required | Description |
|---|
partner | string (uuid) | no | |
version | string | no | |
status | string | no | |
resource | string | no | |
country | string | no | |
language | string | no | |
period_from | string | no | |
period_to | string | no | |
Receipt
| Name | Type | Required | Description |
|---|
receipt_id | string (uuid) | yes | |
committed_at | string (date-time) | yes | |
aggregate_id | string | yes | |
version | integer | yes | |
status | "committed" | "denied" | yes | |
ConnectorView
| Name | Type | Required | Description |
|---|
id | string (uuid) | no | |
partner_org | string (uuid) | no | |
connector_type | string | no | |
version | integer | no | Row version used as expected_version. |
connector_version | string | no | Installed connector release (semver). |
environment | string | no | |
credentials_ref | string (uuid) | no | |
fhir_endpoint | string (uuid) | no | |
state | "registered" | "credentials_checked" | "conformance_passed" | "approved" | "enabled" | no | |
health | "unknown" | "healthy" | "degraded" | no | |
installed_by | string (uuid) | no | |
approved_by | string | null (uuid) | no | |
last_sync_at | string | null (date-time) | no | |
created_at | string (date-time) | no | |
updated_at | string (date-time) | no | |
provenance | ConnectorView.provenance | no | |
ConnectorList
| Name | Type | Required | Description |
|---|
items | array of ConnectorView | no | |
next_cursor | string | null | no | Opaque; pass as ?cursor= for the next page (page size 50). |
HealthCheck
| Name | Type | Required | Description |
|---|
id | string (uuid) | no | |
kind | "credentials" | "trust" | "dry_run" | no | |
passed | boolean | no | |
detail_code | string | no | |
checked_by | string (uuid) | no | |
checked_at | string (date-time) | no | |
TestResult
| Name | Type | Required | Description |
|---|
connector_id | string (uuid) | no | |
kind | "credentials" | "dry_run" | no | |
passed | boolean | no | |
checks | array of HealthCheck | no | |
preview | object | null | no | Dry run only: {synthetic:true, resource_type, payload}. The payload is a fixed SYNTHETIC sample, never real data. |
receipt | Receipt | no | |
ReportResult
| Name | Type | Required | Description |
|---|
report_id | "OHN-25-R001" | "OHN-25-R002" | "OHN-25-R003" | no | |
title | string | no | |
columns | array of string | no | |
rows | array of object | no | |
summary | object | no | |
state | "rendered" | "no_authorized_data" | no | |
generated_at | string (date-time) | no | |
next_cursor | string | null | no | |
ExportReceipt
| Name | Type | Required | Description |
|---|
export_id | string (uuid) | no | |
report_id | string | no | |
format | "csv" | "pdf" | no | |
rows | integer | no | |
expires_at | string (date-time) | no | |
single_use | true | no | |
download_path | string | no | /api/ohn/v1/connectors/exports/{token}; valid for 5 minutes, once, for the requesting principal only. |
receipt | Receipt | no | |
DrainResult
No sink is configured by this endpoint: nothing is ever marked delivered here. Events are relayed from the platform outbox.
| Name | Type | Required | Description |
|---|
delivered | 0 | no | |
pending | integer | no | |
get-health-ohn-25.response-200 defined inline
| Name | Type | Required | Description |
|---|
status | "ok" | no | |
module | "OHN-25" | no | |
dependencies | object | no | mode of the OHN-45 (ohn45), OHN-39 (ohn39) and OHN-21 (ohn21) gateways: synthetic | unconfigured | live |
get-health-ohn-25.response-503 defined inline
| Name | Type | Required | Description |
|---|
status | "unavailable" | no | |
ConnectorView.provenance defined inline
| Name | Type | Required | Description |
|---|
source_system_id | string (uuid) | no | |
provenance_ref | string (uuid) | no | |