{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/486","repository_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild","labels_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/486/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/486/comments","events_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/486/events","html_url":"https://github.com/alphagov/specialist-publisher-rebuild/issues/486","id":147101611,"number":486,"title":"[CLOSED] Add content ids to manuals","user":{"login":"benilovj","id":23801,"avatar_url":"https://avatars.githubusercontent.com/u/23801?v=3","gravatar_id":"","url":"https://api.github.com/users/benilovj","html_url":"https://github.com/benilovj","followers_url":"https://api.github.com/users/benilovj/followers","following_url":"https://api.github.com/users/benilovj/following{/other_user}","gists_url":"https://api.github.com/users/benilovj/gists{/gist_id}","starred_url":"https://api.github.com/users/benilovj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benilovj/subscriptions","organizations_url":"https://api.github.com/users/benilovj/orgs","repos_url":"https://api.github.com/users/benilovj/repos","events_url":"https://api.github.com/users/benilovj/events{/privacy}","received_events_url":"https://api.github.com/users/benilovj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-09T07:23:40Z","updated_at":"2016-04-09T07:23:44Z","closed_at":null,"body":"<a href=\"https://github.com/jamiecobbett\"><img src=\"https://avatars.githubusercontent.com/u/93739?v=3\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [jamiecobbett](https://github.com/jamiecobbett)**\n_Monday 11 May 2015 at 13:52 GMT_\n_Originally opened as https://github.com/alphagov/specialist-publisher/pull/486_\n\n----\n\nIn theory, every content item in the publishing-api/content-store should have a content_id so that it can be linked to. In practice, it isn't required, although the format of it is validated when it is sent.\r\n\r\nWe will need to republish all manuals after this is deployed, which can be done with `bin/republish_manuals`.\n\n----\n\n_**[jamiecobbett](https://github.com/jamiecobbett)** included the following code: https://github.com/alphagov/specialist-publisher/pull/486/commits_\n"},"comment":{"url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/comments/207733189","html_url":"https://github.com/alphagov/specialist-publisher-rebuild/issues/486#issuecomment-207733189","issue_url":"https://api.github.com/repos/alphagov/specialist-publisher-rebuild/issues/486","id":207733189,"user":{"login":"benilovj","id":23801,"avatar_url":"https://avatars.githubusercontent.com/u/23801?v=3","gravatar_id":"","url":"https://api.github.com/users/benilovj","html_url":"https://github.com/benilovj","followers_url":"https://api.github.com/users/benilovj/followers","following_url":"https://api.github.com/users/benilovj/following{/other_user}","gists_url":"https://api.github.com/users/benilovj/gists{/gist_id}","starred_url":"https://api.github.com/users/benilovj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benilovj/subscriptions","organizations_url":"https://api.github.com/users/benilovj/orgs","repos_url":"https://api.github.com/users/benilovj/repos","events_url":"https://api.github.com/users/benilovj/events{/privacy}","received_events_url":"https://api.github.com/users/benilovj/received_events","type":"User","site_admin":false},"created_at":"2016-04-09T07:23:44Z","updated_at":"2016-04-09T07:23:44Z","body":"<a href=\"https://github.com/jamiecobbett\"><img src=\"https://avatars.githubusercontent.com/u/93739?v=3\" align=\"left\" width=\"48\" height=\"48\" hspace=\"10\"></img></a> **Comment by [jamiecobbett](https://github.com/jamiecobbett)**\n_Monday 11 May 2015 at 14:20 GMT_\n\n----\n\n> Does each manual section get the same ID as its parent, or different ones?\r\n> I can see arguments both ways, and I'm not sure I've seen a written down decision.\r\n\r\n@rboulton I think they should have different IDs. Several reasons come to mind:\r\n* they are not equivalent pieces of content (which is one use case we have for sharing content_id)\r\n* I can well imagine wanting to link to individual sections of a manual\n"}}