Skip to content

Add V3 endpoint for fetching delivery configurations - #3122

Open
DavidBiddle wants to merge 1 commit into
mainfrom
add-deliver-configurations-endpoint
Open

DavidBiddle wants to merge 1 commit into
mainfrom
add-deliver-configurations-endpoint

Conversation

@DavidBiddle

@DavidBiddle DavidBiddle commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

What problem does this pull request solve?

Trello card: https://trello.com/c/P7bDQZTP/3248-get-submission-delivery-configuration-from-latest-live-version-of-the-form-in-forms-runner

Adds a new endpoint to the V3 API to get the draft or live/archived delivery configurations for a form.

It's at /api/v3/forms/#{form.id}/delivery-configurations/{state}, where #{state} is either draft or current. Calling it with draft will return the delivery config from the draft form document, while current will return the config for the most recent live or archived form document.

Things to consider when reviewing

  • Ensure that you consider the wider context.
  • Does it work when run on your machine?
  • Is it clear what the code is doing?
  • Do the commit messages explain why the changes were made?
  • Are there all the unit tests needed?
  • Do the end to end tests need updating before these changes will pass?
  • Has all relevant documentation been updated?

@DavidBiddle
DavidBiddle marked this pull request as ready for review September 17, 2026 16:00
@DavidBiddle
DavidBiddle force-pushed the add-deliver-configurations-endpoint branch from e382a9c to 86b1cb0 Compare September 17, 2026 16:00
@github-actions

Copy link
Copy Markdown

🎉 A review copy of this PR has been deployed! You can reach it at: https://pr-3122.admin.review.forms.service.gov.uk/

It may take 5 minutes or so for the application to be fully deployed and working. If it still isn't ready
after 5 minutes, there may be something wrong with the ECS task. You will need to go to the integration AWS account
to debug, or otherwise ask an infrastructure person.

For the sign in details and more information, see the review apps wiki page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant