Skip to content

Commit

Permalink
Merge pull request #3047 from alphagov/autocomplete-route
Browse files Browse the repository at this point in the history
Add special route for search autocomplete
  • Loading branch information
csutter authored Nov 14, 2024
2 parents 2be600e + dc40e2a commit ea90ee9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/special_route_publisher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,14 @@ def routes
description: "Sitewide search results are displayed in JSON format here.",
type: "exact",
},
{
rendering_app: "finder-frontend",
content_id: "5a17259f-1ddd-497a-9caf-866cddb662c6",
base_path: "/api/search/autocomplete.json",
title: "GOV.UK search autocomplete API",
description: "Returns autocomplete suggestions for partial user queries for site search.",
type: "exact",
},
{
rendering_app: "search-api",
content_id: "5edd25bd-987f-45d3-8eca-5fb35cbf2978",
Expand Down

0 comments on commit ea90ee9

Please sign in to comment.