Aller au contenu

← Tous les contrats

OHN-20 Privacy and Information Governance

Version
1.0.0
OpenAPI
3.1.0
Source dans le dépôt
modules/OHN-20/api/openapi.yaml
Serveurs
https://opeshealthnetwork.com
Authentification
bearerAuth: http bearer (JWT)

Télécharger le contrat (YAML)

Les contrats sont rédigés en anglais.

Register of processing activities, legal roles (controller / processor chain), approved purposes, privacy impact assessments, privacy notices, cross-border transfer reviews and privacy incidents, plus jurisdiction privacy configuration, reports with signed one-time exports, and machine contracts for OHN-48 (retention decisions) and gateways (transfer decisions). All routes live under /api/ohn/v1/privacy-governance and are scoped to the token jurisdiction. Every POST requires an Idempotency-Key header (1-255 characters; a replay returns the stored answer; reuse with another body is 409 idempotency_conflict). Version-checked writes take expected_version and answer 409 concurrent_mutation when stale. Default deny. Policy values (code lists, incident response window, transfer corridors) are jurisdiction configuration: when absent the operation fails closed (503 not_configured, setting names what is missing). Roles: privacy_officer and jurisdiction_administrator (stewards), privacy_service (read-only machine role for the service reads), unauthorized_viewer (always refused). Policy configuration and outbox dispatch are jurisdiction_administrator only. Java: tokens are issued by the gateway (ES256, audience ohn-20); the TypeScript synthetic sign-in helper is not part of this contract. Synthetic data only.

Opérations

config

GET/api/ohn/v1/privacy-governance/config

Controlled values, policy settings, corridors, retention rules, readiness flags and the list of missing settings.

Identifiant d’opération: ohn20_getConfig

Authentification: bearerAuth

Réponses

CodeDescriptionType de média
200Jurisdiction configuration
application/json: JsonObject
403denied_by_policy, jurisdiction_out_of_scope, separation_of_duties or pdp_denied—
POST/api/ohn/v1/privacy-governance/config/controlled-values

jurisdiction_administrator. Creates or updates one code of a jurisdiction code list; an update increments version; emits privacy.policy.changed.

Identifiant d’opération: ohn20_upsertControlledValue

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
201Controlled value with receipt and events
application/json: JsonObject
403denied_by_policy, jurisdiction_out_of_scope, separation_of_duties or pdp_denied—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
POST/api/ohn/v1/privacy-governance/config/policy-settings

jurisdiction_administrator. expected_version 0 creates the settings; later writes need the current policy_version. incident_response_hours is required but may be null (clock not configured).

Identifiant d’opération: ohn20_setPolicySettings

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
200Policy settings with receipt and events
application/json: JsonObject
409concurrent_mutation, invalid_transition, duplicate, idempotency_conflict or request_in_progress—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
POST/api/ohn/v1/privacy-governance/config/transfer-corridors

jurisdiction_administrator. Approves or suspends a corridor to a destination jurisdiction. The destination must differ from the token jurisdiction; approving needs the destination active in OHN-01.

Identifiant d’opération: ohn20_setTransferCorridor

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
201Corridor with receipt and events
application/json: JsonObject
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
503not_configured (setting names what is missing) or dependency_unavailable (OHN-01, OHN-07, OHN-16, OHN-24); nothing written—
POST/api/ohn/v1/privacy-governance/config/retention-rules

jurisdiction_administrator. Sets the retention rule of a record class; legal_basis must be an active legal_basis code.

Identifiant d’opération: ohn20_setRetentionRule

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
201Retention rule with receipt and events
application/json: JsonObject
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
503not_configured (setting names what is missing) or dependency_unavailable (OHN-01, OHN-07, OHN-16, OHN-24); nothing written—
GET/api/ohn/v1/privacy-governance/retention-decisions

OHN-48 contract ohn20.retention-decision/1.0.0. Always 200 with permit or deny; every decision is audited and decision_ref is its receipt id. Unknown query parameters are refused (422).

