{"action":"created","comment":{"url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/pulls/comments/243889222","pull_request_review_id":187768101,"id":243889222,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0Mzg4OTIyMg==","diff_hunk":"@@ -0,0 +1,497 @@\n+/**\n+ * Copyright 2018 IBM Corp.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the 'License');\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an 'AS IS' BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ **/\n+\n+module.exports = function (RED) {\n+  const request = require('request');\n+    SERVICE_IDENTIFIER = 'language-translator',\n+    SERVICE_VERSION = '2018-05-01';\n+\n+  var pkg = require('../../package.json'),\n+    LanguageTranslatorV3 = require('watson-developer-cloud/language-translator/v3'),\n+    fs = require('fs'),\n+    fileType = require('file-type'),\n+    temp = require('temp'),\n+    serviceutils = require('../../utilities/service-utils'),\n+    payloadutils = require('../../utilities/payload-utils'),\n+    translatorutils = require('./translator-utils'),\n+    username = null,\n+    password = null,\n+    sUsername = null,\n+    sPassword = null,\n+    apikey = null,\n+    sApikey = null,\n+    endpoint = '',\n+    sEndpoint = 'https://gateway.watsonplatform.net/language-translator/api',\n+    service = serviceutils.getServiceCreds(SERVICE_IDENTIFIER);\n+\n+  if (service) {\n+    sUsername = service.username ? service.username : '';\n+    sPassword = service.password ? service.password : '';\n+    sApikey = service.apikey ? service.apikey : '';\n+    sEndpoint = service.url;\n+  }\n+\n+  // Node RED Admin - fetch and set vcap services\n+  RED.httpAdmin.get('/watson-doc-translator/vcap', function (req, res) {\n+    res.json(service ? {bound_service: true} : null);\n+  });\n+\n+\n+  // API used by widget to fetch available models\n+  RED.httpAdmin.get('/watson-doc-translator/models', function (req, res) {\n+    endpoint = req.query.e ? req.query.e : sEndpoint;\n+    var lt = null,\n+      serviceSettings = {\n+        version: SERVICE_VERSION,\n+        url: endpoint,\n+        headers: {\n+          'User-Agent': pkg.name + '-' + pkg.version\n+        }\n+      };\n+\n+    if (sApikey || req.query.key) {\n+      serviceSettings.iam_apikey = sApikey ? sApikey : req.query.key;\n+    } else {\n+      serviceSettings.username = sUsername ? sUsername : req.query.un;\n+      serviceSettings.password = sPassword ? sPassword : req.query.pwd;\n+    }\n+\n+    lt = new LanguageTranslatorV3(serviceSettings);\n+\n+    lt.listModels({}, function (err, models) {\n+      if (err) {\n+        res.json(err);\n+      }\n+      else {\n+        res.json(models);\n+      }\n+    });\n+  });\n+\n+\n+  function Node (config) {\n+    var node = this;\n+    RED.nodes.createNode(this, config);\n+\n+    function payloadCheck(msg, mode) {\n+      var message = null;\n+      switch (mode) {\n+      case 'listDocuments':\n+      case 'documentStatus':\n+      case 'deleteDocument':\n+      case 'getDocument':\n+      case 'translateSubmittedDocument':\n+        break;\n+      case 'translateDocument':\n+        if (!msg.payload) {\n+          message = 'Missing property: msg.payload';\n+        }\n+        break;\n+      default:\n+        message = 'Unexpected Mode';\n+        break;\n+      }\n+      if (message) {\n+        return Promise.reject(message);\n+      }\n+      return Promise.resolve();\n+    }\n+\n+    function paramCheck(msg, mode) {\n+      var message = null;\n+      switch (mode) {\n+      case 'listDocuments':\n+      case 'translateDocument':\n+        break;\n+      case 'documentStatus':\n+      case 'deleteDocument':\n+      case 'getDocument':\n+      case 'translateSubmittedDocument':\n+        if (!docID(msg)) {\n+            message = 'Document ID is required';","path":"services/language_translator/v3-doc.js","position":124,"original_position":124,"commit_id":"dc20a3ef925c29d7e746392a3f225bcf5dfa9503","original_commit_id":"dc20a3ef925c29d7e746392a3f225bcf5dfa9503","user":{"login":"codacy-bot","id":19940114,"node_id":"MDQ6VXNlcjE5OTQwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [Expected indentation of 10 spaces but found 12. (indent)](https://app.codacy.com/app/BetaWorks-NodeRED-Watson/node-red-node-watson/pullRequest?prid=2788682)","created_at":"2018-12-25T08:35:18Z","updated_at":"2018-12-25T08:35:18Z","html_url":"https://github.com/watson-developer-cloud/node-red-node-watson/pull/439#discussion_r243889222","pull_request_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/pulls/439","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/pulls/comments/243889222"},"html":{"href":"https://github.com/watson-developer-cloud/node-red-node-watson/pull/439#discussion_r243889222"},"pull_request":{"href":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/pulls/439"}}},"pull_request":{"url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/pulls/439","id":240849359,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwODQ5MzU5","html_url":"https://github.com/watson-developer-cloud/node-red-node-watson/pull/439","diff_url":"https://github.com/watson-developer-cloud/node-red-node-watson/pull/439.diff","patch_url":"https://github.com/watson-developer-cloud/node-red-node-watson/pull/439.patch","issue_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/issues/439","number":439,"state":"open","locked":false,"title":"Candidate 0.7.5","user":{"login":"chughts","id":10371360,"node_id":"MDQ6VXNlcjEwMzcxMzYw","avatar_url":"https://avatars3.githubusercontent.com/u/10371360?v=4","gravatar_id":"","url":"https://api.github.com/users/chughts","html_url":"https://github.com/chughts","followers_url":"https://api.github.com/users/chughts/followers","following_url":"https://api.github.com/users/chughts/following{/other_user}","gists_url":"https://api.github.com/users/chughts/gists{/gist_id}","starred_url":"https://api.github.com/users/chughts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chughts/subscriptions","organizations_url":"https://api.github.com/users/chughts/orgs","repos_url":"https://api.github.com/users/chughts/repos","events_url":"https://api.github.com/users/chughts/events{/privacy}","received_events_url":"https://api.github.com/users/chughts/received_events","type":"User","site_admin":false},"body":"Bump SDK Dependency to 3.15.0\r\nAdded Portuguese (Brazilian) and Chinese (Simplified and Traditional) as output languages for Visual Recognition node.\r\nAdded list voices and delete customisation methods to TTS Corpus Builder node.\r\nSTT Node Changes\r\nAllowing SDK to manage IAM Tokens.\r\nStreaming mode for STT using IAM key now working.\r\nFix to stream mode for max alternatives and smart formatting options\r\nKeywords, Word Confidence and Customization Weight can now be specified\r\nAllow Start and End data packets to be specified as JSON objects, as well as a stringified JSON objects.\r\nIn line with SDK change use createLanguageModel() to create custom model\r\nDisable SSL Verification option for Assistant Node.\r\nNatural Language Understanding Node Changes\r\nBump Natural Language Understanding to 2018-11-16\r\nAdd Limit Categories and limit_text_characters options\r\nAllow JSON input into Personality Insights node.\r\nJapanese word count was causing a Node-RED crash when run in the cloud.\r\nHungarian supported by Language Translator.\r\nNew Document Language Translator node.\r\nNew Assistant V2 Node.\r\nDiscovery Node changes\r\nBump Discovery to 2018-12-03\r\nImplement Query Notices method\r\nBump dependency on file-type to 10.7.0\r\nBump dependency on temp to 0.9.0","created_at":"2018-12-25T08:32:23Z","updated_at":"2018-12-25T08:35:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8d4d932aed03195e5b3d394feb0fb2b061aa6e17","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/pulls/439/commits","review_comments_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/pulls/439/comments","review_comment_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/pulls/comments{/number}","comments_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/issues/439/comments","statuses_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/statuses/dc20a3ef925c29d7e746392a3f225bcf5dfa9503","head":{"label":"chughts:075","ref":"075","sha":"dc20a3ef925c29d7e746392a3f225bcf5dfa9503","user":{"login":"chughts","id":10371360,"node_id":"MDQ6VXNlcjEwMzcxMzYw","avatar_url":"https://avatars3.githubusercontent.com/u/10371360?v=4","gravatar_id":"","url":"https://api.github.com/users/chughts","html_url":"https://github.com/chughts","followers_url":"https://api.github.com/users/chughts/followers","following_url":"https://api.github.com/users/chughts/following{/other_user}","gists_url":"https://api.github.com/users/chughts/gists{/gist_id}","starred_url":"https://api.github.com/users/chughts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chughts/subscriptions","organizations_url":"https://api.github.com/users/chughts/orgs","repos_url":"https://api.github.com/users/chughts/repos","events_url":"https://api.github.com/users/chughts/events{/privacy}","received_events_url":"https://api.github.com/users/chughts/received_events","type":"User","site_admin":false},"repo":{"id":58115630,"node_id":"MDEwOlJlcG9zaXRvcnk1ODExNTYzMA==","name":"node-red-node-watson","full_name":"chughts/node-red-node-watson","private":false,"owner":{"login":"chughts","id":10371360,"node_id":"MDQ6VXNlcjEwMzcxMzYw","avatar_url":"https://avatars3.githubusercontent.com/u/10371360?v=4","gravatar_id":"","url":"https://api.github.com/users/chughts","html_url":"https://github.com/chughts","followers_url":"https://api.github.com/users/chughts/followers","following_url":"https://api.github.com/users/chughts/following{/other_user}","gists_url":"https://api.github.com/users/chughts/gists{/gist_id}","starred_url":"https://api.github.com/users/chughts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chughts/subscriptions","organizations_url":"https://api.github.com/users/chughts/orgs","repos_url":"https://api.github.com/users/chughts/repos","events_url":"https://api.github.com/users/chughts/events{/privacy}","received_events_url":"https://api.github.com/users/chughts/received_events","type":"User","site_admin":false},"html_url":"https://github.com/chughts/node-red-node-watson","description":"A collection of nodes for the IBM Watson services","fork":true,"url":"https://api.github.com/repos/chughts/node-red-node-watson","forks_url":"https://api.github.com/repos/chughts/node-red-node-watson/forks","keys_url":"https://api.github.com/repos/chughts/node-red-node-watson/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chughts/node-red-node-watson/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chughts/node-red-node-watson/teams","hooks_url":"https://api.github.com/repos/chughts/node-red-node-watson/hooks","issue_events_url":"https://api.github.com/repos/chughts/node-red-node-watson/issues/events{/number}","events_url":"https://api.github.com/repos/chughts/node-red-node-watson/events","assignees_url":"https://api.github.com/repos/chughts/node-red-node-watson/assignees{/user}","branches_url":"https://api.github.com/repos/chughts/node-red-node-watson/branches{/branch}","tags_url":"https://api.github.com/repos/chughts/node-red-node-watson/tags","blobs_url":"https://api.github.com/repos/chughts/node-red-node-watson/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chughts/node-red-node-watson/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chughts/node-red-node-watson/git/refs{/sha}","trees_url":"https://api.github.com/repos/chughts/node-red-node-watson/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chughts/node-red-node-watson/statuses/{sha}","languages_url":"https://api.github.com/repos/chughts/node-red-node-watson/languages","stargazers_url":"https://api.github.com/repos/chughts/node-red-node-watson/stargazers","contributors_url":"https://api.github.com/repos/chughts/node-red-node-watson/contributors","subscribers_url":"https://api.github.com/repos/chughts/node-red-node-watson/subscribers","subscription_url":"https://api.github.com/repos/chughts/node-red-node-watson/subscription","commits_url":"https://api.github.com/repos/chughts/node-red-node-watson/commits{/sha}","git_commits_url":"https://api.github.com/repos/chughts/node-red-node-watson/git/commits{/sha}","comments_url":"https://api.github.com/repos/chughts/node-red-node-watson/comments{/number}","issue_comment_url":"https://api.github.com/repos/chughts/node-red-node-watson/issues/comments{/number}","contents_url":"https://api.github.com/repos/chughts/node-red-node-watson/contents/{+path}","compare_url":"https://api.github.com/repos/chughts/node-red-node-watson/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chughts/node-red-node-watson/merges","archive_url":"https://api.github.com/repos/chughts/node-red-node-watson/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chughts/node-red-node-watson/downloads","issues_url":"https://api.github.com/repos/chughts/node-red-node-watson/issues{/number}","pulls_url":"https://api.github.com/repos/chughts/node-red-node-watson/pulls{/number}","milestones_url":"https://api.github.com/repos/chughts/node-red-node-watson/milestones{/number}","notifications_url":"https://api.github.com/repos/chughts/node-red-node-watson/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chughts/node-red-node-watson/labels{/name}","releases_url":"https://api.github.com/repos/chughts/node-red-node-watson/releases{/id}","deployments_url":"https://api.github.com/repos/chughts/node-red-node-watson/deployments","created_at":"2016-05-05T08:19:28Z","updated_at":"2018-12-17T09:27:02Z","pushed_at":"2018-12-25T08:13:23Z","git_url":"git://github.com/chughts/node-red-node-watson.git","ssh_url":"git@github.com:chughts/node-red-node-watson.git","clone_url":"https://github.com/chughts/node-red-node-watson.git","svn_url":"https://github.com/chughts/node-red-node-watson","homepage":null,"size":8836,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"watson-developer-cloud:master","ref":"master","sha":"bd30746445ced042c21660460fb79654f9ea1e9f","user":{"login":"watson-developer-cloud","id":10017763,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMDE3NzYz","avatar_url":"https://avatars2.githubusercontent.com/u/10017763?v=4","gravatar_id":"","url":"https://api.github.com/users/watson-developer-cloud","html_url":"https://github.com/watson-developer-cloud","followers_url":"https://api.github.com/users/watson-developer-cloud/followers","following_url":"https://api.github.com/users/watson-developer-cloud/following{/other_user}","gists_url":"https://api.github.com/users/watson-developer-cloud/gists{/gist_id}","starred_url":"https://api.github.com/users/watson-developer-cloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/watson-developer-cloud/subscriptions","organizations_url":"https://api.github.com/users/watson-developer-cloud/orgs","repos_url":"https://api.github.com/users/watson-developer-cloud/repos","events_url":"https://api.github.com/users/watson-developer-cloud/events{/privacy}","received_events_url":"https://api.github.com/users/watson-developer-cloud/received_events","type":"Organization","site_admin":false},"repo":{"id":55415107,"node_id":"MDEwOlJlcG9zaXRvcnk1NTQxNTEwNw==","name":"node-red-node-watson","full_name":"watson-developer-cloud/node-red-node-watson","private":false,"owner":{"login":"watson-developer-cloud","id":10017763,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMDE3NzYz","avatar_url":"https://avatars2.githubusercontent.com/u/10017763?v=4","gravatar_id":"","url":"https://api.github.com/users/watson-developer-cloud","html_url":"https://github.com/watson-developer-cloud","followers_url":"https://api.github.com/users/watson-developer-cloud/followers","following_url":"https://api.github.com/users/watson-developer-cloud/following{/other_user}","gists_url":"https://api.github.com/users/watson-developer-cloud/gists{/gist_id}","starred_url":"https://api.github.com/users/watson-developer-cloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/watson-developer-cloud/subscriptions","organizations_url":"https://api.github.com/users/watson-developer-cloud/orgs","repos_url":"https://api.github.com/users/watson-developer-cloud/repos","events_url":"https://api.github.com/users/watson-developer-cloud/events{/privacy}","received_events_url":"https://api.github.com/users/watson-developer-cloud/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/watson-developer-cloud/node-red-node-watson","description":"A collection of nodes for the IBM Watson services","fork":false,"url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson","forks_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/forks","keys_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/keys{/key_id}","collaborators_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/teams","hooks_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/hooks","issue_events_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/issues/events{/number}","events_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/events","assignees_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/assignees{/user}","branches_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/branches{/branch}","tags_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/tags","blobs_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/git/refs{/sha}","trees_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/git/trees{/sha}","statuses_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/statuses/{sha}","languages_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/languages","stargazers_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/stargazers","contributors_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/contributors","subscribers_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/subscribers","subscription_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/subscription","commits_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/commits{/sha}","git_commits_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/git/commits{/sha}","comments_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/comments{/number}","issue_comment_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/issues/comments{/number}","contents_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/contents/{+path}","compare_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/compare/{base}...{head}","merges_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/merges","archive_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/downloads","issues_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/issues{/number}","pulls_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/pulls{/number}","milestones_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/milestones{/number}","notifications_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/labels{/name}","releases_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/releases{/id}","deployments_url":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/deployments","created_at":"2016-04-04T13:51:28Z","updated_at":"2018-10-31T16:40:49Z","pushed_at":"2018-12-25T08:32:24Z","git_url":"git://github.com/watson-developer-cloud/node-red-node-watson.git","ssh_url":"git@github.com:watson-developer-cloud/node-red-node-watson.git","clone_url":"https://github.com/watson-developer-cloud/node-red-node-watson.git","svn_url":"https://github.com/watson-developer-cloud/node-red-node-watson","homepage":null,"size":8788,"stargazers_count":55,"watchers_count":55,"language":"HTML","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":78,"mirror_url":null,"archived":false,"open_issues_count":29,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":78,"open_issues":29,"watchers":55,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/pulls/439"},"html":{"href":"https://github.com/watson-developer-cloud/node-red-node-watson/pull/439"},"issue":{"href":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/issues/439"},"comments":{"href":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/issues/439/comments"},"review_comments":{"href":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/pulls/439/comments"},"review_comment":{"href":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/pulls/439/commits"},"statuses":{"href":"https://api.github.com/repos/watson-developer-cloud/node-red-node-watson/statuses/dc20a3ef925c29d7e746392a3f225bcf5dfa9503"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"codacy-bot"}}