alphagov/govuk_content_api — pull request #8 by jamiecobbett (2012-09-04 09:41:39+00:00)
Title: Enable browse

This started out as "add stuff to enable driving gov.uk browse from the contentapi", but mostly out of necessity became an API refactoring.

Summary:
* Added /sections and /sections/:id resources
* Replaced IDs with (API) URLs (except search)
* artefacts indicate their format
* replaced embedded ID lists with actual objects (e.g. related_artefact_ids => related_artefacts)
* We've added web_urls to all resources.

/search is the only thing that hasn't been changed. We haven't started using it yet, but primarily because it includes non-gov.uk content (recommended-links which are not related to artefacts), so tidying it up is not totally trivial.