{"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/guardian/discussion-avatar/pulls/9","id":85980326,"html_url":"https://github.com/guardian/discussion-avatar/pull/9","diff_url":"https://github.com/guardian/discussion-avatar/pull/9.diff","patch_url":"https://github.com/guardian/discussion-avatar/pull/9.patch","issue_url":"https://api.github.com/repos/guardian/discussion-avatar/issues/9","number":9,"state":"open","locked":false,"title":"Add order by asc or desc to avatars endpoint","user":{"login":"satterly","id":615057,"avatar_url":"https://avatars.githubusercontent.com/u/615057?v=3","gravatar_id":"","url":"https://api.github.com/users/satterly","html_url":"https://github.com/satterly","followers_url":"https://api.github.com/users/satterly/followers","following_url":"https://api.github.com/users/satterly/following{/other_user}","gists_url":"https://api.github.com/users/satterly/gists{/gist_id}","starred_url":"https://api.github.com/users/satterly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satterly/subscriptions","organizations_url":"https://api.github.com/users/satterly/orgs","repos_url":"https://api.github.com/users/satterly/repos","events_url":"https://api.github.com/users/satterly/events{/privacy}","received_events_url":"https://api.github.com/users/satterly/received_events","type":"User","site_admin":false},"body":"The ability to list avatars pending approval in descending order is needed for modtools v2. The moderators have requested that pending avatars be displayed from oldest to newest so that they review avatars that have been in the queue the longest first.","created_at":"2016-09-20T13:56:44Z","updated_at":"2016-09-20T13:56:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/guardian/discussion-avatar/pulls/9/commits","review_comments_url":"https://api.github.com/repos/guardian/discussion-avatar/pulls/9/comments","review_comment_url":"https://api.github.com/repos/guardian/discussion-avatar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guardian/discussion-avatar/issues/9/comments","statuses_url":"https://api.github.com/repos/guardian/discussion-avatar/statuses/ffc2526ae209603980aa3189b3d16579b114c9d6","head":{"label":"guardian:ns-order-asc","ref":"ns-order-asc","sha":"ffc2526ae209603980aa3189b3d16579b114c9d6","user":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":42316479,"name":"discussion-avatar","full_name":"guardian/discussion-avatar","owner":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/discussion-avatar","description":"Avatar API","fork":false,"url":"https://api.github.com/repos/guardian/discussion-avatar","forks_url":"https://api.github.com/repos/guardian/discussion-avatar/forks","keys_url":"https://api.github.com/repos/guardian/discussion-avatar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/discussion-avatar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/discussion-avatar/teams","hooks_url":"https://api.github.com/repos/guardian/discussion-avatar/hooks","issue_events_url":"https://api.github.com/repos/guardian/discussion-avatar/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/discussion-avatar/events","assignees_url":"https://api.github.com/repos/guardian/discussion-avatar/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/discussion-avatar/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/discussion-avatar/tags","blobs_url":"https://api.github.com/repos/guardian/discussion-avatar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/discussion-avatar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/discussion-avatar/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/discussion-avatar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/discussion-avatar/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/discussion-avatar/languages","stargazers_url":"https://api.github.com/repos/guardian/discussion-avatar/stargazers","contributors_url":"https://api.github.com/repos/guardian/discussion-avatar/contributors","subscribers_url":"https://api.github.com/repos/guardian/discussion-avatar/subscribers","subscription_url":"https://api.github.com/repos/guardian/discussion-avatar/subscription","commits_url":"https://api.github.com/repos/guardian/discussion-avatar/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/discussion-avatar/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/discussion-avatar/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/discussion-avatar/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/discussion-avatar/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/discussion-avatar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/discussion-avatar/merges","archive_url":"https://api.github.com/repos/guardian/discussion-avatar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/discussion-avatar/downloads","issues_url":"https://api.github.com/repos/guardian/discussion-avatar/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/discussion-avatar/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/discussion-avatar/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/discussion-avatar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/discussion-avatar/labels{/name}","releases_url":"https://api.github.com/repos/guardian/discussion-avatar/releases{/id}","deployments_url":"https://api.github.com/repos/guardian/discussion-avatar/deployments","created_at":"2015-09-11T15:28:23Z","updated_at":"2016-01-18T10:38:32Z","pushed_at":"2016-09-20T13:54:20Z","git_url":"git://github.com/guardian/discussion-avatar.git","ssh_url":"git@github.com:guardian/discussion-avatar.git","clone_url":"https://github.com/guardian/discussion-avatar.git","svn_url":"https://github.com/guardian/discussion-avatar","homepage":"","size":29624,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"guardian:master","ref":"master","sha":"b21c014f3177b11ada1dd6fe1662aa29bc3c8c5b","user":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":42316479,"name":"discussion-avatar","full_name":"guardian/discussion-avatar","owner":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/discussion-avatar","description":"Avatar API","fork":false,"url":"https://api.github.com/repos/guardian/discussion-avatar","forks_url":"https://api.github.com/repos/guardian/discussion-avatar/forks","keys_url":"https://api.github.com/repos/guardian/discussion-avatar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/discussion-avatar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/discussion-avatar/teams","hooks_url":"https://api.github.com/repos/guardian/discussion-avatar/hooks","issue_events_url":"https://api.github.com/repos/guardian/discussion-avatar/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/discussion-avatar/events","assignees_url":"https://api.github.com/repos/guardian/discussion-avatar/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/discussion-avatar/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/discussion-avatar/tags","blobs_url":"https://api.github.com/repos/guardian/discussion-avatar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/discussion-avatar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/discussion-avatar/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/discussion-avatar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/discussion-avatar/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/discussion-avatar/languages","stargazers_url":"https://api.github.com/repos/guardian/discussion-avatar/stargazers","contributors_url":"https://api.github.com/repos/guardian/discussion-avatar/contributors","subscribers_url":"https://api.github.com/repos/guardian/discussion-avatar/subscribers","subscription_url":"https://api.github.com/repos/guardian/discussion-avatar/subscription","commits_url":"https://api.github.com/repos/guardian/discussion-avatar/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/discussion-avatar/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/discussion-avatar/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/discussion-avatar/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/discussion-avatar/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/discussion-avatar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/discussion-avatar/merges","archive_url":"https://api.github.com/repos/guardian/discussion-avatar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/discussion-avatar/downloads","issues_url":"https://api.github.com/repos/guardian/discussion-avatar/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/discussion-avatar/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/discussion-avatar/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/discussion-avatar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/discussion-avatar/labels{/name}","releases_url":"https://api.github.com/repos/guardian/discussion-avatar/releases{/id}","deployments_url":"https://api.github.com/repos/guardian/discussion-avatar/deployments","created_at":"2015-09-11T15:28:23Z","updated_at":"2016-01-18T10:38:32Z","pushed_at":"2016-09-20T13:54:20Z","git_url":"git://github.com/guardian/discussion-avatar.git","ssh_url":"git@github.com:guardian/discussion-avatar.git","clone_url":"https://github.com/guardian/discussion-avatar.git","svn_url":"https://github.com/guardian/discussion-avatar","homepage":"","size":29624,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/guardian/discussion-avatar/pulls/9"},"html":{"href":"https://github.com/guardian/discussion-avatar/pull/9"},"issue":{"href":"https://api.github.com/repos/guardian/discussion-avatar/issues/9"},"comments":{"href":"https://api.github.com/repos/guardian/discussion-avatar/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/guardian/discussion-avatar/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/guardian/discussion-avatar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guardian/discussion-avatar/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/guardian/discussion-avatar/statuses/ffc2526ae209603980aa3189b3d16579b114c9d6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":45,"deletions":13,"changed_files":6}}
{"actor":{"display_login":"satterly"}}