diff --git a/scripts/publish_zap_compatible.py b/scripts/publish_zap_compatible.py index f9bd467d..bd5391bb 100644 --- a/scripts/publish_zap_compatible.py +++ b/scripts/publish_zap_compatible.py @@ -42,8 +42,8 @@ def scan_and_remove(obj, mappings): ( ("format", "date"), ("personalisation", None), - ("/", None), - ("/", None), + ("/{client-provided-message-status-URI}", None), + ("/{client-provided-channel-status-URI}", None), ) ), f diff --git a/specification/communications-manager.yaml b/specification/communications-manager.yaml index 5c2979ad..4ab71326 100644 --- a/specification/communications-manager.yaml +++ b/specification/communications-manager.yaml @@ -35,15 +35,15 @@ paths: /channels/nhsapp/accounts: get: $ref: endpoints/get_nhsapp_account_details.yaml - /: + /{client-provided-message-status-URI}: post: $ref: callbacks/message_status.yaml tags: ['Callbacks'] - /: + /{client-provided-channel-status-URI}: post: $ref: callbacks/channel_status.yaml tags: ['Callbacks'] - /: + /{client-provided-recipient-response-URI}: post: $ref: callbacks/recipient_response.yaml tags: ['Callbacks'] diff --git a/specification/documentation/APIDescription.md b/specification/documentation/APIDescription.md index b103572a..c7b6d0ab 100644 --- a/specification/documentation/APIDescription.md +++ b/specification/documentation/APIDescription.md @@ -253,7 +253,7 @@ Answer options: [Yes, No] In order to present the recipient with answers, include the `answerOptions` field. -If you subscribe to recipient response callbacks, NHS Notify will send you a callback when a recipient responds to a message (currently only NHS App supports this). See [the recipient response callback](#post-/) for more details. +If you subscribe to recipient response callbacks, NHS Notify will send you a callback when a recipient responds to a message (currently only NHS App supports this). See [the recipient response callback](#post-/{client-provided-recipient-response-URI}) for more details. ## Message character limits Different character limits apply to each of the communication channels as listed below. NHS Notify will validate that any personalisation fields submitted in the send message request do not exceed these limits but it is the client's responsibility to ensure that when personalisation is combined with any templated text, the channel character limit is not exceeded.