{"action":"created","comment":{"url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/pulls/comments/42170257","id":42170257,"diff_hunk":"@@ -43,120 +39,157 @@ public String speechToText(byte[] incomingBinaryPOSTData) {\n     */\n         HttpURLConnection conn = null;\n         String serviceURL = \"\";\n-           \n+\n         try {\n-\t    if (incomingBinaryPOSTData.length == 0) return XML_DEC + \"<results>\" + STATUS_OK + \"<transcript />\" + \"</results>\";\n+            if (incomingBinaryPOSTData.length == 0) {\n+                return XML_DEC + \"<results>\" + STATUS_OK + \"<transcript />\" + \"</results>\";\n+            }\n \n             // 'VCAP_SERVICES' contains all the details of services bound to this application\n-\t    JsonReader jsonReader = Json.createReader(new StringReader(System.getenv(\"VCAP_SERVICES\")));\n-\t    JsonObject serviceInfo = jsonReader.readObject();\n-\t    jsonReader.close();\n+            JsonObject credentials = readJsonObject(new StringReader(System.getenv(\"VCAP_SERVICES\")))\n+                                    .getJsonArray(SERVICE_NAME)\n+                                    .getJsonObject(0)\n+                                    .getJsonObject(\"credentials\");\n \n-            // Get the Service Credentials for SpeechToText\n-\t    JsonObject credentials = serviceInfo.getJsonArray(SERVICE_NAME)\n-\t\t.getJsonObject(0).getJsonObject(\"credentials\");\n \n-            try {\n-                serviceURL = credentials.getString(\"url\");\n-            } catch (Exception e) {}\n-            // If we didn't find a URL for the service in VCAP_SERVICES,\n-            // use the original.\n+\n+            serviceURL = credentials.getString(\"url\");\n+\n             if (\"\".equals(serviceURL)) {\n                 serviceURL = ORIGINAL_SERVICE_URL;\n             }\n-            \n-\t    String serviceUser = credentials.getString(\"username\");\n-\t    String servicePass = credentials.getString(\"password\");\n-\t    String auth = serviceUser + \":\" + servicePass;\n-\n-\t    // Prepare the query string parameters.\n-\t    // See the Speech to Text service documentation for details.\n-\t    String queryString = \"\";\n-\t    queryString = queryString + \"&model=en-US_NarrowbandModel\";\n-\t    queryString = queryString + \"&continuous=true\";\n-\n-\t    if (DEBUG) {\n-\t\tSystem.out.println(\"POSTing [\" + incomingBinaryPOSTData.length + \"] bytes\");\n-\t\tSystem.out.println(\"Using URL [\" + serviceURL + API_PATH + \"?\" + queryString + \"]\");\n-\t    }\n-\n-\t    // Prepare the HTTP connection to the service\n-\t    conn = (HttpURLConnection) new URL(serviceURL + API_PATH + \"?\" + queryString).openConnection();\n-            conn.setDoInput(true);\n-            conn.setDoOutput(true);\n-            conn.setRequestMethod(\"POST\");\n-\t    conn.setRequestProperty(\"Authorization\", \"Basic \" + Base64.encodeBase64String(auth.getBytes()));\n-            conn.setRequestProperty(\"Accept\", \"*/*\");\n-            conn.setRequestProperty(\"Content-Type\", \"audio/flac\");\n-            conn.setRequestProperty(\"Transfer-encoding\", \"chunked\");\n-\t    conn.setFixedLengthStreamingMode(incomingBinaryPOSTData.length);\n-\n-\t    // Uncomment the following to opt out of improving the service with this audio file\n-\t    //\t    conn.setRequestProperty(\"X-WDC-PL-OPT-OUT\", \"1\");\n-            \n+\n+\n+            // set up our http request\n+            conn = setupHttpConnection(incomingBinaryPOSTData, serviceURL, credentials);\n+\n             // make the connection\n             conn.connect();\n-            \n-            // send the POST request\n-            OutputStream output = conn.getOutputStream();\n-            output.write(incomingBinaryPOSTData);\n-            output.flush();\n-\t    output.close();\n-            \n+\n+            sendRequest(incomingBinaryPOSTData, conn);\n+\n             // Read the response from the service\n-            BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream(), \"UTF-8\"));\n+            String lines = readResponse(conn);\n \n-\t    if (DEBUG) {\n-\t\tSystem.out.println(\"Service response code: \" + conn.getResponseCode());\n-\t\tSystem.out.println(\"Service response message: \" + conn.getResponseMessage());\n-\t    }\n+            // Parse the transcript string out of the Speech To Text service's JSON response\n+            String transcript = readTranscripts(readJsonObject(new StringReader(lines)));\n \n-            StringBuilder sb = new StringBuilder();\n-            String line;\n-            while ((line = br.readLine()) != null) {\n-                sb.append(line + \"\\n\");\n-            }\n-            br.close();\n-\n-\t    if (DEBUG) System.out.println(\"Service response body:\\n\" + sb.toString());\n-\n-\t    // Parse the transcript string out of the Speech To Text service's JSON response\n-\t    JsonReader responseReader = Json.createReader(new StringReader(sb.toString()));\n-\t    JsonObject jsonResponse = responseReader.readObject();\n-\t    responseReader.close();\n-\n-\t    String transcript = \"\";\n-\t    try {\n-\t\tJsonArray resultsArray = jsonResponse.getJsonArray(\"results\");\n-\t\t\n-\t\tfor (JsonValue jv : resultsArray) {\n-\t\t    JsonObject jo = (JsonObject) jv;\n-\t\t    transcript = transcript + jo.getJsonArray(\"alternatives\")\n-\t\t\t.getJsonObject(0)\n-\t\t\t.getString(\"transcript\");\n-\t\t}\n-\t    } catch(Exception e) {\n-\t\te.printStackTrace();\n-\t\treturn XML_DEC + \"<results>\" + STATUS_ERROR + \"<statusInfo>Unexpected response from service caused \" + e.getClass().getName() + \": \" + e.getMessage() + \"</statusInfo><transcript /></results>\";\n-\t    }\n-            \n             // Return the response from the service\n-            return XML_DEC + \"<results>\" + STATUS_OK + \"<transcript>\" + transcript + \"</transcript></results>\";\n-\n-        } catch(Exception e){\n+            return successXML(transcript);\n+        } catch (Exception e) {\n             e.printStackTrace();\n-            return XML_DEC + \"<results>\" + STATUS_ERROR + \"<statusInfo>Bluemix \" + e.getClass().getName() + \": \" + e.getMessage() + \"</statusInfo><transcript /></results>\";\n-        }finally {\n+            return failXML(e, \"Bluemix \");\n+        } finally {\n             try {\n                 if (conn != null) {\n                     conn.disconnect();\n                 }\n             } catch (Exception e) {\n                 e.printStackTrace();\n-                return XML_DEC + \"<results>\" + STATUS_ERROR + \"<statusInfo>Bluemix \" + e.getClass().getName() + \": \" + e.getMessage() + \"</statusInfo><transcript /></results>\";\n+                return failXML(e, \"Bluemix \");\n             }\n         }\n-        \n+\n+    }\n+\n+\n+    // Set up a connection with the speech-to-text service\n+    private HttpURLConnection setupHttpConnection(byte[] incomingBinaryPOSTData,\n+                                                  String serviceURL,\n+                                                  JsonObject credentials) throws IOException {\n+\n+        String serviceUser = credentials.getString(\"username\");\n+        String servicePass = credentials.getString(\"password\");\n+        String auth = serviceUser + \":\" + servicePass;\n+\n+        // Prepare the query string parameters.\n+        // See the Speech to Text service documentation for details.\n+        String queryString = \"&model=en-US_NarrowbandModel\"\n+                + \"&continuous=true\";\n+        if (DEBUG) {\n+            System.out.println(\"POSTing [\" + incomingBinaryPOSTData.length + \"] bytes\");\n+            System.out.println(\"Using URL [\" + serviceURL + API_PATH + \"?\" + queryString + \"]\");\n+        }\n+\n+        // Prepare the HTTP connection to the service\n+        HttpURLConnection conn = (HttpURLConnection) new URL(serviceURL + API_PATH + \"?\" + queryString).openConnection();\n+\n+        // Set up our header with all the information we need to make the api request\n+        conn.setDoInput(true);\n+        conn.setDoOutput(true);\n+        conn.setRequestMethod(\"POST\");\n+        conn.setRequestProperty(\"Authorization\", \"Basic \" + Base64.encodeBase64String(auth.getBytes()));\n+        conn.setRequestProperty(\"Accept\", \"*/*\");\n+        conn.setRequestProperty(\"Content-Type\", \"audio/flac\");\n+        conn.setRequestProperty(\"Transfer-encoding\", \"chunked\");\n+        conn.setFixedLengthStreamingMode(incomingBinaryPOSTData.length);\n+\n+        // Uncomment the following to opt out of improving the service with this audio file\n+        //\t    conn.setRequestProperty(\"X-WDC-PL-OPT-OUT\", \"1\");\n+        return conn;\n+    }\n+\n+\n+    private void sendRequest(byte[] incomingBinaryPOSTData, HttpURLConnection conn) throws IOException {\n+        OutputStream output = conn.getOutputStream();\n+        output.write(incomingBinaryPOSTData);\n+        output.flush();\n+        output.close();\n+    }\n+\n+\n+    // Collect the transcripts from all the results in our response body\n+    private String readTranscripts(JsonObject jsonResponse) {\n+        JsonArray resultsArray = jsonResponse.getJsonArray(\"results\");","path":"bluemix/src/main/java/com/ibm/watson/SpeechToText.java","position":241,"original_position":241,"commit_id":"f96ef2b0a728f54e3b6c0baedeb345d95fe5f1c4","original_commit_id":"f96ef2b0a728f54e3b6c0baedeb345d95fe5f1c4","user":{"login":"Hrothen","id":1761721,"avatar_url":"https://avatars.githubusercontent.com/u/1761721?v=3","gravatar_id":"","url":"https://api.github.com/users/Hrothen","html_url":"https://github.com/Hrothen","followers_url":"https://api.github.com/users/Hrothen/followers","following_url":"https://api.github.com/users/Hrothen/following{/other_user}","gists_url":"https://api.github.com/users/Hrothen/gists{/gist_id}","starred_url":"https://api.github.com/users/Hrothen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hrothen/subscriptions","organizations_url":"https://api.github.com/users/Hrothen/orgs","repos_url":"https://api.github.com/users/Hrothen/repos","events_url":"https://api.github.com/users/Hrothen/events{/privacy}","received_events_url":"https://api.github.com/users/Hrothen/received_events","type":"User","site_admin":false},"body":"You're right, that was an accident on my part.","created_at":"2015-10-15T19:40:21Z","updated_at":"2015-10-15T19:40:21Z","html_url":"https://github.com/IBM-Watson/wex-wdc-speech-to-text/pull/1#discussion_r42170257","pull_request_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/pulls/comments/42170257"},"html":{"href":"https://github.com/IBM-Watson/wex-wdc-speech-to-text/pull/1#discussion_r42170257"},"pull_request":{"href":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/pulls/1","id":47453056,"html_url":"https://github.com/IBM-Watson/wex-wdc-speech-to-text/pull/1","diff_url":"https://github.com/IBM-Watson/wex-wdc-speech-to-text/pull/1.diff","patch_url":"https://github.com/IBM-Watson/wex-wdc-speech-to-text/pull/1.patch","issue_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/issues/1","number":1,"state":"open","locked":false,"title":"Refactor code for readability.","user":{"login":"Hrothen","id":1761721,"avatar_url":"https://avatars.githubusercontent.com/u/1761721?v=3","gravatar_id":"","url":"https://api.github.com/users/Hrothen","html_url":"https://github.com/Hrothen","followers_url":"https://api.github.com/users/Hrothen/followers","following_url":"https://api.github.com/users/Hrothen/following{/other_user}","gists_url":"https://api.github.com/users/Hrothen/gists{/gist_id}","starred_url":"https://api.github.com/users/Hrothen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hrothen/subscriptions","organizations_url":"https://api.github.com/users/Hrothen/orgs","repos_url":"https://api.github.com/users/Hrothen/repos","events_url":"https://api.github.com/users/Hrothen/events{/privacy}","received_events_url":"https://api.github.com/users/Hrothen/received_events","type":"User","site_admin":false},"body":"Update code to use Java8 Streams. Broke main function into several\r\nmore readable functions. Added a line about Cloud Foundry to the README.\r\nUpdated pom.xml to target Java8","created_at":"2015-10-12T18:59:52Z","updated_at":"2015-10-15T19:40:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"09444d2ea90c601b150dfb28beab40331280cf94","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/pulls/1/commits","review_comments_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/pulls/1/comments","review_comment_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/pulls/comments{/number}","comments_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/issues/1/comments","statuses_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/statuses/f96ef2b0a728f54e3b6c0baedeb345d95fe5f1c4","head":{"label":"Hrothen:master","ref":"master","sha":"f96ef2b0a728f54e3b6c0baedeb345d95fe5f1c4","user":{"login":"Hrothen","id":1761721,"avatar_url":"https://avatars.githubusercontent.com/u/1761721?v=3","gravatar_id":"","url":"https://api.github.com/users/Hrothen","html_url":"https://github.com/Hrothen","followers_url":"https://api.github.com/users/Hrothen/followers","following_url":"https://api.github.com/users/Hrothen/following{/other_user}","gists_url":"https://api.github.com/users/Hrothen/gists{/gist_id}","starred_url":"https://api.github.com/users/Hrothen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hrothen/subscriptions","organizations_url":"https://api.github.com/users/Hrothen/orgs","repos_url":"https://api.github.com/users/Hrothen/repos","events_url":"https://api.github.com/users/Hrothen/events{/privacy}","received_events_url":"https://api.github.com/users/Hrothen/received_events","type":"User","site_admin":false},"repo":{"id":43973745,"name":"wex-wdc-speech-to-text","full_name":"Hrothen/wex-wdc-speech-to-text","owner":{"login":"Hrothen","id":1761721,"avatar_url":"https://avatars.githubusercontent.com/u/1761721?v=3","gravatar_id":"","url":"https://api.github.com/users/Hrothen","html_url":"https://github.com/Hrothen","followers_url":"https://api.github.com/users/Hrothen/followers","following_url":"https://api.github.com/users/Hrothen/following{/other_user}","gists_url":"https://api.github.com/users/Hrothen/gists{/gist_id}","starred_url":"https://api.github.com/users/Hrothen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hrothen/subscriptions","organizations_url":"https://api.github.com/users/Hrothen/orgs","repos_url":"https://api.github.com/users/Hrothen/repos","events_url":"https://api.github.com/users/Hrothen/events{/privacy}","received_events_url":"https://api.github.com/users/Hrothen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hrothen/wex-wdc-speech-to-text","description":"","fork":true,"url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text","forks_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/forks","keys_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/teams","hooks_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/hooks","issue_events_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/issues/events{/number}","events_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/events","assignees_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/assignees{/user}","branches_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/branches{/branch}","tags_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/tags","blobs_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/statuses/{sha}","languages_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/languages","stargazers_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/stargazers","contributors_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/contributors","subscribers_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/subscribers","subscription_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/subscription","commits_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/contents/{+path}","compare_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/merges","archive_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/downloads","issues_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/issues{/number}","pulls_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/pulls{/number}","milestones_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/milestones{/number}","notifications_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/labels{/name}","releases_url":"https://api.github.com/repos/Hrothen/wex-wdc-speech-to-text/releases{/id}","created_at":"2015-10-09T18:43:28Z","updated_at":"2015-10-09T18:43:29Z","pushed_at":"2015-10-12T18:58:21Z","git_url":"git://github.com/Hrothen/wex-wdc-speech-to-text.git","ssh_url":"git@github.com:Hrothen/wex-wdc-speech-to-text.git","clone_url":"https://github.com/Hrothen/wex-wdc-speech-to-text.git","svn_url":"https://github.com/Hrothen/wex-wdc-speech-to-text","homepage":null,"size":8664,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"IBM-Watson:master","ref":"master","sha":"b25e332503d35a2d167719aafe8cdf960f3794c4","user":{"login":"IBM-Watson","id":9221727,"avatar_url":"https://avatars.githubusercontent.com/u/9221727?v=3","gravatar_id":"","url":"https://api.github.com/users/IBM-Watson","html_url":"https://github.com/IBM-Watson","followers_url":"https://api.github.com/users/IBM-Watson/followers","following_url":"https://api.github.com/users/IBM-Watson/following{/other_user}","gists_url":"https://api.github.com/users/IBM-Watson/gists{/gist_id}","starred_url":"https://api.github.com/users/IBM-Watson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IBM-Watson/subscriptions","organizations_url":"https://api.github.com/users/IBM-Watson/orgs","repos_url":"https://api.github.com/users/IBM-Watson/repos","events_url":"https://api.github.com/users/IBM-Watson/events{/privacy}","received_events_url":"https://api.github.com/users/IBM-Watson/received_events","type":"Organization","site_admin":false},"repo":{"id":43457633,"name":"wex-wdc-speech-to-text","full_name":"IBM-Watson/wex-wdc-speech-to-text","owner":{"login":"IBM-Watson","id":9221727,"avatar_url":"https://avatars.githubusercontent.com/u/9221727?v=3","gravatar_id":"","url":"https://api.github.com/users/IBM-Watson","html_url":"https://github.com/IBM-Watson","followers_url":"https://api.github.com/users/IBM-Watson/followers","following_url":"https://api.github.com/users/IBM-Watson/following{/other_user}","gists_url":"https://api.github.com/users/IBM-Watson/gists{/gist_id}","starred_url":"https://api.github.com/users/IBM-Watson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IBM-Watson/subscriptions","organizations_url":"https://api.github.com/users/IBM-Watson/orgs","repos_url":"https://api.github.com/users/IBM-Watson/repos","events_url":"https://api.github.com/users/IBM-Watson/events{/privacy}","received_events_url":"https://api.github.com/users/IBM-Watson/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IBM-Watson/wex-wdc-speech-to-text","description":"","fork":false,"url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text","forks_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/forks","keys_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/teams","hooks_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/hooks","issue_events_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/issues/events{/number}","events_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/events","assignees_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/assignees{/user}","branches_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/branches{/branch}","tags_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/tags","blobs_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/git/refs{/sha}","trees_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/statuses/{sha}","languages_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/languages","stargazers_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/stargazers","contributors_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/contributors","subscribers_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/subscribers","subscription_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/subscription","commits_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/commits{/sha}","git_commits_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/git/commits{/sha}","comments_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/comments{/number}","issue_comment_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/issues/comments{/number}","contents_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/contents/{+path}","compare_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/merges","archive_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/downloads","issues_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/issues{/number}","pulls_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/pulls{/number}","milestones_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/milestones{/number}","notifications_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/labels{/name}","releases_url":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/releases{/id}","created_at":"2015-09-30T20:36:42Z","updated_at":"2015-09-30T20:48:52Z","pushed_at":"2015-10-12T18:59:52Z","git_url":"git://github.com/IBM-Watson/wex-wdc-speech-to-text.git","ssh_url":"git@github.com:IBM-Watson/wex-wdc-speech-to-text.git","clone_url":"https://github.com/IBM-Watson/wex-wdc-speech-to-text.git","svn_url":"https://github.com/IBM-Watson/wex-wdc-speech-to-text","homepage":null,"size":8734,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/pulls/1"},"html":{"href":"https://github.com/IBM-Watson/wex-wdc-speech-to-text/pull/1"},"issue":{"href":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/issues/1"},"comments":{"href":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/IBM-Watson/wex-wdc-speech-to-text/statuses/f96ef2b0a728f54e3b6c0baedeb345d95fe5f1c4"}}}}