GitHub PullRequestReviewCommentEvent at 2014-11-05 15:36:03
Repository: go-ndoh
Actor: smn
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/praekelt/go-ndoh/pulls/comments/19880264","id":19880264,"diff_hunk":"@@ -1843,3 +1844,303 @@ describe(\"app\", function() {\n \n     });\n });\n+\n+describe(\"app\", function() {\n+    describe(\"for personal use when the FAQ browsing is turned off\", function() {\n+        var app;\n+        var tester;\n+\n+        beforeEach(function() {\n+            app = new go.app.GoNDOH();\n+            go.utils.get_timestamp = function() {\n+                return '20130819144811';\n+            };\n+            go.utils.get_uuid = function() {\n+                return 'b18c62b4-828e-4b52-25c9-725a1f43fb37';\n+            };\n+\n+            go.utils.get_oid = function(){\n+                return '2.25.169380846032024';\n+            };\n+\n+            tester = new AppTester(app);\n+\n+            tester\n+                .setup(function(api) {\n+                    api.resources.add(new DummyMessageStoreResource());\n+                    api.resources.add(new DummyOptoutResource());\n+                    api.resources.attach(api);\n+                    api.groups.add(\n+                        {\n+                            key: 'en_key',\n+                            name: 'en',\n+                        }\n+                    );\n+                    api.groups.add(\n+                        {\n+                            key: 'xh_key',\n+                            name: 'xh',\n+                        }\n+                    );\n+                })\n+                .setup.char_limit(160)\n+                .setup.config.app({\n+                    name: 'personal',\n+                    testing: 'true',\n+                    env: 'test',\n+                    metric_store: 'test_metric_store',\n+                    endpoints: {\n+                        \"sms\": {\"delivery_class\": \"sms\"}\n+                    },\n+                    channel: \"*134*550#\",\n+                    jembi: {\n+                        username: 'foo',\n+                        password: 'bar',\n+                        url: 'http://test/v2/',\n+                        url_json: 'http://test/v2/json/'\n+                    },\n+                    control: {\n+                        username: 'test_user',\n+                        api_key: 'test_key',\n+                        url: 'http://ndoh-control/api/v1/'\n+                    },\n+                    subscription: {\n+                        standard: 1,\n+                        later: 2,\n+                        accelerated: 3,\n+                        baby1: 4,\n+                        baby2: 5,\n+                        miscarriage: 6,\n+                        stillbirth: 7,\n+                        babyloss: 8,\n+                        subscription: 9,\n+                        chw: 10\n+                    },\n+                    rate: {\n+                        daily: 1,\n+                        one_per_week: 2,\n+                        two_per_week: 3,\n+                        three_per_week: 4,\n+                        four_per_week: 5,\n+                        five_per_week: 6\n+                    },\n+                    snappy: {\n+                        \"endpoint\": \"https://app.besnappy.com/api/v1/\",\n+                        \"username\": \"980d2423-292b-4c34-be81-c74784b9e99a\",\n+                        \"account_id\": \"1\",\n+                        \"default_faq\": \"1\"\n+                    },\n+                    faq_enabled: false\n+                })\n+                .setup(function(api) {\n+                    api.kv.store['test.clinic.unique_users'] = 0;\n+                    api.kv.store['test.chw.unique_users'] = 0;\n+                    api.kv.store['test.personal.unique_users'] = 0;\n+                    api.kv.store['test.personal.no_complete_registrations'] = 2;\n+                    api.kv.store['test.personal.no_incomplete_registrations'] = 2;\n+                })\n+                .setup(function(api) {\n+                    api.metrics.stores = {'test_metric_store': {}};\n+                })\n+                \n+                .setup(function(api) {\n+                    fixtures().forEach(api.http.fixtures.add);\n+                });\n+        });\n+\n+        describe(\"when visiting initially\", function() {\n+            it(\"there should be no option for it in menu\", function() {\n+                return tester\n+                    .setup(function(api) {\n+                        api.contacts.add({\n+                            msisdn: '+27821234444',\n+                            extra : {\n+                                language_choice: 'en',\n+                                is_registered: 'true',\n+                                is_registered_by: 'clinic',\n+                            },\n+                        });\n+                    })\n+                    .setup.user.addr('27821234444')\n+                    .inputs('1', null)\n+                    .check.interaction({\n+                        state: 'states_registered_full',\n+                        reply: [\n+                            'Welcome to the Department of Health\\'s ' +\n+                            'MomConnect. Please choose an option:',\n+                            '1. Send us a compliment',\n+                            '2. Send us a complaint'\n+                        ].join('\\n')\n+                    })\n+                    .run();\n+            });\n+        });\n+        describe(\"tries to send a compliment\", function() {\n+            it(\"should send them an sms with instructions, exit\", function() {\n+                return tester\n+                    .setup(function(api) {\n+                        api.contacts.add({\n+                            msisdn: '+27001',\n+                            extra : {\n+                                language_choice: 'en',\n+                                is_registered: 'true',\n+                                is_registered_by: 'clinic'\n+                            },\n+                        });\n+                    })\n+                    .setup.user.addr('27001')\n+                    .inputs(null, '1')\n+                    .check.interaction({\n+                        state: 'states_end_compliment',\n+                        reply: ('Thank you. We will send you a message ' +\n+                            'shortly with instructions on how to send ' +\n+                            'us your compliment.')\n+                    })\n+                    .check(function(api) {\n+                        var smses = _.where(api.outbound.store, {\n+                            endpoint: 'sms'\n+                        });\n+                        var sms = smses[0];\n+                        assert.equal(smses.length, 1);\n+                        assert.equal(sms.content,\n+                            'Please reply to this message with your compliment. If your compliment relates to the service at a clinic, tell us the name of the clinic or clinic worker.'\n+                        );\n+                    })\n+                    .check.reply.ends_session()\n+                    .run();\n+            });\n+        });\n+        describe(\"when the user has registered on clinic\", function() {\n+            it(\"should prompt for info / compliment / complaint\", function() {\n+                return tester\n+                    .setup(function(api) {\n+                        api.contacts.add({\n+                            msisdn: '+27001',\n+                            extra : {\n+                                language_choice: 'xh',\n+                                is_registered: 'true',\n+                                is_registered_by: 'clinic'\n+                            },\n+                        });\n+                    })\n+                    .setup.user.addr('27001')\n+                    .start()\n+                    .check.interaction({\n+                        state: 'states_registered_full',\n+                        reply: [\n+                            'Welcome to the Department of Health\\'s ' +\n+                            'MomConnect. Please choose an option:',\n+                            '1. Send us a compliment',\n+                            '2. Send us a complaint'\n+                        ].join('\\n')\n+                    })\n+                    .check.user.properties({lang: 'xh'})\n+                    .run();\n+            });\n+        });\n+        describe(\"when the user registered on chw/personal\", function() {\n+            it(\"should prompt for info / full message set\", function() {\n+                return tester\n+                    .setup(function(api) {\n+                        api.contacts.add({\n+                            msisdn: '+27001',\n+                            extra : {\n+                                language_choice: 'tn',\n+                                is_registered: 'true',\n+                                is_registered_by: 'personal'\n+                            },\n+                        });\n+                    })\n+                    .setup.user.addr('27001')\n+                    .start()\n+                    .check.interaction({\n+                        state: 'states_registered_not_full',\n+                        reply: [\n+                            'Welcome to the Department of Health\\'s ' +\n+                            'MomConnect. Choose an option:',\n+                            '1. Get the full set of messages'\n+                        ].join('\\n')\n+                    })\n+                    .check.user.properties({lang: 'tn'})\n+                    .run();\n+            });\n+        });\n+        describe(\"when the user selects english as language\", function() {\n+            it(\"should ask if they want to register or get info\", function() {\n+                return tester\n+                    .setup.user.addr('27001')\n+                    .inputs('start', '1')\n+                    .check.interaction({\n+                        state: 'states_register_info',\n+                        reply: [\n+                            'Welcome to the Department of Health\\'s ' +\n+                            'MomConnect. Please select:',\n+                            '1. Register for messages'\n+                        ].join('\\n')\n+                    })\n+                    .check.user.properties({lang: 'en'})\n+                    .check(function(api) {\n+                        var contact = api.contacts.store[0];\n+                        assert.equal(contact.extra.language_choice, 'en');\n+                        assert.equal(contact.extra.is_registered, 'false');\n+                    })\n+                    .check(function(api) {\n+                        var metrics = api.metrics.stores.test_metric_store;\n+                        assert.deepEqual(metrics['test.personal.percent_incomplete_registrations'].values, [60]);\n+                        assert.deepEqual(metrics['test.personal.percent_complete_registrations'].values, [40]);\n+                    })\n+                    .run();\n+            });\n+        });\n+        describe(\"when the user selects a different language\", function() {\n+            it(\"should ask if they want to register or get info\", function() {","path":"test/personal.test.js","position":263,"original_position":263,"commit_id":"aaa2c1e48e435dfaa78ee7f58508d50cc81a181e","original_commit_id":"aaa2c1e48e435dfaa78ee7f58508d50cc81a181e","user":{"login":"smn","id":1065,"avatar_url":"https://avatars.githubusercontent.com/u/1065?v=2","gravatar_id":"","url":"https://api.github.com/users/smn","html_url":"https://github.com/smn","followers_url":"https://api.github.com/users/smn/followers","following_url":"https://api.github.com/users/smn/following{/other_user}","gists_url":"https://api.github.com/users/smn/gists{/gist_id}","starred_url":"https://api.github.com/users/smn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smn/subscriptions","organizations_url":"https://api.github.com/users/smn/orgs","repos_url":"https://api.github.com/users/smn/repos","events_url":"https://api.github.com/users/smn/events{/privacy}","received_events_url":"https://api.github.com/users/smn/received_events","type":"User","site_admin":false},"body":"same here, copy paste bug I guess.","created_at":"2014-11-05T15:36:03Z","updated_at":"2014-11-05T15:36:03Z","html_url":"https://github.com/praekelt/go-ndoh/pull/128#discussion_r19880264","pull_request_url":"https://api.github.com/repos/praekelt/go-ndoh/pulls/128","_links":{"self":{"href":"https://api.github.com/repos/praekelt/go-ndoh/pulls/comments/19880264"},"html":{"href":"https://github.com/praekelt/go-ndoh/pull/128#discussion_r19880264"},"pull_request":{"href":"https://api.github.com/repos/praekelt/go-ndoh/pulls/128"}}},"pull_request":{"url":"https://api.github.com/repos/praekelt/go-ndoh/pulls/128","id":23912177,"html_url":"https://github.com/praekelt/go-ndoh/pull/128","diff_url":"https://github.com/praekelt/go-ndoh/pull/128.diff","patch_url":"https://github.com/praekelt/go-ndoh/pull/128.patch","issue_url":"https://api.github.com/repos/praekelt/go-ndoh/issues/128","number":128,"state":"open","locked":false,"title":"Disable FAQ browser on public","user":{"login":"imsickofmaps","id":1228977,"avatar_url":"https://avatars.githubusercontent.com/u/1228977?v=2","gravatar_id":"","url":"https://api.github.com/users/imsickofmaps","html_url":"https://github.com/imsickofmaps","followers_url":"https://api.github.com/users/imsickofmaps/followers","following_url":"https://api.github.com/users/imsickofmaps/following{/other_user}","gists_url":"https://api.github.com/users/imsickofmaps/gists{/gist_id}","starred_url":"https://api.github.com/users/imsickofmaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imsickofmaps/subscriptions","organizations_url":"https://api.github.com/users/imsickofmaps/orgs","repos_url":"https://api.github.com/users/imsickofmaps/repos","events_url":"https://api.github.com/users/imsickofmaps/events{/privacy}","received_events_url":"https://api.github.com/users/imsickofmaps/received_events","type":"User","site_admin":false},"body":"Add config flag so menu option only shows if true","created_at":"2014-11-05T15:13:43Z","updated_at":"2014-11-05T15:36:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6bd2d2d37fad375f70102f2284311c2f393c9a56","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/praekelt/go-ndoh/pulls/128/commits","review_comments_url":"https://api.github.com/repos/praekelt/go-ndoh/pulls/128/comments","review_comment_url":"https://api.github.com/repos/praekelt/go-ndoh/pulls/comments/{number}","comments_url":"https://api.github.com/repos/praekelt/go-ndoh/issues/128/comments","statuses_url":"https://api.github.com/repos/praekelt/go-ndoh/statuses/aaa2c1e48e435dfaa78ee7f58508d50cc81a181e","head":{"label":"praekelt:feature/issue-128-disable-faq-browser-on-public","ref":"feature/issue-128-disable-faq-browser-on-public","sha":"aaa2c1e48e435dfaa78ee7f58508d50cc81a181e","user":{"login":"praekelt","id":81810,"avatar_url":"https://avatars.githubusercontent.com/u/81810?v=2","gravatar_id":"","url":"https://api.github.com/users/praekelt","html_url":"https://github.com/praekelt","followers_url":"https://api.github.com/users/praekelt/followers","following_url":"https://api.github.com/users/praekelt/following{/other_user}","gists_url":"https://api.github.com/users/praekelt/gists{/gist_id}","starred_url":"https://api.github.com/users/praekelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekelt/subscriptions","organizations_url":"https://api.github.com/users/praekelt/orgs","repos_url":"https://api.github.com/users/praekelt/repos","events_url":"https://api.github.com/users/praekelt/events{/privacy}","received_events_url":"https://api.github.com/users/praekelt/received_events","type":"Organization","site_admin":false},"repo":{"id":12926446,"name":"go-ndoh","full_name":"praekelt/go-ndoh","owner":{"login":"praekelt","id":81810,"avatar_url":"https://avatars.githubusercontent.com/u/81810?v=2","gravatar_id":"","url":"https://api.github.com/users/praekelt","html_url":"https://github.com/praekelt","followers_url":"https://api.github.com/users/praekelt/followers","following_url":"https://api.github.com/users/praekelt/following{/other_user}","gists_url":"https://api.github.com/users/praekelt/gists{/gist_id}","starred_url":"https://api.github.com/users/praekelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekelt/subscriptions","organizations_url":"https://api.github.com/users/praekelt/orgs","repos_url":"https://api.github.com/users/praekelt/repos","events_url":"https://api.github.com/users/praekelt/events{/privacy}","received_events_url":"https://api.github.com/users/praekelt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/praekelt/go-ndoh","description":"Hack for GSMA / mHealth / NDOH Connectathon.","fork":false,"url":"https://api.github.com/repos/praekelt/go-ndoh","forks_url":"https://api.github.com/repos/praekelt/go-ndoh/forks","keys_url":"https://api.github.com/repos/praekelt/go-ndoh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/praekelt/go-ndoh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/praekelt/go-ndoh/teams","hooks_url":"https://api.github.com/repos/praekelt/go-ndoh/hooks","issue_events_url":"https://api.github.com/repos/praekelt/go-ndoh/issues/events{/number}","events_url":"https://api.github.com/repos/praekelt/go-ndoh/events","assignees_url":"https://api.github.com/repos/praekelt/go-ndoh/assignees{/user}","branches_url":"https://api.github.com/repos/praekelt/go-ndoh/branches{/branch}","tags_url":"https://api.github.com/repos/praekelt/go-ndoh/tags","blobs_url":"https://api.github.com/repos/praekelt/go-ndoh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/praekelt/go-ndoh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/praekelt/go-ndoh/git/refs{/sha}","trees_url":"https://api.github.com/repos/praekelt/go-ndoh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/praekelt/go-ndoh/statuses/{sha}","languages_url":"https://api.github.com/repos/praekelt/go-ndoh/languages","stargazers_url":"https://api.github.com/repos/praekelt/go-ndoh/stargazers","contributors_url":"https://api.github.com/repos/praekelt/go-ndoh/contributors","subscribers_url":"https://api.github.com/repos/praekelt/go-ndoh/subscribers","subscription_url":"https://api.github.com/repos/praekelt/go-ndoh/subscription","commits_url":"https://api.github.com/repos/praekelt/go-ndoh/commits{/sha}","git_commits_url":"https://api.github.com/repos/praekelt/go-ndoh/git/commits{/sha}","comments_url":"https://api.github.com/repos/praekelt/go-ndoh/comments{/number}","issue_comment_url":"https://api.github.com/repos/praekelt/go-ndoh/issues/comments/{number}","contents_url":"https://api.github.com/repos/praekelt/go-ndoh/contents/{+path}","compare_url":"https://api.github.com/repos/praekelt/go-ndoh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/praekelt/go-ndoh/merges","archive_url":"https://api.github.com/repos/praekelt/go-ndoh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/praekelt/go-ndoh/downloads","issues_url":"https://api.github.com/repos/praekelt/go-ndoh/issues{/number}","pulls_url":"https://api.github.com/repos/praekelt/go-ndoh/pulls{/number}","milestones_url":"https://api.github.com/repos/praekelt/go-ndoh/milestones{/number}","notifications_url":"https://api.github.com/repos/praekelt/go-ndoh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/praekelt/go-ndoh/labels{/name}","releases_url":"https://api.github.com/repos/praekelt/go-ndoh/releases{/id}","created_at":"2013-09-18T15:11:51Z","updated_at":"2014-09-05T10:02:51Z","pushed_at":"2014-11-05T15:16:26Z","git_url":"git://github.com/praekelt/go-ndoh.git","ssh_url":"git@github.com:praekelt/go-ndoh.git","clone_url":"https://github.com/praekelt/go-ndoh.git","svn_url":"https://github.com/praekelt/go-ndoh","homepage":"","size":6180,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":14,"forks":0,"open_issues":14,"watchers":0,"default_branch":"develop"}},"base":{"label":"praekelt:develop","ref":"develop","sha":"5b85ce773eab63406f1bff27fcadbe6f6d1014e7","user":{"login":"praekelt","id":81810,"avatar_url":"https://avatars.githubusercontent.com/u/81810?v=2","gravatar_id":"","url":"https://api.github.com/users/praekelt","html_url":"https://github.com/praekelt","followers_url":"https://api.github.com/users/praekelt/followers","following_url":"https://api.github.com/users/praekelt/following{/other_user}","gists_url":"https://api.github.com/users/praekelt/gists{/gist_id}","starred_url":"https://api.github.com/users/praekelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekelt/subscriptions","organizations_url":"https://api.github.com/users/praekelt/orgs","repos_url":"https://api.github.com/users/praekelt/repos","events_url":"https://api.github.com/users/praekelt/events{/privacy}","received_events_url":"https://api.github.com/users/praekelt/received_events","type":"Organization","site_admin":false},"repo":{"id":12926446,"name":"go-ndoh","full_name":"praekelt/go-ndoh","owner":{"login":"praekelt","id":81810,"avatar_url":"https://avatars.githubusercontent.com/u/81810?v=2","gravatar_id":"","url":"https://api.github.com/users/praekelt","html_url":"https://github.com/praekelt","followers_url":"https://api.github.com/users/praekelt/followers","following_url":"https://api.github.com/users/praekelt/following{/other_user}","gists_url":"https://api.github.com/users/praekelt/gists{/gist_id}","starred_url":"https://api.github.com/users/praekelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekelt/subscriptions","organizations_url":"https://api.github.com/users/praekelt/orgs","repos_url":"https://api.github.com/users/praekelt/repos","events_url":"https://api.github.com/users/praekelt/events{/privacy}","received_events_url":"https://api.github.com/users/praekelt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/praekelt/go-ndoh","description":"Hack for GSMA / mHealth / NDOH Connectathon.","fork":false,"url":"https://api.github.com/repos/praekelt/go-ndoh","forks_url":"https://api.github.com/repos/praekelt/go-ndoh/forks","keys_url":"https://api.github.com/repos/praekelt/go-ndoh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/praekelt/go-ndoh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/praekelt/go-ndoh/teams","hooks_url":"https://api.github.com/repos/praekelt/go-ndoh/hooks","issue_events_url":"https://api.github.com/repos/praekelt/go-ndoh/issues/events{/number}","events_url":"https://api.github.com/repos/praekelt/go-ndoh/events","assignees_url":"https://api.github.com/repos/praekelt/go-ndoh/assignees{/user}","branches_url":"https://api.github.com/repos/praekelt/go-ndoh/branches{/branch}","tags_url":"https://api.github.com/repos/praekelt/go-ndoh/tags","blobs_url":"https://api.github.com/repos/praekelt/go-ndoh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/praekelt/go-ndoh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/praekelt/go-ndoh/git/refs{/sha}","trees_url":"https://api.github.com/repos/praekelt/go-ndoh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/praekelt/go-ndoh/statuses/{sha}","languages_url":"https://api.github.com/repos/praekelt/go-ndoh/languages","stargazers_url":"https://api.github.com/repos/praekelt/go-ndoh/stargazers","contributors_url":"https://api.github.com/repos/praekelt/go-ndoh/contributors","subscribers_url":"https://api.github.com/repos/praekelt/go-ndoh/subscribers","subscription_url":"https://api.github.com/repos/praekelt/go-ndoh/subscription","commits_url":"https://api.github.com/repos/praekelt/go-ndoh/commits{/sha}","git_commits_url":"https://api.github.com/repos/praekelt/go-ndoh/git/commits{/sha}","comments_url":"https://api.github.com/repos/praekelt/go-ndoh/comments{/number}","issue_comment_url":"https://api.github.com/repos/praekelt/go-ndoh/issues/comments/{number}","contents_url":"https://api.github.com/repos/praekelt/go-ndoh/contents/{+path}","compare_url":"https://api.github.com/repos/praekelt/go-ndoh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/praekelt/go-ndoh/merges","archive_url":"https://api.github.com/repos/praekelt/go-ndoh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/praekelt/go-ndoh/downloads","issues_url":"https://api.github.com/repos/praekelt/go-ndoh/issues{/number}","pulls_url":"https://api.github.com/repos/praekelt/go-ndoh/pulls{/number}","milestones_url":"https://api.github.com/repos/praekelt/go-ndoh/milestones{/number}","notifications_url":"https://api.github.com/repos/praekelt/go-ndoh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/praekelt/go-ndoh/labels{/name}","releases_url":"https://api.github.com/repos/praekelt/go-ndoh/releases{/id}","created_at":"2013-09-18T15:11:51Z","updated_at":"2014-09-05T10:02:51Z","pushed_at":"2014-11-05T15:16:26Z","git_url":"git://github.com/praekelt/go-ndoh.git","ssh_url":"git@github.com:praekelt/go-ndoh.git","clone_url":"https://github.com/praekelt/go-ndoh.git","svn_url":"https://github.com/praekelt/go-ndoh","homepage":"","size":6180,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":14,"forks":0,"open_issues":14,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/praekelt/go-ndoh/pulls/128"},"html":{"href":"https://github.com/praekelt/go-ndoh/pull/128"},"issue":{"href":"https://api.github.com/repos/praekelt/go-ndoh/issues/128"},"comments":{"href":"https://api.github.com/repos/praekelt/go-ndoh/issues/128/comments"},"review_comments":{"href":"https://api.github.com/repos/praekelt/go-ndoh/pulls/128/comments"},"review_comment":{"href":"https://api.github.com/repos/praekelt/go-ndoh/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/praekelt/go-ndoh/pulls/128/commits"},"statuses":{"href":"https://api.github.com/repos/praekelt/go-ndoh/statuses/aaa2c1e48e435dfaa78ee7f58508d50cc81a181e"}}}}