← Tous les contrats
OHN-25 Integration Connectors and SDKs
- Version
- 1.0.0
- OpenAPI
- 3.1.0
- Source dans le dépôt
modules/OHN-25/api/openapi.json- Serveurs
https://opeshealthnetwork.com/api/ohn/v1
- Authentification
bearer: http bearer
Télécharger le contrat (JSON)
Les contrats sont rédigés en anglais.
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.
Opérations
OHN-25
GET/connectorsList connectors in the jurisdiction (P001/P002/P003)
Identifiant d’opération: listConnectors
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
state | query | string | non | |
health | query | string | non | |
partner | query | string (uuid) | non | |
cursor | query | string | non | Opaque cursor from next_cursor |
Réponses
| Code | Description | Type de média |
|---|
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)
Identifiant d’opération: installConnector
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
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)
Identifiant d’opération: connectorStatus
Authentification: bearer
Réponses
| Code | Description | Type de média |
|---|
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
Identifiant d’opération: getConnector
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Réponses
| Code | Description | Type de média |
|---|
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)
Identifiant d’opération: testConnector
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
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)
Identifiant d’opération: connectorHealth
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Réponses
| Code | Description | Type de média |
|---|
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)
Identifiant d’opération: transitionConnector
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
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
Identifiant d’opération: listMappings
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Réponses
| Code | Description | Type de média |
|---|
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)
Identifiant d’opération: configureMapping
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
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
Identifiant d’opération: listSyncRuns
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Réponses
| Code | Description | Type de média |
|---|
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)
Identifiant d’opération: recordSync
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
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
Identifiant d’opération: listUpgrades
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Réponses
| Code | Description | Type de média |
|---|
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)
Identifiant d’opération: proposeUpgrade
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
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)
Identifiant d’opération: advanceUpgrade
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
uid | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
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
Identifiant d’opération: listSdkVersions
Authentification: bearer
Réponses
| Code | Description | Type de média |
|---|
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
Identifiant d’opération: upsertSdkVersion
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
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)
Identifiant d’opération: readPolicy
Authentification: bearer
Réponses
| Code | Description | Type de média |
|---|
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
Identifiant d’opération: writePolicy
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
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
Identifiant d’opération: listCodes
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
list | path | "connector_type" | "environment" | "retry_policy" | "sdk_language" | oui | |
Réponses
| Code | Description | Type de média |
|---|
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
Identifiant d’opération: upsertCodes
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
list | path | "connector_type" | "environment" | "retry_policy" | "sdk_language" | oui | |
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
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)
Identifiant d’opération: drainOutbox
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | |
Réponses
| Code | Description | Type de média |
|---|
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
Identifiant d’opération: reportCatalog
Authentification: bearer
Réponses
| Code | Description | Type de média |
|---|
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
Identifiant d’opération: runReport
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
reportId | path | "OHN-25-R001" | "OHN-25-R002" | "OHN-25-R003" | oui | |
partner | query | string (uuid) | non | |
version | query | string | non | R001/R002: connector release; R003: SDK version |
status | query | string | non | R001: connector health |
resource | query | string | non | R002: FHIR resource |
country | query | string | non | R003 |
language | query | string | non | R003 |
period_from | query | string | non | Narrows the synchronisation runs, not the connectors |
period_to | query | string | non | |
cursor | query | string | non | Opaque cursor (page size 100) |
Réponses
| Code | Description | Type de média |
|---|
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
Identifiant d’opération: exportReport
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
reportId | path | "OHN-25-R001" | "OHN-25-R002" | "OHN-25-R003" | oui | |
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
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
Identifiant d’opération: downloadExport
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
token | path | string | oui | |
Réponses
| Code | Description | Type de média |
|---|
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
Identifiant d’opération: health
Réponses
| Code | Description | Type de média |
|---|
200 | OK | |
503 | Database unreachable | |
Schémas
Error
| Nom | Type | Obligatoire | Description |
|---|
error | string | non | Stable machine code, e.g. domain_validation_failed, version_conflict, separation_of_duties, canary_not_proven. |
message | string | non | |
details | any | non | 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 | non | RFC 9457 problem type (Java service). |
title | string | non | |
status | integer | non | |
detail | string | non | |
trace_id | string | non | |
Connector
| Nom | Type | Obligatoire | Description |
|---|
partner_org | string (uuid) | oui | |
connector_type | string | oui | |
version | string | oui | |
environment | string | oui | |
credentials_ref | string (uuid) | oui | |
fhir_endpoint | string (uuid) | oui | |
TestCommand
| Nom | Type | Obligatoire | Description |
|---|
kind | "credentials" | "dry_run" | oui | |
sample_resource | "Patient" | "Observation" | "Encounter" | "Condition" | "Immunization" | non | |
Transition
| Nom | Type | Obligatoire | Description |
|---|
to_state | "registered" | "credentials_checked" | "conformance_passed" | "approved" | "enabled" | oui | |
expected_version | integer | oui | |
reason | string | oui | |
Mapping
| Nom | Type | Obligatoire | Description |
|---|
resource_profile | string (uuid) | oui | |
mapping_version | string | oui | |
retry_policy | string | oui | |
sync_schedule | string | oui | Numeric cron-style schedule; surrounding whitespace is trimmed before the length and pattern checks. |
expected_version | integer | oui | |
reason | string | oui | |
SyncRun
records_rejected must not exceed records_polled (422 details.records_rejected = exceeds_records_polled).
| Nom | Type | Obligatoire | Description |
|---|
records_polled | integer | oui | |
records_rejected | integer | oui | |
lag_seconds | integer | oui | |
error_code | string | non | |
resource | string | non | |
Upgrade
| Nom | Type | Obligatoire | Description |
|---|
to_version | string | oui | |
backward_compatibility_report | string (uuid) | oui | |
rollback_plan | string | oui | |
UpgradeStep
| Nom | Type | Obligatoire | Description |
|---|
to_state | "compatibility_tested" | "canary" | "deployed" | "rolled_back" | oui | |
expected_version | integer | oui | |
reason | string | oui | |
SdkRelease
| Nom | Type | Obligatoire | Description |
|---|
sdk | string | oui | |
language | string | oui | |
version | string | oui | |
country | string | oui | |
registered_clients | integer | oui | |
end_of_support | string | null | oui | 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.
| Nom | Type | Obligatoire | Description |
|---|
max_lag_seconds | integer | null | oui | |
min_success_bp | integer | null | oui | |
canary_min_runs | integer | null | oui | |
approval_reference | string | oui | |
ExportCommand
| Nom | Type | Obligatoire | Description |
|---|
format | "csv" | "pdf" | oui | |
filters | ReportFilters | non | |
CodeListEntry
| Nom | Type | Obligatoire | Description |
|---|
code | string | oui | |
label_en | string | oui | |
label_fr | string | oui | |
active | boolean | non | |
ReportFilters
| Nom | Type | Obligatoire | Description |
|---|
partner | string (uuid) | non | |
version | string | non | |
status | string | non | |
resource | string | non | |
country | string | non | |
language | string | non | |
period_from | string | non | |
period_to | string | non | |
Receipt
| Nom | Type | Obligatoire | Description |
|---|
receipt_id | string (uuid) | oui | |
committed_at | string (date-time) | oui | |
aggregate_id | string | oui | |
version | integer | oui | |
status | "committed" | "denied" | oui | |
ConnectorView
| Nom | Type | Obligatoire | Description |
|---|
id | string (uuid) | non | |
partner_org | string (uuid) | non | |
connector_type | string | non | |
version | integer | non | Row version used as expected_version. |
connector_version | string | non | Installed connector release (semver). |
environment | string | non | |
credentials_ref | string (uuid) | non | |
fhir_endpoint | string (uuid) | non | |
state | "registered" | "credentials_checked" | "conformance_passed" | "approved" | "enabled" | non | |
health | "unknown" | "healthy" | "degraded" | non | |
installed_by | string (uuid) | non | |
approved_by | string | null (uuid) | non | |
last_sync_at | string | null (date-time) | non | |
created_at | string (date-time) | non | |
updated_at | string (date-time) | non | |
provenance | ConnectorView.provenance | non | |
ConnectorList
| Nom | Type | Obligatoire | Description |
|---|
items | array of ConnectorView | non | |
next_cursor | string | null | non | Opaque; pass as ?cursor= for the next page (page size 50). |
HealthCheck
| Nom | Type | Obligatoire | Description |
|---|
id | string (uuid) | non | |
kind | "credentials" | "trust" | "dry_run" | non | |
passed | boolean | non | |
detail_code | string | non | |
checked_by | string (uuid) | non | |
checked_at | string (date-time) | non | |
TestResult
| Nom | Type | Obligatoire | Description |
|---|
connector_id | string (uuid) | non | |
kind | "credentials" | "dry_run" | non | |
passed | boolean | non | |
checks | array of HealthCheck | non | |
preview | object | null | non | Dry run only: {synthetic:true, resource_type, payload}. The payload is a fixed SYNTHETIC sample, never real data. |
receipt | Receipt | non | |
ReportResult
| Nom | Type | Obligatoire | Description |
|---|
report_id | "OHN-25-R001" | "OHN-25-R002" | "OHN-25-R003" | non | |
title | string | non | |
columns | array of string | non | |
rows | array of object | non | |
summary | object | non | |
state | "rendered" | "no_authorized_data" | non | |
generated_at | string (date-time) | non | |
next_cursor | string | null | non | |
ExportReceipt
| Nom | Type | Obligatoire | Description |
|---|
export_id | string (uuid) | non | |
report_id | string | non | |
format | "csv" | "pdf" | non | |
rows | integer | non | |
expires_at | string (date-time) | non | |
single_use | true | non | |
download_path | string | non | /api/ohn/v1/connectors/exports/{token}; valid for 5 minutes, once, for the requesting principal only. |
receipt | Receipt | non | |
DrainResult
No sink is configured by this endpoint: nothing is ever marked delivered here. Events are relayed from the platform outbox.
| Nom | Type | Obligatoire | Description |
|---|
delivered | 0 | non | |
pending | integer | non | |
get-health-ohn-25.response-200 défini sur place
| Nom | Type | Obligatoire | Description |
|---|
status | "ok" | non | |
module | "OHN-25" | non | |
dependencies | object | non | mode of the OHN-45 (ohn45), OHN-39 (ohn39) and OHN-21 (ohn21) gateways: synthetic | unconfigured | live |
get-health-ohn-25.response-503 défini sur place
| Nom | Type | Obligatoire | Description |
|---|
status | "unavailable" | non | |
ConnectorView.provenance défini sur place
| Nom | Type | Obligatoire | Description |
|---|
source_system_id | string (uuid) | non | |
provenance_ref | string (uuid) | non | |