whitehall: Whitehall API
Whitehall is primarily a publishing application but it also provides an API used by some applications. This API is public and is served under https://www.gov.uk/api/.
Whitehall is not the only application to provide APIs under this path. For example, /api/content is served by Content API and /api/search.json is served by Search API (previously known as Rummager). This Nginx file configures this behaviour.
/api/governments (no client available)
Lists governments from newest to oldest. Includes title, start and end dates.
/api/governments/:id (no client available)
Shows the details for a single government.
Lists world locations. Includes title, web URL and country code.
Shows the details for a single world location.
Lists worldwide organisations relating to a world location. Includes embassies, departments, sponsor organisations and details for offices such as addresses, telephone numbers and email addresses.
/api/worldwide-organisations/:slug (no client available)
Shows the details for a single worldwide organisation.
Please add your application to this list if you're using the API.
There was an incident where some code was removed because these dependencies weren't known.