{"action":"created","comment":{"url":"https://api.github.com/repos/fedora-infra/mirrormanager2/pulls/comments/31192949","id":31192949,"diff_hunk":"@@ -95,3 +95,63 @@ def api_mirroradmins():\n     jsonout = flask.jsonify(output)\n     jsonout.status_code = 200\n     return jsonout\n+\n+\n+@APP.route('/api/repositories/')\n+@APP.route('/api/repositories')","path":"mirrormanager2/api.py","position":7,"original_position":7,"commit_id":"88275a37f785ad6208a565bcd1553d0c261c8807","original_commit_id":"88275a37f785ad6208a565bcd1553d0c261c8807","user":{"login":"oddshocks","id":1376599,"avatar_url":"https://avatars.githubusercontent.com/u/1376599?v=3","gravatar_id":"","url":"https://api.github.com/users/oddshocks","html_url":"https://github.com/oddshocks","followers_url":"https://api.github.com/users/oddshocks/followers","following_url":"https://api.github.com/users/oddshocks/following{/other_user}","gists_url":"https://api.github.com/users/oddshocks/gists{/gist_id}","starred_url":"https://api.github.com/users/oddshocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oddshocks/subscriptions","organizations_url":"https://api.github.com/users/oddshocks/orgs","repos_url":"https://api.github.com/users/oddshocks/repos","events_url":"https://api.github.com/users/oddshocks/events{/privacy}","received_events_url":"https://api.github.com/users/oddshocks/received_events","type":"User","site_admin":false},"body":"Is something like this always required? Or only in some cases? (just curious, never had to do this)","created_at":"2015-05-28T00:01:36Z","updated_at":"2015-05-28T00:01:36Z","html_url":"https://github.com/fedora-infra/mirrormanager2/pull/91#discussion_r31192949","pull_request_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/pulls/91","_links":{"self":{"href":"https://api.github.com/repos/fedora-infra/mirrormanager2/pulls/comments/31192949"},"html":{"href":"https://github.com/fedora-infra/mirrormanager2/pull/91#discussion_r31192949"},"pull_request":{"href":"https://api.github.com/repos/fedora-infra/mirrormanager2/pulls/91"}}},"pull_request":{"url":"https://api.github.com/repos/fedora-infra/mirrormanager2/pulls/91","id":36311219,"html_url":"https://github.com/fedora-infra/mirrormanager2/pull/91","diff_url":"https://github.com/fedora-infra/mirrormanager2/pull/91.diff","patch_url":"https://github.com/fedora-infra/mirrormanager2/pull/91.patch","issue_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/issues/91","number":91,"state":"open","locked":false,"title":"Add a new API endpoint listing the repositories","user":{"login":"pypingou","id":1240038,"avatar_url":"https://avatars.githubusercontent.com/u/1240038?v=3","gravatar_id":"","url":"https://api.github.com/users/pypingou","html_url":"https://github.com/pypingou","followers_url":"https://api.github.com/users/pypingou/followers","following_url":"https://api.github.com/users/pypingou/following{/other_user}","gists_url":"https://api.github.com/users/pypingou/gists{/gist_id}","starred_url":"https://api.github.com/users/pypingou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pypingou/subscriptions","organizations_url":"https://api.github.com/users/pypingou/orgs","repos_url":"https://api.github.com/users/pypingou/repos","events_url":"https://api.github.com/users/pypingou/events{/privacy}","received_events_url":"https://api.github.com/users/pypingou/received_events","type":"User","site_admin":false},"body":"This endpoint can be used to check the status of mirrormanager's UI\r\n\r\nFixes https://github.com/fedora-infra/mirrormanager2/issues/83","created_at":"2015-05-27T14:45:08Z","updated_at":"2015-05-28T00:01:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5cf79e6b27cdfdfc665a94b52d7f1b4922ce4c38","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/pulls/91/commits","review_comments_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/pulls/91/comments","review_comment_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/issues/91/comments","statuses_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/statuses/88275a37f785ad6208a565bcd1553d0c261c8807","head":{"label":"fedora-infra:api_repositories","ref":"api_repositories","sha":"88275a37f785ad6208a565bcd1553d0c261c8807","user":{"login":"fedora-infra","id":3316637,"avatar_url":"https://avatars.githubusercontent.com/u/3316637?v=3","gravatar_id":"","url":"https://api.github.com/users/fedora-infra","html_url":"https://github.com/fedora-infra","followers_url":"https://api.github.com/users/fedora-infra/followers","following_url":"https://api.github.com/users/fedora-infra/following{/other_user}","gists_url":"https://api.github.com/users/fedora-infra/gists{/gist_id}","starred_url":"https://api.github.com/users/fedora-infra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedora-infra/subscriptions","organizations_url":"https://api.github.com/users/fedora-infra/orgs","repos_url":"https://api.github.com/users/fedora-infra/repos","events_url":"https://api.github.com/users/fedora-infra/events{/privacy}","received_events_url":"https://api.github.com/users/fedora-infra/received_events","type":"Organization","site_admin":false},"repo":{"id":19425076,"name":"mirrormanager2","full_name":"fedora-infra/mirrormanager2","owner":{"login":"fedora-infra","id":3316637,"avatar_url":"https://avatars.githubusercontent.com/u/3316637?v=3","gravatar_id":"","url":"https://api.github.com/users/fedora-infra","html_url":"https://github.com/fedora-infra","followers_url":"https://api.github.com/users/fedora-infra/followers","following_url":"https://api.github.com/users/fedora-infra/following{/other_user}","gists_url":"https://api.github.com/users/fedora-infra/gists{/gist_id}","starred_url":"https://api.github.com/users/fedora-infra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedora-infra/subscriptions","organizations_url":"https://api.github.com/users/fedora-infra/orgs","repos_url":"https://api.github.com/users/fedora-infra/repos","events_url":"https://api.github.com/users/fedora-infra/events{/privacy}","received_events_url":"https://api.github.com/users/fedora-infra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fedora-infra/mirrormanager2","description":"Rewrite of the MirrorManager application in Flask and SQLAlchemy","fork":false,"url":"https://api.github.com/repos/fedora-infra/mirrormanager2","forks_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/forks","keys_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/teams","hooks_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/hooks","issue_events_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/issues/events{/number}","events_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/events","assignees_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/assignees{/user}","branches_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/branches{/branch}","tags_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/tags","blobs_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/git/refs{/sha}","trees_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/statuses/{sha}","languages_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/languages","stargazers_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/stargazers","contributors_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/contributors","subscribers_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/subscribers","subscription_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/subscription","commits_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/commits{/sha}","git_commits_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/git/commits{/sha}","comments_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/comments{/number}","issue_comment_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/issues/comments{/number}","contents_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/contents/{+path}","compare_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/merges","archive_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/downloads","issues_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/issues{/number}","pulls_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/pulls{/number}","milestones_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/milestones{/number}","notifications_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/labels{/name}","releases_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/releases{/id}","created_at":"2014-05-04T11:26:26Z","updated_at":"2015-05-14T14:01:01Z","pushed_at":"2015-05-27T14:54:04Z","git_url":"git://github.com/fedora-infra/mirrormanager2.git","ssh_url":"git@github.com:fedora-infra/mirrormanager2.git","clone_url":"https://github.com/fedora-infra/mirrormanager2.git","svn_url":"https://github.com/fedora-infra/mirrormanager2","homepage":"https://fedorahosted.org/mirrormanager/","size":33819,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":11,"forks":7,"open_issues":11,"watchers":3,"default_branch":"master"}},"base":{"label":"fedora-infra:master","ref":"master","sha":"c6fdbcfab25c36d0b3ea8fa4e527743ec96a5f49","user":{"login":"fedora-infra","id":3316637,"avatar_url":"https://avatars.githubusercontent.com/u/3316637?v=3","gravatar_id":"","url":"https://api.github.com/users/fedora-infra","html_url":"https://github.com/fedora-infra","followers_url":"https://api.github.com/users/fedora-infra/followers","following_url":"https://api.github.com/users/fedora-infra/following{/other_user}","gists_url":"https://api.github.com/users/fedora-infra/gists{/gist_id}","starred_url":"https://api.github.com/users/fedora-infra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedora-infra/subscriptions","organizations_url":"https://api.github.com/users/fedora-infra/orgs","repos_url":"https://api.github.com/users/fedora-infra/repos","events_url":"https://api.github.com/users/fedora-infra/events{/privacy}","received_events_url":"https://api.github.com/users/fedora-infra/received_events","type":"Organization","site_admin":false},"repo":{"id":19425076,"name":"mirrormanager2","full_name":"fedora-infra/mirrormanager2","owner":{"login":"fedora-infra","id":3316637,"avatar_url":"https://avatars.githubusercontent.com/u/3316637?v=3","gravatar_id":"","url":"https://api.github.com/users/fedora-infra","html_url":"https://github.com/fedora-infra","followers_url":"https://api.github.com/users/fedora-infra/followers","following_url":"https://api.github.com/users/fedora-infra/following{/other_user}","gists_url":"https://api.github.com/users/fedora-infra/gists{/gist_id}","starred_url":"https://api.github.com/users/fedora-infra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedora-infra/subscriptions","organizations_url":"https://api.github.com/users/fedora-infra/orgs","repos_url":"https://api.github.com/users/fedora-infra/repos","events_url":"https://api.github.com/users/fedora-infra/events{/privacy}","received_events_url":"https://api.github.com/users/fedora-infra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fedora-infra/mirrormanager2","description":"Rewrite of the MirrorManager application in Flask and SQLAlchemy","fork":false,"url":"https://api.github.com/repos/fedora-infra/mirrormanager2","forks_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/forks","keys_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/teams","hooks_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/hooks","issue_events_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/issues/events{/number}","events_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/events","assignees_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/assignees{/user}","branches_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/branches{/branch}","tags_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/tags","blobs_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/git/refs{/sha}","trees_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/statuses/{sha}","languages_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/languages","stargazers_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/stargazers","contributors_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/contributors","subscribers_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/subscribers","subscription_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/subscription","commits_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/commits{/sha}","git_commits_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/git/commits{/sha}","comments_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/comments{/number}","issue_comment_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/issues/comments{/number}","contents_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/contents/{+path}","compare_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/merges","archive_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/downloads","issues_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/issues{/number}","pulls_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/pulls{/number}","milestones_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/milestones{/number}","notifications_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/labels{/name}","releases_url":"https://api.github.com/repos/fedora-infra/mirrormanager2/releases{/id}","created_at":"2014-05-04T11:26:26Z","updated_at":"2015-05-14T14:01:01Z","pushed_at":"2015-05-27T14:54:04Z","git_url":"git://github.com/fedora-infra/mirrormanager2.git","ssh_url":"git@github.com:fedora-infra/mirrormanager2.git","clone_url":"https://github.com/fedora-infra/mirrormanager2.git","svn_url":"https://github.com/fedora-infra/mirrormanager2","homepage":"https://fedorahosted.org/mirrormanager/","size":33819,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":11,"forks":7,"open_issues":11,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fedora-infra/mirrormanager2/pulls/91"},"html":{"href":"https://github.com/fedora-infra/mirrormanager2/pull/91"},"issue":{"href":"https://api.github.com/repos/fedora-infra/mirrormanager2/issues/91"},"comments":{"href":"https://api.github.com/repos/fedora-infra/mirrormanager2/issues/91/comments"},"review_comments":{"href":"https://api.github.com/repos/fedora-infra/mirrormanager2/pulls/91/comments"},"review_comment":{"href":"https://api.github.com/repos/fedora-infra/mirrormanager2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fedora-infra/mirrormanager2/pulls/91/commits"},"statuses":{"href":"https://api.github.com/repos/fedora-infra/mirrormanager2/statuses/88275a37f785ad6208a565bcd1553d0c261c8807"}}}}