{"action":"created","comment":{"url":"https://api.github.com/repos/atlasapi/atlas/pulls/comments/52161815","id":52161815,"diff_hunk":"@@ -0,0 +1,189 @@\n+package org.atlasapi.remotesite.pa;\n+\n+import java.util.Set;\n+\n+import org.atlasapi.media.entity.Topic;\n+import org.atlasapi.media.entity.TopicRef;\n+\n+import com.google.api.client.util.Sets;\n+import com.google.common.collect.ImmutableMap;\n+import com.google.common.collect.ImmutableSet;\n+\n+/** PA genre map for MetaBroadcast tags.\n+ *\n+ * This class is used in PaProgrammeProcessor for mapping the PA genres to\n+ * MetaBroadcast tags for the brand, episode and series content. This is done\n+ * so that we can use PA content in the content prioritization algorithm. This\n+ * further would allow us to filter the PA content by the priority.\n+ */\n+public class PaTagMap {\n+\n+    private final ImmutableMap<String, String> paTagMap;\n+    private final String TOPIC = \"gb:pa:stage:\";\n+\n+    public PaTagMap() {\n+        ImmutableMap.Builder<String, String> mapBuilder = ImmutableMap.builder();\n+\n+        // Films genre mapping\n+        mapBuilder.put(\"http://pressassociation.com/genres/BF01\", \"films\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/1F18\", \"bollywood-world\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/1F06\", \"family\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/1F03\", \"horror\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/1F1A\", \"indie\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/1600\", \"romance\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/1300\", \"scifi\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/1400\", \"comedy\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/1000\", \"drama\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/1F19\", \"factual\");\n+        mapBuilder.put( \"http://pressassociation.com/genres/4000\", \"sport\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/1F0A\", \"thriller\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/1F10\", \"war\");\n+\n+        // Factual genre mapping\n+        mapBuilder.put(\"http://pressassociation.com/genres/9000\", \"factual\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/7000\", \"arts\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/2200\", \"current-affairs-politics\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/2300\", \"current-affairs-politics\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/2F07\", \"current-affairs-politics\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/2F08\", \"current-affairs-politics\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/8000\", \"current-affairs-politics\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/8200\", \"current-affairs-politics\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/9F05\", \"history-biogs\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/9F00\", \"learning\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/9100\", \"nature-environment\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/9F07\", \"nature-environment\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/9F08\", \"nature-environment\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/9F09\", \"nature-environment\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/9F0A\", \"nature-environment\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/7400\", \"people-society\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/9500\", \"religion-ethics\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/9200\", \"science-tech\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/9400\", \"travel\");\n+\n+        // Lifestyle genre mapping\n+        mapBuilder.put(\"http://pressassociation.com/genres/A000\", \"lifestyle\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/9F0B\", \"family-friends\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/A500\", \"food-drink\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/A400\", \"health-beauty\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/A700\", \"home-garden\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/AF00\", \"home-garden\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/AF03\", \"home-garden\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/AF01\", \"home-garden\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/A200\", \"home-garden\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/A100\", \"leisure-holidays\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/A300\", \"motors-gadgets\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/AF02\", \"motors-gadgets\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/A600\", \"shopping-fashion\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/7B00\", \"shopping-fashion\");\n+\n+        // Sport genre mapping\n+        mapBuilder.put(\"http://pressassociation.com/genres/4000\", \"sport\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/4F0C\", \"cricket\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/4F0D\", \"cricket\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/4300\", \"football\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/4F15\", \"football\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/4F16\", \"football\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/4F19\", \"golf\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/4F1D\", \"horse-racing\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/4700\", \"motorsport\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/4F17\", \"motorsport\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/4F21\", \"motorsport\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/4F2B\", \"motorsport\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/4200\", \"news-roundups\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/4F2D\", \"rugby-league\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/4F2E\", \"rugby-league\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/4F2F\", \"rugby-union\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/4F30\", \"rugby-union\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/4100\", \"sports-events\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/4F24\", \"sports-events\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/4400\", \"tennis\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/4900\", \"winter-extreme-sports\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/4F11\", \"winter-extreme-sports\");\n+\n+        // Childrens genre mapping\n+        mapBuilder.put(\"http://pressassociation.com/genres/5000\", \"childrens\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/5500\", \"cartoons\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/5F00\", \"drama\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/5F01\", \"funnies\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/5F02\", \"games-quizzes\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/5400\", \"kids-learning\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/5100\", \"pre-school\");\n+\n+        // Comedy genre mapping\n+        mapBuilder.put(\"http://pressassociation.com/genres/1400\", \"comedy\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/1F01\", \"animated\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/1600\", \"romcom\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/1F12\", \"sitcom-sketch\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/3F05\", \"stand-up\");\n+\n+        // Drama genre mapping\n+        mapBuilder.put(\"http://pressassociation.com/genres/1000\", \"drama-soap\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/1100\", \"crime\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/1F17\", \"historical-period\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/1F07\", \"medical\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/1600\", \"romance\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/1300\", \"scifi\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/1500\", \"soap\");\n+\n+        // Entertainment genre mapping\n+        mapBuilder.put(\"http://pressassociation.com/genres/3000\", \"entertainment\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/3300\", \"chat-shows\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/3100\", \"games-quizzes\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/3200\", \"talent-variety\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/3F03\", \"celeb-reality\");\n+\n+        // Music genre mapping\n+        mapBuilder.put(\"http://pressassociation.com/genres/6000\", \"music\");\n+\n+        // News genre mapping\n+        mapBuilder.put(\"http://pressassociation.com/genres/2F02\", \"news-weather\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/2F03\", \"news-weather\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/2F04\", \"news-weather\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/2F05\", \"news-weather\");\n+        mapBuilder.put(\"http://pressassociation.com/genres/2F06\", \"news-weather\");\n+\n+        paTagMap = mapBuilder.build();\n+    }\n+\n+    /** This method maps PA content genres with MetaBroadcast tags.\n+     * This is done to get MetaBroadcast tags for a specific PA content. After that the\n+     * PA content tags are added to the PA content topicRef field.\n+     * @param genres - PA content genres that are used for mapping with MetaBroadcast tags.\n+     * @return set of MetaBroadcast tags as TopicRef objects for the PA content.\n+     */\n+    public Set<TopicRef> map(Set<String> genres) {\n+        Set<String> tags = Sets.newHashSet();\n+        for (String genre : genres) {\n+            if (genre.contains(\"http://pressassociation.com/genres/\")) {\n+                String tag = paTagMap.get(genre);\n+                if (tag != null) {\n+                    tags.add(tag);\n+                }\n+            }\n+        }\n+        // Checking if the tags set has only a one tag with the value - film, this means that it's action film.\n+        if (tags.size() == 1 && tags.contains(\"film\")) {\n+            tags.add(\"action\");\n+        }\n+        return getTopicRefFromTags(tags);\n+    }\n+\n+    /** This method is used for creating a set of TopicRefs from mapped tags.\n+     * This is done because we store MetaBroadcast tags as TopicRefs to the PA content.\n+     * @param mappedTags - mapped tags for the PA content.\n+     * @return set of MetaBroadcast tags as TopicRef objects for the PA content.\n+     */\n+    private Set<TopicRef> getTopicRefFromTags(Set<String> mappedTags) {\n+        ImmutableSet<String> tags = ImmutableSet.copyOf(mappedTags);\n+        if(tags.isEmpty()) {\n+            return ImmutableSet.of();\n+        }\n+\n+        ImmutableSet.Builder<TopicRef> topicRefBuilder = ImmutableSet.builder();\n+        for (String tag : tags) {\n+            topicRefBuilder.add(new TopicRef(new Topic(null, TOPIC + tag, tag), null, null, null));","path":"src/main/java/org/atlasapi/remotesite/pa/PaTagMap.java","position":184,"original_position":184,"commit_id":"2389c6cc1a6685b842c09bec58a8ee9e5f3e3526","original_commit_id":"2389c6cc1a6685b842c09bec58a8ee9e5f3e3526","user":{"login":"JamieAP","id":7925271,"avatar_url":"https://avatars.githubusercontent.com/u/7925271?v=3","gravatar_id":"","url":"https://api.github.com/users/JamieAP","html_url":"https://github.com/JamieAP","followers_url":"https://api.github.com/users/JamieAP/followers","following_url":"https://api.github.com/users/JamieAP/following{/other_user}","gists_url":"https://api.github.com/users/JamieAP/gists{/gist_id}","starred_url":"https://api.github.com/users/JamieAP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamieAP/subscriptions","organizations_url":"https://api.github.com/users/JamieAP/orgs","repos_url":"https://api.github.com/users/JamieAP/repos","events_url":"https://api.github.com/users/JamieAP/events{/privacy}","received_events_url":"https://api.github.com/users/JamieAP/received_events","type":"User","site_admin":false},"body":"We can make this nicer with: \r\n\r\n`\r\ntags.stream().map(tag -> new TopicRef(new Topic(null, TOPIC + tag, tag), null, null, null)).collect(ImmutableCollectors.toSet())`","created_at":"2016-02-08T12:15:02Z","updated_at":"2016-02-08T12:15:02Z","html_url":"https://github.com/atlasapi/atlas/pull/847#discussion_r52161815","pull_request_url":"https://api.github.com/repos/atlasapi/atlas/pulls/847","_links":{"self":{"href":"https://api.github.com/repos/atlasapi/atlas/pulls/comments/52161815"},"html":{"href":"https://github.com/atlasapi/atlas/pull/847#discussion_r52161815"},"pull_request":{"href":"https://api.github.com/repos/atlasapi/atlas/pulls/847"}}},"pull_request":{"url":"https://api.github.com/repos/atlasapi/atlas/pulls/847","id":58595492,"html_url":"https://github.com/atlasapi/atlas/pull/847","diff_url":"https://github.com/atlasapi/atlas/pull/847.diff","patch_url":"https://github.com/atlasapi/atlas/pull/847.patch","issue_url":"https://api.github.com/repos/atlasapi/atlas/issues/847","number":847,"state":"open","locked":false,"title":"Mbst 13163 adding pa genre mapper for mb tags","user":{"login":"MartinsIrbe","id":13367583,"avatar_url":"https://avatars.githubusercontent.com/u/13367583?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinsIrbe","html_url":"https://github.com/MartinsIrbe","followers_url":"https://api.github.com/users/MartinsIrbe/followers","following_url":"https://api.github.com/users/MartinsIrbe/following{/other_user}","gists_url":"https://api.github.com/users/MartinsIrbe/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinsIrbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinsIrbe/subscriptions","organizations_url":"https://api.github.com/users/MartinsIrbe/orgs","repos_url":"https://api.github.com/users/MartinsIrbe/repos","events_url":"https://api.github.com/users/MartinsIrbe/events{/privacy}","received_events_url":"https://api.github.com/users/MartinsIrbe/received_events","type":"User","site_admin":false},"body":"Updated the logic to store the tags as TopicRefs.","created_at":"2016-02-08T11:07:53Z","updated_at":"2016-02-08T12:15:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a692e19dd97c9fecc4f4a62b43937bb6c96a5127","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/atlasapi/atlas/pulls/847/commits","review_comments_url":"https://api.github.com/repos/atlasapi/atlas/pulls/847/comments","review_comment_url":"https://api.github.com/repos/atlasapi/atlas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/atlasapi/atlas/issues/847/comments","statuses_url":"https://api.github.com/repos/atlasapi/atlas/statuses/2389c6cc1a6685b842c09bec58a8ee9e5f3e3526","head":{"label":"atlasapi:MBST-13163-adding-pa-genre-mapper-for-mb-tags","ref":"MBST-13163-adding-pa-genre-mapper-for-mb-tags","sha":"2389c6cc1a6685b842c09bec58a8ee9e5f3e3526","user":{"login":"atlasapi","id":325129,"avatar_url":"https://avatars.githubusercontent.com/u/325129?v=3","gravatar_id":"","url":"https://api.github.com/users/atlasapi","html_url":"https://github.com/atlasapi","followers_url":"https://api.github.com/users/atlasapi/followers","following_url":"https://api.github.com/users/atlasapi/following{/other_user}","gists_url":"https://api.github.com/users/atlasapi/gists{/gist_id}","starred_url":"https://api.github.com/users/atlasapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atlasapi/subscriptions","organizations_url":"https://api.github.com/users/atlasapi/orgs","repos_url":"https://api.github.com/users/atlasapi/repos","events_url":"https://api.github.com/users/atlasapi/events{/privacy}","received_events_url":"https://api.github.com/users/atlasapi/received_events","type":"Organization","site_admin":false},"repo":{"id":762119,"name":"atlas","full_name":"atlasapi/atlas","owner":{"login":"atlasapi","id":325129,"avatar_url":"https://avatars.githubusercontent.com/u/325129?v=3","gravatar_id":"","url":"https://api.github.com/users/atlasapi","html_url":"https://github.com/atlasapi","followers_url":"https://api.github.com/users/atlasapi/followers","following_url":"https://api.github.com/users/atlasapi/following{/other_user}","gists_url":"https://api.github.com/users/atlasapi/gists{/gist_id}","starred_url":"https://api.github.com/users/atlasapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atlasapi/subscriptions","organizations_url":"https://api.github.com/users/atlasapi/orgs","repos_url":"https://api.github.com/users/atlasapi/repos","events_url":"https://api.github.com/users/atlasapi/events{/privacy}","received_events_url":"https://api.github.com/users/atlasapi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atlasapi/atlas","description":"the global video & audio index","fork":false,"url":"https://api.github.com/repos/atlasapi/atlas","forks_url":"https://api.github.com/repos/atlasapi/atlas/forks","keys_url":"https://api.github.com/repos/atlasapi/atlas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atlasapi/atlas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atlasapi/atlas/teams","hooks_url":"https://api.github.com/repos/atlasapi/atlas/hooks","issue_events_url":"https://api.github.com/repos/atlasapi/atlas/issues/events{/number}","events_url":"https://api.github.com/repos/atlasapi/atlas/events","assignees_url":"https://api.github.com/repos/atlasapi/atlas/assignees{/user}","branches_url":"https://api.github.com/repos/atlasapi/atlas/branches{/branch}","tags_url":"https://api.github.com/repos/atlasapi/atlas/tags","blobs_url":"https://api.github.com/repos/atlasapi/atlas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atlasapi/atlas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atlasapi/atlas/git/refs{/sha}","trees_url":"https://api.github.com/repos/atlasapi/atlas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atlasapi/atlas/statuses/{sha}","languages_url":"https://api.github.com/repos/atlasapi/atlas/languages","stargazers_url":"https://api.github.com/repos/atlasapi/atlas/stargazers","contributors_url":"https://api.github.com/repos/atlasapi/atlas/contributors","subscribers_url":"https://api.github.com/repos/atlasapi/atlas/subscribers","subscription_url":"https://api.github.com/repos/atlasapi/atlas/subscription","commits_url":"https://api.github.com/repos/atlasapi/atlas/commits{/sha}","git_commits_url":"https://api.github.com/repos/atlasapi/atlas/git/commits{/sha}","comments_url":"https://api.github.com/repos/atlasapi/atlas/comments{/number}","issue_comment_url":"https://api.github.com/repos/atlasapi/atlas/issues/comments{/number}","contents_url":"https://api.github.com/repos/atlasapi/atlas/contents/{+path}","compare_url":"https://api.github.com/repos/atlasapi/atlas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atlasapi/atlas/merges","archive_url":"https://api.github.com/repos/atlasapi/atlas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atlasapi/atlas/downloads","issues_url":"https://api.github.com/repos/atlasapi/atlas/issues{/number}","pulls_url":"https://api.github.com/repos/atlasapi/atlas/pulls{/number}","milestones_url":"https://api.github.com/repos/atlasapi/atlas/milestones{/number}","notifications_url":"https://api.github.com/repos/atlasapi/atlas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atlasapi/atlas/labels{/name}","releases_url":"https://api.github.com/repos/atlasapi/atlas/releases{/id}","deployments_url":"https://api.github.com/repos/atlasapi/atlas/deployments","created_at":"2010-07-07T16:28:33Z","updated_at":"2015-05-19T10:17:14Z","pushed_at":"2016-02-08T11:57:31Z","git_url":"git://github.com/atlasapi/atlas.git","ssh_url":"git@github.com:atlasapi/atlas.git","clone_url":"https://github.com/atlasapi/atlas.git","svn_url":"https://github.com/atlasapi/atlas","homepage":"http://atlas.metabroadcast.com/","size":23021,"stargazers_count":28,"watchers_count":28,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":22,"forks":9,"open_issues":22,"watchers":28,"default_branch":"master"}},"base":{"label":"atlasapi:master","ref":"master","sha":"621b37f9dc6a310a791191feb4a628a9835e5c2b","user":{"login":"atlasapi","id":325129,"avatar_url":"https://avatars.githubusercontent.com/u/325129?v=3","gravatar_id":"","url":"https://api.github.com/users/atlasapi","html_url":"https://github.com/atlasapi","followers_url":"https://api.github.com/users/atlasapi/followers","following_url":"https://api.github.com/users/atlasapi/following{/other_user}","gists_url":"https://api.github.com/users/atlasapi/gists{/gist_id}","starred_url":"https://api.github.com/users/atlasapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atlasapi/subscriptions","organizations_url":"https://api.github.com/users/atlasapi/orgs","repos_url":"https://api.github.com/users/atlasapi/repos","events_url":"https://api.github.com/users/atlasapi/events{/privacy}","received_events_url":"https://api.github.com/users/atlasapi/received_events","type":"Organization","site_admin":false},"repo":{"id":762119,"name":"atlas","full_name":"atlasapi/atlas","owner":{"login":"atlasapi","id":325129,"avatar_url":"https://avatars.githubusercontent.com/u/325129?v=3","gravatar_id":"","url":"https://api.github.com/users/atlasapi","html_url":"https://github.com/atlasapi","followers_url":"https://api.github.com/users/atlasapi/followers","following_url":"https://api.github.com/users/atlasapi/following{/other_user}","gists_url":"https://api.github.com/users/atlasapi/gists{/gist_id}","starred_url":"https://api.github.com/users/atlasapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atlasapi/subscriptions","organizations_url":"https://api.github.com/users/atlasapi/orgs","repos_url":"https://api.github.com/users/atlasapi/repos","events_url":"https://api.github.com/users/atlasapi/events{/privacy}","received_events_url":"https://api.github.com/users/atlasapi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atlasapi/atlas","description":"the global video & audio index","fork":false,"url":"https://api.github.com/repos/atlasapi/atlas","forks_url":"https://api.github.com/repos/atlasapi/atlas/forks","keys_url":"https://api.github.com/repos/atlasapi/atlas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atlasapi/atlas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atlasapi/atlas/teams","hooks_url":"https://api.github.com/repos/atlasapi/atlas/hooks","issue_events_url":"https://api.github.com/repos/atlasapi/atlas/issues/events{/number}","events_url":"https://api.github.com/repos/atlasapi/atlas/events","assignees_url":"https://api.github.com/repos/atlasapi/atlas/assignees{/user}","branches_url":"https://api.github.com/repos/atlasapi/atlas/branches{/branch}","tags_url":"https://api.github.com/repos/atlasapi/atlas/tags","blobs_url":"https://api.github.com/repos/atlasapi/atlas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atlasapi/atlas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atlasapi/atlas/git/refs{/sha}","trees_url":"https://api.github.com/repos/atlasapi/atlas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atlasapi/atlas/statuses/{sha}","languages_url":"https://api.github.com/repos/atlasapi/atlas/languages","stargazers_url":"https://api.github.com/repos/atlasapi/atlas/stargazers","contributors_url":"https://api.github.com/repos/atlasapi/atlas/contributors","subscribers_url":"https://api.github.com/repos/atlasapi/atlas/subscribers","subscription_url":"https://api.github.com/repos/atlasapi/atlas/subscription","commits_url":"https://api.github.com/repos/atlasapi/atlas/commits{/sha}","git_commits_url":"https://api.github.com/repos/atlasapi/atlas/git/commits{/sha}","comments_url":"https://api.github.com/repos/atlasapi/atlas/comments{/number}","issue_comment_url":"https://api.github.com/repos/atlasapi/atlas/issues/comments{/number}","contents_url":"https://api.github.com/repos/atlasapi/atlas/contents/{+path}","compare_url":"https://api.github.com/repos/atlasapi/atlas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atlasapi/atlas/merges","archive_url":"https://api.github.com/repos/atlasapi/atlas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atlasapi/atlas/downloads","issues_url":"https://api.github.com/repos/atlasapi/atlas/issues{/number}","pulls_url":"https://api.github.com/repos/atlasapi/atlas/pulls{/number}","milestones_url":"https://api.github.com/repos/atlasapi/atlas/milestones{/number}","notifications_url":"https://api.github.com/repos/atlasapi/atlas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atlasapi/atlas/labels{/name}","releases_url":"https://api.github.com/repos/atlasapi/atlas/releases{/id}","deployments_url":"https://api.github.com/repos/atlasapi/atlas/deployments","created_at":"2010-07-07T16:28:33Z","updated_at":"2015-05-19T10:17:14Z","pushed_at":"2016-02-08T11:57:31Z","git_url":"git://github.com/atlasapi/atlas.git","ssh_url":"git@github.com:atlasapi/atlas.git","clone_url":"https://github.com/atlasapi/atlas.git","svn_url":"https://github.com/atlasapi/atlas","homepage":"http://atlas.metabroadcast.com/","size":23021,"stargazers_count":28,"watchers_count":28,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":22,"forks":9,"open_issues":22,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/atlasapi/atlas/pulls/847"},"html":{"href":"https://github.com/atlasapi/atlas/pull/847"},"issue":{"href":"https://api.github.com/repos/atlasapi/atlas/issues/847"},"comments":{"href":"https://api.github.com/repos/atlasapi/atlas/issues/847/comments"},"review_comments":{"href":"https://api.github.com/repos/atlasapi/atlas/pulls/847/comments"},"review_comment":{"href":"https://api.github.com/repos/atlasapi/atlas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/atlasapi/atlas/pulls/847/commits"},"statuses":{"href":"https://api.github.com/repos/atlasapi/atlas/statuses/2389c6cc1a6685b842c09bec58a8ee9e5f3e3526"}}}}