Identifiant d’opération: ohn20_getRetentionDecision

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
jurisdiction_idquerystringnonRequired uuid; must equal the token jurisdiction (403 jurisdiction_out_of_scope)
organization_idquerystringnonRequired uuid
record_classquerystringnonRequired code
operationquerystringnonRequired: policy_approval or disposal
retention_yearsquerystringnonRequired number 0..200
record_set_refquerystringnonOptional uuid

Réponses

CodeDescriptionType de média
200Decision
application/json: JsonObject
403denied_by_policy, jurisdiction_out_of_scope, separation_of_duties or pdp_denied—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—

register

GET/api/ohn/v1/privacy-governance/processing-register

OHN-20-API-001. Paged register of processing activities (service reads allowed for privacy_service).

Identifiant d’opération: ohn20_listProcessingRegister

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
limitquerystringnonClamped to 1..100, default 25
offsetquerystringnon
statusquerystringnon
purposequerystringnon
controllerquerystringnon
retention_policyquerystringnon
qquerystringnonCase-insensitive search in data_categories
sortquerystringnoncreated_at (default), updated_at, status, processing_purpose
orderquerystringnonasc or desc (default)

Réponses

CodeDescriptionType de média
200Page with total
application/json: JsonObject
POST/api/ohn/v1/privacy-governance/processing-activities

Form OHN-20-F001. Registers an activity as draft (W001).

Identifiant d’opération: ohn20_createProcessingActivity

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
201Activity with receipt
application/json: JsonObject
403denied_by_policy, jurisdiction_out_of_scope, separation_of_duties or pdp_denied—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
503not_configured (setting names what is missing) or dependency_unavailable (OHN-01, OHN-07, OHN-16, OHN-24); nothing written—
GET/api/ohn/v1/privacy-governance/processing-activities/{id}

Identifiant d’opération: ohn20_getProcessingActivity

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstringouiuuid; anything else is 404

Réponses

CodeDescriptionType de média
200Activity with roles, assessments, transfers, history (reduced for privacy_service), next_state and lifecycle
application/json: JsonObject
404not_found—
POST/api/ohn/v1/privacy-governance/processing-activities/{id}/transitions

W001 draft, lawful_basis_reviewed, risk_assessed, authorized, monitored; one step at a time with guards; authorizing needs OHN-07 membership and an OHN-16 permit.

Identifiant d’opération: ohn20_transitionProcessingActivity

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstringouiuuid; anything else is 404
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
200Transition committed with receipt and events
application/json: JsonObject
409concurrent_mutation, invalid_transition, duplicate, idempotency_conflict or request_in_progress—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
503not_configured (setting names what is missing) or dependency_unavailable (OHN-01, OHN-07, OHN-16, OHN-24); nothing written—
GET/api/ohn/v1/privacy-governance/retention-references/{retention}

OHN-48 contract. Activities that rely on a retention schedule.

Identifiant d’opération: ohn20_getRetentionReferences

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
retentionpathstringoui

Réponses

CodeDescriptionType de média
200References
application/json: JsonObject
404not_found—
GET/api/ohn/v1/privacy-governance/data-flows

OHN-20-P005. Activities as nodes and edges (controller, processor, sub-processors, cross-border destinations).

Identifiant d’opération: ohn20_listDataFlows

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
limitquerystringnon
offsetquerystringnon
statusquerystringnon
qquerystringnon
destinationquerystringnon

Réponses

CodeDescriptionType de média
200Page with total
application/json: JsonObject

roles

POST/api/ohn/v1/privacy-governance/legal-roles

Identifiant d’opération: ohn20_assignLegalRole

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
201Assignment with receipt
application/json: JsonObject
404not_found—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
503not_configured (setting names what is missing) or dependency_unavailable (OHN-01, OHN-07, OHN-16, OHN-24); nothing written—
POST/api/ohn/v1/privacy-governance/legal-roles/{id}/revoke

