Official upstream source mirror. Do not make UH changes here.
  • Ruby 79.6%
  • HTML 14.6%
  • PLpgSQL 5.5%
  • Dockerfile 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-28 09:56:07 +01:00
.github Bump ruby/setup-ruby from 1.321.0 to 1.324.0 2026-09-22 07:03:18 +00:00
app Simplify deep sorting of content item 2025-11-24 13:41:25 +00:00
bin Add binstubs 2026-04-14 13:14:43 +01:00
config Silence healthcheck to correct path 2026-04-09 15:34:17 +01:00
db Add migration to remove orphaned content item 2026-09-02 10:51:25 +01:00
docs Clarify requests are internal only 2025-07-10 12:50:49 +01:00
lib/tasks Revert "Add task to update all content items still pointing to government-frontend" 2026-03-25 14:50:34 +00:00
log Blank Rails 3.2.17 app 2014-03-25 14:32:36 +00:00
public Accept some Rails 8.1 changes 2026-04-07 18:15:28 +01:00
spec Finalise Pact v2 migration 2026-09-09 15:31:02 +01:00
.dockerignore Remove obsolete Jenkinsfile. 2024-01-31 16:20:47 +00:00
.gitignore Add .byebug_history to .gitignore 2023-12-27 14:13:04 +00:00
.govuk_dependabot_merger.yml Upgrade govuk_dependabot_merger config to use v2 2024-04-30 10:47:43 +01:00
.rspec Switch to separate spec_helper and rails_helper. 2014-07-31 16:01:51 +00:00
.rubocop.yml Add basic ActiveRecord configuration for PostgreSQL 2023-12-27 14:18:18 +00:00
.ruby-version Update ruby to version 4.0.6 2026-07-21 13:34:13 +01:00
config.ru Run app:update task 2021-09-20 10:38:16 +01:00
Dockerfile Bump Ruby from 3.4.4 to 4.0.2 2026-04-14 13:11:35 +01:00
Gemfile Finalise Pact v2 migration 2026-09-09 15:31:02 +01:00
Gemfile.lock Bump rubyzip from 3.2.2 to 3.4.0 2026-09-26 07:43:03 +00:00
LICENCE Rename Licence reference in README 2022-12-02 15:17:40 +00:00
openapi.yaml Update rendering app in openapi.yaml 2026-03-24 15:04:11 +00:00
Rakefile Finalise Pact v2 migration 2026-09-09 15:31:02 +01:00
README.md Remove references to placeholder items 2024-05-28 15:31:14 +01:00

Content Store

The Content Store is a database of almost all published content on GOV.UK. See the Content Store API for basic usage.

Technical documentation

This is a Ruby on Rails app, and should follow our Rails app conventions.

You can use the GOV.UK Docker environment to run the application and its tests with all the necessary dependencies. Follow the usage instructions to get started.

Use GOV.UK Docker to run any commands that follow.

Running the test suite

bundle exec rake

Example API output

Example API requests and corresponding responses can be found in the content store pact-broker documentation.

Further documentation

Licence

MIT License