← Tous les contrats
OHN-24 Event and Subscription Infrastructure
- Version
- 1.0.0
- OpenAPI
- 3.1.0
- Source dans le dépôt
modules/OHN-24/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.
Transactional outbox, inbox deduplication, schema registry, subscriptions, webhook and pull delivery, controlled replay, dead letters. Default deny. Bearer authentication. Every POST needs an Idempotency-Key header (8-128 characters). Delivery is at least once.
Opérations
Autres opérations
GET/subscriptionsList subscriptions
Identifiant d’opération: ohn-24_get_subscriptions
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
status | query | "active" | "paused" | "revoked" | non | |
cursor | query | string | non | |
Réponses
| Code | Description | Type de média |
|---|
200 | Page | — |
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | Typed error: the platform problem+json superset of {error, message, details} | |
429 | 429 rate_limited (Retry-After set) | |
POST/subscriptionsCreate a subscription (F001)
Identifiant d’opération: ohn-24_post_subscriptions
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 | Created | — |
400 | 400 idempotency_key_required, or 400 malformed_request for a body that is not JSON; 409 idempotency_key_reused / request_in_progress | |
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | 403 denied_by_policy: role or purpose of use not permitted (audited) | |
409 | Typed error: the platform problem+json superset of {error, message, details} | |
413 | 413 payload_too_large: body over 512 kB | |
422 | Typed error: the platform problem+json superset of {error, message, details} | |
429 | 429 rate_limited (Retry-After set) | |
POST/subscriptions/simulatePermission simulator; persists nothing
Identifiant d’opération: ohn-24_post_subscriptions-simulate
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 | deliver true/false with reason | — |
400 | 400 idempotency_key_required, or 400 malformed_request for a body that is not JSON; 409 idempotency_key_reused / request_in_progress | |
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | 403 denied_by_policy: role or purpose of use not permitted (audited) | |
413 | 413 payload_too_large: body over 512 kB | |
422 | Typed error: the platform problem+json superset of {error, message, details} | |
429 | 429 rate_limited (Retry-After set) | |
GET/subscriptions/{id}
Identifiant d’opération: ohn-24_get_subscriptions-id
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | Subscription with history | — |
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | 403 denied_by_policy: role or purpose of use not permitted (audited) | |
404 | Typed error: the platform problem+json superset of {error, message, details} | |
429 | 429 rate_limited (Retry-After set) | |
POST/subscriptions/{id}/transitionsPause, resume or revoke (revoked is final and cancels unfinished deliveries)
Identifiant d’opération: ohn-24_post_subscriptions-id-transitions
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 | 400 idempotency_key_required, or 400 malformed_request for a body that is not JSON; 409 idempotency_key_reused / request_in_progress | |
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | 403 denied_by_policy: role or purpose of use not permitted (audited) | |
409 | Typed error: the platform problem+json superset of {error, message, details} | |
413 | 413 payload_too_large: body over 512 kB | |
422 | Typed error: the platform problem+json superset of {error, message, details} | |
429 | 429 rate_limited (Retry-After set) | |
POST/subscriptions/{id}/pullLease deliveries (event_subscriber of the subscriber organisation only)
Identifiant d’opération: ohn-24_post_subscriptions-id-pull
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | |
Corps de la requête
Réponses
| Code | Description | Type de média |
|---|
200 | Leased events: items[{delivery_id, lease_expires_at, event: envelope}] and subscription_status | |
400 | 400 idempotency_key_required, or 400 malformed_request for a body that is not JSON; 409 idempotency_key_reused / request_in_progress | |
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | 403 denied_by_policy: role or purpose of use not permitted (audited) | |
404 | Typed error: the platform problem+json superset of {error, message, details} | |
413 | 413 payload_too_large: body over 512 kB | |
429 | 429 rate_limited (Retry-After set) | |
POST/deliveries/{id}/acknowledgeAcknowledge a leased delivery; repeating is harmless
Identifiant d’opération: ohn-24_post_deliveries-id-acknowledge
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Idempotency-Key | header | string | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | Acknowledged | — |
400 | 400 idempotency_key_required, or 400 malformed_request for a body that is not JSON; 409 idempotency_key_reused / request_in_progress | |
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | 403 denied_by_policy: role or purpose of use not permitted (audited) | |
409 | Typed error: the platform problem+json superset of {error, message, details} | |
413 | 413 payload_too_large: body over 512 kB | |
429 | 429 rate_limited (Retry-After set) | |
GET/endpoints
Identifiant d’opération: ohn-24_get_endpoints
Authentification: bearer
Réponses
| Code | Description | Type de média |
|---|
200 | OK | — |
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | 403 denied_by_policy: role or purpose of use not permitted (audited) | |
429 | 429 rate_limited (Retry-After set) | |
POST/endpointsRegister a destination (HTTPS, public hosts only)
Identifiant d’opération: ohn-24_post_endpoints
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 | Created | — |
400 | 400 idempotency_key_required, or 400 malformed_request for a body that is not JSON; 409 idempotency_key_reused / request_in_progress | |
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | 403 denied_by_policy: role or purpose of use not permitted (audited) | |
413 | 413 payload_too_large: body over 512 kB | |
422 | Typed error: the platform problem+json superset of {error, message, details} | |
429 | 429 rate_limited (Retry-After set) | |
GET/event-schemas
Identifiant d’opération: ohn-24_get_event-schemas
Authentification: bearer
Réponses
| Code | Description | Type de média |
|---|
200 | OK | — |
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | 403 denied_by_policy: role or purpose of use not permitted (audited) | |
429 | 429 rate_limited (Retry-After set) | |
POST/event-schemasRegister a strict payload schema (root object, additionalProperties false)
Identifiant d’opération: ohn-24_post_event-schemas
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 | Created | — |
400 | 400 idempotency_key_required, or 400 malformed_request for a body that is not JSON; 409 idempotency_key_reused / request_in_progress | |
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | 403 denied_by_policy: role or purpose of use not permitted (audited) | |
409 | Typed error: the platform problem+json superset of {error, message, details} | |
413 | 413 payload_too_large: body over 512 kB | |
422 | Typed error: the platform problem+json superset of {error, message, details} | |
429 | 429 rate_limited (Retry-After set) | |
POST/eventsPublish an event (W001): schema check, inbox deduplication on (jurisdiction, source_system_id, source_event_id), event log, fan-out. 201 new, 200 duplicate, 409 source_event_conflict, 422 schema_not_registered
Identifiant d’opération: ohn-24_post_events
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 | Duplicate: original event returned | — |
201 | Accepted and persisted | — |
400 | 400 idempotency_key_required, or 400 malformed_request for a body that is not JSON; 409 idempotency_key_reused / request_in_progress | |
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | 403 denied_by_policy: role or purpose of use not permitted (audited) | |
409 | Typed error: the platform problem+json superset of {error, message, details} | |
413 | 413 payload_too_large: body over 512 kB | |
422 | Typed error: the platform problem+json superset of {error, message, details} | |
429 | 429 rate_limited (Retry-After set) | |
GET/events/deliveriesList deliveries
Identifiant d’opération: ohn-24_get_events-deliveries
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
state | query | "enqueued" | "attempted" | "retrying" | "acknowledged" | "dead_lettered" | "cancelled" | non | |
subscription_id | query | string (uuid) | non | |
event_id | query | string (uuid) | non | |
cursor | query | string | non | |
Réponses
| Code | Description | Type de média |
|---|
200 | Page | — |
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | Typed error: the platform problem+json superset of {error, message, details} | |
429 | 429 rate_limited (Retry-After set) | |
GET/events/deliveries/{id}Delivery with attempts and history
Identifiant d’opération: ohn-24_get_events-deliveries-id
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | OK | — |
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | 403 denied_by_policy: role or purpose of use not permitted (audited) | |
404 | Typed error: the platform problem+json superset of {error, message, details} | |
429 | 429 rate_limited (Retry-After set) | |
GET/events/dead-letters
Identifiant d’opération: ohn-24_get_events-dead-letters
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
state | query | "open" | "held" | "requeued" | "discarded" | non | |
cursor | query | string | non | |
Réponses
| Code | Description | Type de média |
|---|
200 | Page | — |
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | 403 denied_by_policy: role or purpose of use not permitted (audited) | |
429 | 429 rate_limited (Retry-After set) | |
POST/events/dead-letters/{id}/dispositionDisposition (F003, event_operator only). operator_ref must equal the authenticated operator
Identifiant d’opération: ohn-24_post_events-dead-letters-id-disposition
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 | 400 idempotency_key_required, or 400 malformed_request for a body that is not JSON; 409 idempotency_key_reused / request_in_progress | |
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | 403 denied_by_policy: role or purpose of use not permitted (audited) | |
409 | Typed error: the platform problem+json superset of {error, message, details} | |
413 | 413 payload_too_large: body over 512 kB | |
422 | Typed error: the platform problem+json superset of {error, message, details} | |
429 | 429 rate_limited (Retry-After set) | |
POST/events/maintenance/dispatchDeliver due webhooks now; 409 dispatch_disabled unless delivery is enabled (ohn.m24.dispatch-enabled)
Identifiant d’opération: ohn-24_post_events-maintenance-dispatch
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | Counts | — |
400 | 400 idempotency_key_required, or 400 malformed_request for a body that is not JSON; 409 idempotency_key_reused / request_in_progress | |
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | 403 denied_by_policy: role or purpose of use not permitted (audited) | |
409 | Typed error: the platform problem+json superset of {error, message, details} | |
413 | 413 payload_too_large: body over 512 kB | |
429 | 429 rate_limited (Retry-After set) | |
POST/events/maintenance/sweepRecover expired leases and reconcile replays (works with delivery disabled)
Identifiant d’opération: ohn-24_post_events-maintenance-sweep
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
Idempotency-Key | header | string | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | Counts | — |
400 | 400 idempotency_key_required, or 400 malformed_request for a body that is not JSON; 409 idempotency_key_reused / request_in_progress | |
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | 403 denied_by_policy: role or purpose of use not permitted (audited) | |
413 | 413 payload_too_large: body over 512 kB | |
429 | 429 rate_limited (Retry-After set) | |
POST/events/{id}/replayRequest a controlled replay (F002): authorized, range sized, dry run. Nothing is delivered yet
Identifiant d’opération: ohn-24_post_events-id-replay
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 | Dry-run result | — |
400 | 400 idempotency_key_required, or 400 malformed_request for a body that is not JSON; 409 idempotency_key_reused / request_in_progress | |
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | 403 denied_by_policy: role or purpose of use not permitted (audited) | |
413 | 413 payload_too_large: body over 512 kB | |
422 | Typed error: the platform problem+json superset of {error, message, details} | |
429 | 429 rate_limited (Retry-After set) | |
GET/replays
Identifiant d’opération: ohn-24_get_replays
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
cursor | query | string | non | |
Réponses
| Code | Description | Type de média |
|---|
200 | Page | — |
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | 403 denied_by_policy: role or purpose of use not permitted (audited) | |
429 | 429 rate_limited (Retry-After set) | |
GET/replays/{id}
Identifiant d’opération: ohn-24_get_replays-id
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
id | path | string (uuid) | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | Replay with history and delivery states | — |
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | 403 denied_by_policy: role or purpose of use not permitted (audited) | |
404 | Typed error: the platform problem+json superset of {error, message, details} | |
429 | 429 rate_limited (Retry-After set) | |
POST/replays/{id}/startStart a replay. Only the named approver (not the requester) may do this
Identifiant d’opération: ohn-24_post_replays-id-start
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 | Started | — |
400 | 400 idempotency_key_required, or 400 malformed_request for a body that is not JSON; 409 idempotency_key_reused / request_in_progress | |
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | Typed error: the platform problem+json superset of {error, message, details} | |
409 | Typed error: the platform problem+json superset of {error, message, details} | |
413 | 413 payload_too_large: body over 512 kB | |
422 | Typed error: the platform problem+json superset of {error, message, details} | |
429 | 429 rate_limited (Retry-After set) | |
GET/events/reports/{reportId}Run a report (R001 delivery SLO, R002 replay accounting, R003 outbox backlog); 100 rows per page
Identifiant d’opération: ohn-24_get_events-reports-reportid
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
reportId | path | "OHN-24-R001" | "OHN-24-R002" | "OHN-24-R003" | oui | |
period_from | query | string (date-time) | non | ISO instant with offset |
period_to | query | string (date-time) | non | ISO instant with offset; not before period_from (compared as text) |
subscriber | query | string (uuid) | non | |
event_type | query | string | non | R001 only |
service | query | string (uuid) | non | R003 only: the source system id |
cursor | query | string | non | |
Réponses
| Code | Description | Type de média |
|---|
200 | Report | — |
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | 403 denied_by_policy: role or purpose of use not permitted (audited) | |
404 | Typed error: the platform problem+json superset of {error, message, details} | |
422 | Typed error: the platform problem+json superset of {error, message, details} | |
429 | 429 rate_limited (Retry-After set) | |
POST/events/reports/{reportId}/exportSigned, single-use, five-minute export (csv|pdf)
Identifiant d’opération: ohn-24_post_events-reports-reportid-export
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
reportId | path | "OHN-24-R001" | "OHN-24-R002" | "OHN-24-R003" | oui | |
Idempotency-Key | header | string | oui | |
Corps de la requête (obligatoire)
Réponses
| Code | Description | Type de média |
|---|
201 | download_path | — |
400 | 400 idempotency_key_required, or 400 malformed_request for a body that is not JSON; 409 idempotency_key_reused / request_in_progress | |
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | 403 denied_by_policy: role or purpose of use not permitted (audited) | |
404 | Typed error: the platform problem+json superset of {error, message, details} | |
413 | 413 payload_too_large: body over 512 kB | |
422 | Typed error: the platform problem+json superset of {error, message, details} | |
429 | 429 rate_limited (Retry-After set) | |
503 | 503 dependency_unavailable: Export signing is not configured | |
GET/events/exports/{token}Download once, within five minutes, as the requester (404 for anyone else)
Identifiant d’opération: ohn-24_get_events-exports-token
Authentification: bearer
Paramètres
| Nom | Emplacement | Type | Obligatoire | Description |
|---|
token | path | string | oui | |
Réponses
| Code | Description | Type de média |
|---|
200 | File | text/csv: string
application/pdf: string (binary)
|
401 | 401 unauthenticated: no, invalid or expired token, a subject, jurisdiction or organization that is not a UUID, or an unknown role | |
403 | 403 denied_by_policy: role or purpose of use not permitted (audited) | |
404 | Typed error: the platform problem+json superset of {error, message, details} | |
410 | 410 export_expired or export_consumed | |
429 | 429 rate_limited (Retry-After set) | |
500 | 500 export_integrity_failed | |
Schémas
Error
| Nom | Type | Obligatoire | Description |
|---|
error | string | oui | |
message | string | non | |
details | object | non | First failing check per top-level field, as the zod issue code (invalid_type, too_small, too_big, invalid_string, invalid_enum_value), a domain reason or a custom message; unknown keys under "_" as unrecognized_keys |
type | string | non | |
title | string | non | |
status | integer | non | |
detail | string | non | |
trace_id | string | non | |
Classification
"public" | "internal" | "confidential" | "restricted" | "phi"
SubscriptionCommand
| Nom | Type | Obligatoire | Description |
|---|
subscriber_org | string (uuid) | oui | |
event_type | string | oui | |
destination_endpoint | string (uuid) | oui | |
delivery_mode | "webhook" | "pull" | oui | |
scope | string | oui | JSON text: {organization_ids: uuid[1..50], max_classification}. organization_ids may only contain the creating organisation; no wildcard |
max_retry_window_hours | integer | oui | At most the platform maximum (default 72) |
PublishCommand
| Nom | Type | Obligatoire | Description |
|---|
event_type | string | oui | |
schema_version | string | oui | |
occurred_at | string (date-time) | oui | |
aggregate_id | string (uuid) | oui | |
aggregate_version | integer | oui | |
correlation_id | string (uuid) | oui | |
causation_id | string (uuid) | oui | |
data_classification | Classification | oui | |
payload | object | oui | |
source_system_id | string (uuid) | oui | |
source_event_id | string | oui | |
ReplayCommand
event_range_start must be before event_range_end; the range may not exceed the platform maximum (default 24 h); approved_by must differ from the requester (dual control)
| Nom | Type | Obligatoire | Description |
|---|
subscription_ref | string (uuid) | oui | |
event_range_start | string (date-time) | oui | |
event_range_end | string (date-time) | oui | |
replay_reason | string | oui | |
approved_by | string (uuid) | oui | |
include_acknowledged | boolean | non | |
DispositionCommand
retry_after is only valid with resolution requeue (422 with the message as detail)
| Nom | Type | Obligatoire | Description |
|---|
dead_letter_id | string (uuid) | oui | |
resolution | "requeue" | "discard" | "hold" | oui | |
operator_ref | string (uuid) | oui | |
remediation_notes | string | oui | |
retry_after | string (date-time) | non | Only with requeue |
expected_version | integer | oui | |
EndpointCommand
| Nom | Type | Obligatoire | Description |
|---|
subscriber_org | string (uuid) | oui | |
url | string | oui | https only to public hosts; no credentials or fragment. Loopback and private hosts are refused unless the non-production switch is on |
description | string | non | |
SchemaCommand
| Nom | Type | Obligatoire | Description |
|---|
event_type | string | oui | |
schema_version | string | oui | |
payload_schema | object | oui | JSON-Schema subset: type, required, properties, additionalProperties (must be false at the root), enum, items, minLength, maxLength, minimum, maximum, description, format, title, $schema |
description | string | non | |
TransitionCommand
| Nom | Type | Obligatoire | Description |
|---|
to_status | "active" | "paused" | "revoked" | oui | |
expected_version | integer | oui | |
reason | string | oui | |
PullCommand
| Nom | Type | Obligatoire | Description |
|---|
limit | integer | non | |
ReplayStartCommand
| Nom | Type | Obligatoire | Description |
|---|
expected_version | integer | oui | |
SimulateCommand
| Nom | Type | Obligatoire | Description |
|---|
scope | string | oui | |
event_type | string | oui | |
event_classification | Classification | oui | |
event_organization | string (uuid) | non | |
subscription_status | "active" | "paused" | "revoked" | non | |
ExportCommand
| Nom | Type | Obligatoire | Description |
|---|
format | "csv" | "pdf" | oui | |
filters | object | non | The report filters (period_from, period_to, subscriber, event_type, service, cursor), string values of at most 128 characters; anything else is 422 Report filter is not valid |
post-subscriptions-id-pull.response-200 défini sur place
| Nom | Type | Obligatoire | Description |
|---|
items | array of any | non | |
subscription_status | "active" | "paused" | "revoked" | non | |