Identifiant d’opération: ohn20_revokeLegalRole

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstringouiuuid; anything else is 404
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
200Revoked assignment with receipt
application/json: JsonObject
404not_found—
409concurrent_mutation, invalid_transition, duplicate, idempotency_conflict or request_in_progress—
GET/api/ohn/v1/privacy-governance/role-matrix

Identifiant d’opération: ohn20_getRoleMatrix

Authentification: bearerAuth

Réponses

CodeDescriptionType de média
200Activities by legal role with gaps (accountable_controller_missing, processor_chain_undocumented)
application/json: JsonObject

purposes

GET/api/ohn/v1/privacy-governance/purposes

Identifiant d’opération: ohn20_listPurposes

Authentification: bearerAuth

Réponses

CodeDescriptionType de média
200Approved purposes (max 500)
application/json: JsonObject
POST/api/ohn/v1/privacy-governance/purposes

Identifiant d’opération: ohn20_approvePurpose

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
201Purpose with receipt and events
application/json: JsonObject
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
503not_configured (setting names what is missing) or dependency_unavailable (OHN-01, OHN-07, OHN-16, OHN-24); nothing written—
POST/api/ohn/v1/privacy-governance/purposes/{id}/retire

Identifiant d’opération: ohn20_retirePurpose

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstringouiuuid; anything else is 404
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
200Retired purpose with receipt and events
application/json: JsonObject
404not_found—
409concurrent_mutation, invalid_transition, duplicate, idempotency_conflict or request_in_progress—

assessments

GET/api/ohn/v1/privacy-governance/assessments

OHN-20-P002 list.

Identifiant d’opération: ohn20_listAssessments

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
limitquerystringnon
offsetquerystringnon
approval_statequerystringnon
risk_ratingquerystringnon
processing_activity_idquerystringnon

Réponses

CodeDescriptionType de média
200Page with total
application/json: JsonObject
POST/api/ohn/v1/privacy-governance/assessments

Form OHN-20-F002 (OHN-20-API-002). Approval is never client-asserted; only draft or submitted are accepted.

Identifiant d’opération: ohn20_createAssessment

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
201Assessment with receipt
application/json: JsonObject
404not_found—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
GET/api/ohn/v1/privacy-governance/assessments/{id}

Identifiant d’opération: ohn20_getAssessment

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstringouiuuid; anything else is 404

Réponses

CodeDescriptionType de média
200Assessment with activity, previous assessments, history and can_decide
application/json: JsonObject
404not_found—
POST/api/ohn/v1/privacy-governance/assessments/{id}/decision

Submit, approve or reject. The reviewer must differ from the submitter (403 separation_of_duties). Approving needs risk_rating and emits privacy.assessment.approved.

Identifiant d’opération: ohn20_decideAssessment

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstringouiuuid; anything else is 404
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
200Assessment with receipt and events
application/json: JsonObject
403denied_by_policy, jurisdiction_out_of_scope, separation_of_duties or pdp_denied—
409concurrent_mutation, invalid_transition, duplicate, idempotency_conflict or request_in_progress—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—

transfers

GET/api/ohn/v1/privacy-governance/transfers

Identifiant d’opération: ohn20_listTransfers

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
limitquerystringnon
offsetquerystringnon
statequerystringnon
outcomequerystringnon
destinationquerystringnon

Réponses

CodeDescriptionType de média
200Page with total
application/json: JsonObject
POST/api/ohn/v1/privacy-governance/transfers/review

Form OHN-20-F003 (OHN-20-API-003). Opens W002 at requested; origin_jurisdiction must equal the token jurisdiction.

Identifiant d’opération: ohn20_requestTransferReview

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
201Transfer review with receipt
application/json: JsonObject
403denied_by_policy, jurisdiction_out_of_scope, separation_of_duties or pdp_denied—
404not_found—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
503not_configured (setting names what is missing) or dependency_unavailable (OHN-01, OHN-07, OHN-16, OHN-24); nothing written—
GET/api/ohn/v1/privacy-governance/transfers/{id}

