{"action":"opened","number":10,"pull_request":{"url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/pulls/10","id":97329834,"html_url":"https://github.com/alphagov/govuk-dummy_content_store/pull/10","diff_url":"https://github.com/alphagov/govuk-dummy_content_store/pull/10.diff","patch_url":"https://github.com/alphagov/govuk-dummy_content_store/pull/10.patch","issue_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/issues/10","number":10,"state":"open","locked":false,"title":"Add randomised content","user":{"login":"tijmenb","id":233676,"avatar_url":"https://avatars.githubusercontent.com/u/233676?v=3","gravatar_id":"","url":"https://api.github.com/users/tijmenb","html_url":"https://github.com/tijmenb","followers_url":"https://api.github.com/users/tijmenb/followers","following_url":"https://api.github.com/users/tijmenb/following{/other_user}","gists_url":"https://api.github.com/users/tijmenb/gists{/gist_id}","starred_url":"https://api.github.com/users/tijmenb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tijmenb/subscriptions","organizations_url":"https://api.github.com/users/tijmenb/orgs","repos_url":"https://api.github.com/users/tijmenb/repos","events_url":"https://api.github.com/users/tijmenb/events{/privacy}","received_events_url":"https://api.github.com/users/tijmenb/received_events","type":"User","site_admin":false},"body":"This commit adds a special path for random content:\r\n\r\nhttp://localhost:3068/content/random/your_schema_name\r\n\r\nThis will give you a randomly generated content item, based on the `your_schema_name` schema. We use `govuk_schemas` to do this.\r\n\r\nIt could be useful to check design with random content, because it shows where the layout is likely to break with irregular content. It's also a quick way to find bugs caused by reliance on fields that aren't required by the schemas.\r\n\r\nExample on government-frontend:\r\n\r\n![screen2](https://cloud.githubusercontent.com/assets/233676/21054417/8ca9380c-be25-11e6-9c3d-bb7bb33bd785.png)\r\n","created_at":"2016-12-09T15:39:19Z","updated_at":"2016-12-09T15:39:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"853582bd894e0335c8461c1f2cd0c9442ca33a44","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/pulls/10/commits","review_comments_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/pulls/10/comments","review_comment_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/issues/10/comments","statuses_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/statuses/8b92af563e5d1e6db8df1829b4b2f7a3f347e139","head":{"label":"alphagov:add-randomised-content","ref":"add-randomised-content","sha":"8b92af563e5d1e6db8df1829b4b2f7a3f347e139","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":34746332,"name":"govuk-dummy_content_store","full_name":"alphagov/govuk-dummy_content_store","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/govuk-dummy_content_store","description":"Rack app which serves example files from govuk-content-schemas","fork":false,"url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store","forks_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/forks","keys_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/events","assignees_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/merges","archive_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/deployments","created_at":"2015-04-28T17:48:13Z","updated_at":"2016-02-02T12:00:38Z","pushed_at":"2016-12-09T15:39:19Z","git_url":"git://github.com/alphagov/govuk-dummy_content_store.git","ssh_url":"git@github.com:alphagov/govuk-dummy_content_store.git","clone_url":"https://github.com/alphagov/govuk-dummy_content_store.git","svn_url":"https://github.com/alphagov/govuk-dummy_content_store","homepage":"","size":29,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"3bee3d6830e9725666fc9cff84ddfbde1bed6344","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":34746332,"name":"govuk-dummy_content_store","full_name":"alphagov/govuk-dummy_content_store","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/govuk-dummy_content_store","description":"Rack app which serves example files from govuk-content-schemas","fork":false,"url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store","forks_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/forks","keys_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/events","assignees_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/merges","archive_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/deployments","created_at":"2015-04-28T17:48:13Z","updated_at":"2016-02-02T12:00:38Z","pushed_at":"2016-12-09T15:39:19Z","git_url":"git://github.com/alphagov/govuk-dummy_content_store.git","ssh_url":"git@github.com:alphagov/govuk-dummy_content_store.git","clone_url":"https://github.com/alphagov/govuk-dummy_content_store.git","svn_url":"https://github.com/alphagov/govuk-dummy_content_store","homepage":"","size":29,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/pulls/10"},"html":{"href":"https://github.com/alphagov/govuk-dummy_content_store/pull/10"},"issue":{"href":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/issues/10"},"comments":{"href":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/govuk-dummy_content_store/statuses/8b92af563e5d1e6db8df1829b4b2f7a3f347e139"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":690,"deletions":10,"changed_files":9}}
{"actor":{"display_login":"tijmenb"}}