From 23d746a346a75bfbf143cfe01283c709ac96edde Mon Sep 17 00:00:00 2001 From: Tim Marston Date: Fri, 17 Jul 2026 12:16:49 +0100 Subject: [PATCH 1/2] switched client-provided URI placeholders to use curly brackets --- scripts/publish_zap_compatible.py | 4 ++-- specification/communications-manager.yaml | 6 +++--- specification/documentation/APIDescription.md | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/publish_zap_compatible.py b/scripts/publish_zap_compatible.py index f9bd467da..bd5391bb7 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 5c2979ad8..4ab713263 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 b103572a0..c7b6d0ab7 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. From db26e43d1465e00cef9fc3cbff9e53b258bc8a6d Mon Sep 17 00:00:00 2001 From: Tim Marston Date: Fri, 17 Jul 2026 16:39:32 +0100 Subject: [PATCH 2/2] kick pipeline