Identifiant d’opération: ohn20_getTransfer

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstringouiuuid; anything else is 404

Réponses

CodeDescriptionType de média
200Transfer with corridor, activity, history, next_state and lifecycle
application/json: JsonObject
404not_found—
POST/api/ohn/v1/privacy-governance/transfers/{id}/transitions

W002 requested, residency_checked, legal_approval, purpose_limited, logged_or_denied. decision deny closes the review as denied. The final authorization needs an OHN-16 permit and (by policy) a distinct authorizer.

Identifiant d’opération: ohn20_transitionTransfer

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstringouiuuid; anything else is 404
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
200Transfer with receipt and events
application/json: JsonObject
403denied_by_policy, jurisdiction_out_of_scope, separation_of_duties or pdp_denied—
409concurrent_mutation, invalid_transition, duplicate, idempotency_conflict or request_in_progress—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
503not_configured (setting names what is missing) or dependency_unavailable (OHN-01, OHN-07, OHN-16, OHN-24); nothing written—
GET/api/ohn/v1/privacy-governance/transfer-decisions

Machine contract for gateways. Always 200 with allow or deny (default deny).

Identifiant d’opération: ohn20_getTransferDecision

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
destination_jurisdictionquerystringnonRequired uuid
processing_activity_idquerystringnonRequired uuid

Réponses

CodeDescriptionType de média
200Decision
application/json: JsonObject
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—

notices

GET/api/ohn/v1/privacy-governance/notices

Identifiant d’opération: ohn20_listNotices

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
statusquerystringnon

Réponses

CodeDescriptionType de média
200Notices (max 500)
application/json: JsonObject
POST/api/ohn/v1/privacy-governance/notices

Form OHN-20-F004. A notice version and language is unique per organization (409 duplicate).

Identifiant d’opération: ohn20_createNotice

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
201Notice with receipt
application/json: JsonObject
409concurrent_mutation, invalid_transition, duplicate, idempotency_conflict or request_in_progress—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
503not_configured (setting names what is missing) or dependency_unavailable (OHN-01, OHN-07, OHN-16, OHN-24); nothing written—
GET/api/ohn/v1/privacy-governance/notices/{id}

Identifiant d’opération: ohn20_getNotice

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstringouiuuid; anything else is 404

Réponses

CodeDescriptionType de média
200Notice with history, next_state and lifecycle
application/json: JsonObject
404not_found—
POST/api/ohn/v1/privacy-governance/notices/{id}/transitions

draft, impact_reviewed, legally_reviewed, effective, retired; effective needs an active publication channel; effective and retired emit privacy.policy.changed.

Identifiant d’opération: ohn20_transitionNotice

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstringouiuuid; anything else is 404
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
200Notice with receipt and events
application/json: JsonObject
409concurrent_mutation, invalid_transition, duplicate, idempotency_conflict or request_in_progress—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—

incidents

GET/api/ohn/v1/privacy-governance/incidents

Identifiant d’opération: ohn20_listIncidents

Authentification: bearerAuth

Réponses

CodeDescriptionType de média
200Incidents (max 500) with clock_status
application/json: JsonObject
POST/api/ohn/v1/privacy-governance/incidents

Opens W003 at incident_reported. The response clock exists only when the jurisdiction configured incident_response_hours.

Identifiant d’opération: ohn20_reportIncident

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
201Incident with receipt
application/json: JsonObject
404not_found—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—
GET/api/ohn/v1/privacy-governance/incidents/{id}

Identifiant d’opération: ohn20_getIncident

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstringouiuuid; anything else is 404

Réponses

CodeDescriptionType de média
200Incident with history, next_state and lifecycle
application/json: JsonObject
404not_found—
POST/api/ohn/v1/privacy-governance/incidents/{id}/transitions

