{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/publishing-api/issues/227","repository_url":"https://api.github.com/repos/alphagov/publishing-api","labels_url":"https://api.github.com/repos/alphagov/publishing-api/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/publishing-api/issues/227/comments","events_url":"https://api.github.com/repos/alphagov/publishing-api/issues/227/events","html_url":"https://github.com/alphagov/publishing-api/pull/227","id":138217633,"number":227,"title":"Paginate get content collection","user":{"login":"steventux","id":93511,"avatar_url":"https://avatars.githubusercontent.com/u/93511?v=3","gravatar_id":"","url":"https://api.github.com/users/steventux","html_url":"https://github.com/steventux","followers_url":"https://api.github.com/users/steventux/followers","following_url":"https://api.github.com/users/steventux/following{/other_user}","gists_url":"https://api.github.com/users/steventux/gists{/gist_id}","starred_url":"https://api.github.com/users/steventux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steventux/subscriptions","organizations_url":"https://api.github.com/users/steventux/orgs","repos_url":"https://api.github.com/users/steventux/repos","events_url":"https://api.github.com/users/steventux/events{/privacy}","received_events_url":"https://api.github.com/users/steventux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-03T15:55:55Z","updated_at":"2016-03-07T10:53:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alphagov/publishing-api/pulls/227","html_url":"https://github.com/alphagov/publishing-api/pull/227","diff_url":"https://github.com/alphagov/publishing-api/pull/227.diff","patch_url":"https://github.com/alphagov/publishing-api/pull/227.patch"},"body":"https://trello.com/c/OZF9rKeX/487-index-endpoint-should-support-pagination\r\n\r\nSupport pagination and add default ordering of content items index `/v2/content` endpoint.\r\n\r\nOriginal PR here: https://github.com/alphagov/publishing-api/pull/211\r\nIt was easier, in light of the large refactor to the Publishing-API, to cherry-pick relevant commits to new branch. Paired with @Rosa-Fox on this story."},"comment":{"url":"https://api.github.com/repos/alphagov/publishing-api/issues/comments/193202598","html_url":"https://github.com/alphagov/publishing-api/pull/227#issuecomment-193202598","issue_url":"https://api.github.com/repos/alphagov/publishing-api/issues/227","id":193202598,"user":{"login":"tuzz","id":892251,"avatar_url":"https://avatars.githubusercontent.com/u/892251?v=3","gravatar_id":"","url":"https://api.github.com/users/tuzz","html_url":"https://github.com/tuzz","followers_url":"https://api.github.com/users/tuzz/followers","following_url":"https://api.github.com/users/tuzz/following{/other_user}","gists_url":"https://api.github.com/users/tuzz/gists{/gist_id}","starred_url":"https://api.github.com/users/tuzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuzz/subscriptions","organizations_url":"https://api.github.com/users/tuzz/orgs","repos_url":"https://api.github.com/users/tuzz/repos","events_url":"https://api.github.com/users/tuzz/events{/privacy}","received_events_url":"https://api.github.com/users/tuzz/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T10:53:01Z","updated_at":"2016-03-07T10:53:01Z","body":"Should we be concerned about the performance impact of ordering by some field? An index would help, but if the user can choose any field we might need indexes on lots of columns?"}}