W003 incident_reported, triaged, impact_evaluated, notification_decision, remediated. notification_required must be decided explicitly at notification_decision.

Identifiant d’opération: ohn20_transitionIncident

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstringouiuuid; anything else is 404
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
200Incident with receipt
application/json: JsonObject
409concurrent_mutation, invalid_transition, duplicate, idempotency_conflict or request_in_progress—
422domain_validation_failed (details per field), workflow_refused (guard), organization_not_member, jurisdiction_not_active or code_not_recognized—

reports

GET/api/ohn/v1/privacy-governance/reports

Identifiant d’opération: ohn20_listReports

Authentification: bearerAuth

Réponses

CodeDescriptionType de média
200Report definitions
application/json: JsonObject
GET/api/ohn/v1/privacy-governance/reports/{id}

Identifiant d’opération: ohn20_getReport

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstringouiOHN-20-R001, OHN-20-R002 or OHN-20-R003; anything else is 404
purposequerystringnon
controllerquerystringnon
statusquerystringnon
riskquerystringnon
fromquerystringnon
toquerystringnon
countryquerystringnon

Réponses

CodeDescriptionType de média
200Report rows, metrics, metric definitions and provenance
application/json: JsonObject
404not_found—
POST/api/ohn/v1/privacy-governance/reports/{id}/export

Identifiant d’opération: ohn20_createExport

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
idpathstringouiOHN-20-R001, OHN-20-R002 or OHN-20-R003; anything else is 404
Idempotency-Keyheaderstringoui

Corps de la requête (obligatoire)

Réponses

CodeDescriptionType de média
201HMAC-signed export with one-time retrieval path
application/json: JsonObject
404not_found—
503not_configured (export signing key missing); nothing generated—
GET/api/ohn/v1/privacy-governance/exports/{token}

One time, five minutes, bound to the requesting principal and jurisdiction.

Identifiant d’opération: ohn20_downloadExport

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
tokenpathstringoui

Réponses

CodeDescriptionType de média
200CSV or PDF body with X-OHN20-Signature header
text/csv: string (binary)
application/pdf: string (binary)
404not_found—
503not_configured (setting names what is missing) or dependency_unavailable (OHN-01, OHN-07, OHN-16, OHN-24); nothing written—

operations

GET/api/ohn/v1/privacy-governance/dashboard

Identifiant d’opération: ohn20_getDashboard

Authentification: bearerAuth

Réponses

CodeDescriptionType de média
200KPIs, distributions, 30-day trend, exceptions and dependency modes
application/json: JsonObject
GET/api/ohn/v1/privacy-governance/audit

Identifiant d’opération: ohn20_listAudit

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
limitquerystringnon
offsetquerystringnon
resource_idquerystringnon

Réponses

CodeDescriptionType de média
200Audit receipts of the jurisdiction (append-only)
application/json: JsonObject
GET/api/ohn/v1/privacy-governance/outbox

Identifiant d’opération: ohn20_listOutbox

Authentification: bearerAuth

Réponses

CodeDescriptionType de média
200Pending and delivered events and the OHN-24 sink mode
application/json: JsonObject
POST/api/ohn/v1/privacy-governance/outbox/dispatch

jurisdiction_administrator. At-least-once relay of pending events to OHN-24; a failed delivery stays pending. The body is optional.

Identifiant d’opération: ohn20_dispatchOutbox

Authentification: bearerAuth

Paramètres

NomEmplacementTypeObligatoireDescription
Idempotency-Keyheaderstringoui

Corps de la requête

Réponses

CodeDescriptionType de média
200delivered, failed, pending_after and receipt
application/json: JsonObject
503not_configured (setting names what is missing) or dependency_unavailable (OHN-01, OHN-07, OHN-16, OHN-24); nothing written—

Autres opérations

GET/health/ohn-20

Identifiant d’opération: ohn20_health

Réponses

CodeDescriptionType de média
200Database reachable; dependency modes and flags
application/json: JsonObject
503Database unavailable—
GET/api/ohn/v1/privacy-governance/health

Identifiant d’opération: ohn20_externalHealth

Réponses

CodeDescriptionType de média
200Liveness
application/json: JsonObject

Schémas

JsonObject

object

Code

string

ControlledValueCommand

NomTypeObligatoireDescription
list_name"processing_purpose" | "legal_basis" | "publication_channel" | "volume_class"oui
codeCodeoui
label_enstringoui
label_frstringoui
activebooleannon

PolicySettingsCommand

NomTypeObligatoireDescription
expected_versionintegeroui
incident_response_hoursinteger | nullnonMust be present; null means the response clock is not configured (checked by the service, since the generated model cannot tell absent from null)
require_distinct_authorizerbooleanoui

TransferCorridorCommand

NomTypeObligatoireDescription
destination_jurisdictionstring (uuid)oui
legal_authority_refstring (uuid)oui
safeguard_refstring (uuid)oui
status"approved" | "suspended"non
valid_untilstringnon

RetentionRuleCommand

NomTypeObligatoireDescription
record_classCodeoui
legal_basisCodeoui
min_retention_yearsintegeroui
status"active" | "retired"non

ProcessingActivityCommand

NomTypeObligatoireDescription
jurisdiction_idstring (uuid)oui
controller_orgstring (uuid)oui
processor_orgstring (uuid)nonMust differ from controller_org
processing_purposeCodeoui
legal_basisCodeoui
data_categoriesstringoui
retention_policystring (uuid)oui

WorkflowTransitionCommand

NomTypeObligatoireDescription
expected_versionintegeroui
to_statestringoui
evidence_refstring (uuid)oui
reasonstringoui
decision"advance" | "deny"non
notification_requiredbooleannon

LegalRoleCommand

NomTypeObligatoireDescription
processing_activity_idstring (uuid)oui
legal_role"controller" | "joint_controller" | "processor" | "sub_processor"oui
party_orgstring (uuid)oui
accountable_personstring (uuid)oui
parent_assignment_idstring (uuid)nonRequired for sub_processor and forbidden otherwise

VersionedReasonCommand

NomTypeObligatoireDescription
expected_versionintegeroui
reasonstringoui

DisclosurePurposeCommand

NomTypeObligatoireDescription
controller_orgstring (uuid)oui
processor_orgstring (uuid)non
processing_purposeCodeoui
legal_basisCodeoui
data_categoriesstringoui
retention_policystring (uuid)oui

AssessmentCommand

NomTypeObligatoireDescription
processing_activity_idstring (uuid)oui
risk_descriptionstringoui
threat_categoriesstringoui
mitigationsstringoui
owner_idstring (uuid)oui
approval_state"draft" | "submitted"oui

AssessmentDecisionCommand

NomTypeObligatoireDescription
expected_versionintegeroui
decision"submitted" | "approved" | "rejected"oui
risk_rating"low" | "medium" | "high"nonRequired to approve
evidence_refstring (uuid)oui
reasonstringoui

TransferReviewCommand

NomTypeObligatoireDescription
origin_jurisdictionstring (uuid)oui
destination_jurisdictionstring (uuid)ouiMust differ from origin_jurisdiction
data_categoriesstringoui
legal_authority_refstring (uuid)oui
safeguard_refstring (uuid)oui
processing_activity_idstring (uuid)oui
volume_classCodenon

PrivacyNoticeCommand

NomTypeObligatoireDescription
notice_versionstringoui
languagestringoui
effective_atstringoui
review_evidence_refstring (uuid)oui
publication_channelCodeoui

IncidentCommand

NomTypeObligatoireDescription
processing_activity_idstring (uuid)non
summarystringoui
evidence_refstring (uuid)oui

ExportCommand

NomTypeObligatoireDescription
format"csv" | "pdf"oui
filtersobjectnon

DispatchCommand

NomTypeObligatoireDescription
limitintegernon