{"action":"created","comment":{"url":"https://api.github.com/repos/fossasia/susi_android/pulls/comments/200021404","pull_request_review_id":134252785,"id":200021404,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDAyMTQwNA==","diff_hunk":"@@ -0,0 +1,24 @@\n+package org.fossasia.susi.ai.rest.clients;\n+\n+import retrofit2.Retrofit;\n+import retrofit2.converter.gson.GsonConverterFactory;\n+\n+public class DeviceClient {\n+    private static Retrofit retrofit = null;\n+\n+    /**\n+     * Gets client.\n+     *\n+     * @return the client\n+     */\n+    public static Retrofit getClient() {\n+        if (retrofit == null) {\n+            String SUSI_SPEAKER_BASE_URL = \"http://10.0.0.1:5000\";","path":"app/src/main/java/org/fossasia/susi/ai/rest/clients/DeviceClient.java","position":16,"original_position":16,"commit_id":"2f400c33c56f629e53f3fde45bf574f4c38782c8","original_commit_id":"2f400c33c56f629e53f3fde45bf574f4c38782c8","user":{"login":"batbrain7","id":16780496,"node_id":"MDQ6VXNlcjE2NzgwNDk2","avatar_url":"https://avatars2.githubusercontent.com/u/16780496?v=4","gravatar_id":"","url":"https://api.github.com/users/batbrain7","html_url":"https://github.com/batbrain7","followers_url":"https://api.github.com/users/batbrain7/followers","following_url":"https://api.github.com/users/batbrain7/following{/other_user}","gists_url":"https://api.github.com/users/batbrain7/gists{/gist_id}","starred_url":"https://api.github.com/users/batbrain7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batbrain7/subscriptions","organizations_url":"https://api.github.com/users/batbrain7/orgs","repos_url":"https://api.github.com/users/batbrain7/repos","events_url":"https://api.github.com/users/batbrain7/events{/privacy}","received_events_url":"https://api.github.com/users/batbrain7/received_events","type":"User","site_admin":false},"body":"@iamareebjamal by configuration ? ","created_at":"2018-07-04T06:41:30Z","updated_at":"2018-07-04T06:41:30Z","html_url":"https://github.com/fossasia/susi_android/pull/1472#discussion_r200021404","pull_request_url":"https://api.github.com/repos/fossasia/susi_android/pulls/1472","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/fossasia/susi_android/pulls/comments/200021404"},"html":{"href":"https://github.com/fossasia/susi_android/pull/1472#discussion_r200021404"},"pull_request":{"href":"https://api.github.com/repos/fossasia/susi_android/pulls/1472"}},"in_reply_to_id":199869962},"pull_request":{"url":"https://api.github.com/repos/fossasia/susi_android/pulls/1472","id":198631005,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4NjMxMDA1","html_url":"https://github.com/fossasia/susi_android/pull/1472","diff_url":"https://github.com/fossasia/susi_android/pull/1472.diff","patch_url":"https://github.com/fossasia/susi_android/pull/1472.patch","issue_url":"https://api.github.com/repos/fossasia/susi_android/issues/1472","number":1472,"state":"open","locked":false,"title":"feat: Make api calls to the smart speaker","user":{"login":"batbrain7","id":16780496,"node_id":"MDQ6VXNlcjE2NzgwNDk2","avatar_url":"https://avatars2.githubusercontent.com/u/16780496?v=4","gravatar_id":"","url":"https://api.github.com/users/batbrain7","html_url":"https://github.com/batbrain7","followers_url":"https://api.github.com/users/batbrain7/followers","following_url":"https://api.github.com/users/batbrain7/following{/other_user}","gists_url":"https://api.github.com/users/batbrain7/gists{/gist_id}","starred_url":"https://api.github.com/users/batbrain7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batbrain7/subscriptions","organizations_url":"https://api.github.com/users/batbrain7/orgs","repos_url":"https://api.github.com/users/batbrain7/repos","events_url":"https://api.github.com/users/batbrain7/events{/privacy}","received_events_url":"https://api.github.com/users/batbrain7/received_events","type":"User","site_admin":false},"body":"Fixes #1444 \r\n\r\nThe api calls are tested by @stealthanthrax , the demo data is used to check whether the hardware detects these api calls or not, the next steps will be to make a feature similar to as in the google home app to show the user option to choose the wifi and customise the details which the user wants to choose\r\n\r\n\r\n","created_at":"2018-07-02T10:07:10Z","updated_at":"2018-07-04T06:41:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e15bbcacceda8f19dab7ad07a057aa25ebf57b6","assignee":null,"assignees":[],"requested_reviewers":[{"login":"arundhati24","id":30979369,"node_id":"MDQ6VXNlcjMwOTc5MzY5","avatar_url":"https://avatars1.githubusercontent.com/u/30979369?v=4","gravatar_id":"","url":"https://api.github.com/users/arundhati24","html_url":"https://github.com/arundhati24","followers_url":"https://api.github.com/users/arundhati24/followers","following_url":"https://api.github.com/users/arundhati24/following{/other_user}","gists_url":"https://api.github.com/users/arundhati24/gists{/gist_id}","starred_url":"https://api.github.com/users/arundhati24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arundhati24/subscriptions","organizations_url":"https://api.github.com/users/arundhati24/orgs","repos_url":"https://api.github.com/users/arundhati24/repos","events_url":"https://api.github.com/users/arundhati24/events{/privacy}","received_events_url":"https://api.github.com/users/arundhati24/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":976097453,"node_id":"MDU6TGFiZWw5NzYwOTc0NTM=","url":"https://api.github.com/repos/fossasia/susi_android/labels/smart%20speaker","name":"smart speaker","color":"34efc0","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/fossasia/susi_android/pulls/1472/commits","review_comments_url":"https://api.github.com/repos/fossasia/susi_android/pulls/1472/comments","review_comment_url":"https://api.github.com/repos/fossasia/susi_android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fossasia/susi_android/issues/1472/comments","statuses_url":"https://api.github.com/repos/fossasia/susi_android/statuses/2f400c33c56f629e53f3fde45bf574f4c38782c8","head":{"label":"batbrain7:callDevice","ref":"callDevice","sha":"2f400c33c56f629e53f3fde45bf574f4c38782c8","user":{"login":"batbrain7","id":16780496,"node_id":"MDQ6VXNlcjE2NzgwNDk2","avatar_url":"https://avatars2.githubusercontent.com/u/16780496?v=4","gravatar_id":"","url":"https://api.github.com/users/batbrain7","html_url":"https://github.com/batbrain7","followers_url":"https://api.github.com/users/batbrain7/followers","following_url":"https://api.github.com/users/batbrain7/following{/other_user}","gists_url":"https://api.github.com/users/batbrain7/gists{/gist_id}","starred_url":"https://api.github.com/users/batbrain7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batbrain7/subscriptions","organizations_url":"https://api.github.com/users/batbrain7/orgs","repos_url":"https://api.github.com/users/batbrain7/repos","events_url":"https://api.github.com/users/batbrain7/events{/privacy}","received_events_url":"https://api.github.com/users/batbrain7/received_events","type":"User","site_admin":false},"repo":{"id":128807675,"node_id":"MDEwOlJlcG9zaXRvcnkxMjg4MDc2NzU=","name":"susi_android","full_name":"batbrain7/susi_android","owner":{"login":"batbrain7","id":16780496,"node_id":"MDQ6VXNlcjE2NzgwNDk2","avatar_url":"https://avatars2.githubusercontent.com/u/16780496?v=4","gravatar_id":"","url":"https://api.github.com/users/batbrain7","html_url":"https://github.com/batbrain7","followers_url":"https://api.github.com/users/batbrain7/followers","following_url":"https://api.github.com/users/batbrain7/following{/other_user}","gists_url":"https://api.github.com/users/batbrain7/gists{/gist_id}","starred_url":"https://api.github.com/users/batbrain7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batbrain7/subscriptions","organizations_url":"https://api.github.com/users/batbrain7/orgs","repos_url":"https://api.github.com/users/batbrain7/repos","events_url":"https://api.github.com/users/batbrain7/events{/privacy}","received_events_url":"https://api.github.com/users/batbrain7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/batbrain7/susi_android","description":"SUSI.AI Android App https://play.google.com/apps/testing/ai.susi","fork":true,"url":"https://api.github.com/repos/batbrain7/susi_android","forks_url":"https://api.github.com/repos/batbrain7/susi_android/forks","keys_url":"https://api.github.com/repos/batbrain7/susi_android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/batbrain7/susi_android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/batbrain7/susi_android/teams","hooks_url":"https://api.github.com/repos/batbrain7/susi_android/hooks","issue_events_url":"https://api.github.com/repos/batbrain7/susi_android/issues/events{/number}","events_url":"https://api.github.com/repos/batbrain7/susi_android/events","assignees_url":"https://api.github.com/repos/batbrain7/susi_android/assignees{/user}","branches_url":"https://api.github.com/repos/batbrain7/susi_android/branches{/branch}","tags_url":"https://api.github.com/repos/batbrain7/susi_android/tags","blobs_url":"https://api.github.com/repos/batbrain7/susi_android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/batbrain7/susi_android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/batbrain7/susi_android/git/refs{/sha}","trees_url":"https://api.github.com/repos/batbrain7/susi_android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/batbrain7/susi_android/statuses/{sha}","languages_url":"https://api.github.com/repos/batbrain7/susi_android/languages","stargazers_url":"https://api.github.com/repos/batbrain7/susi_android/stargazers","contributors_url":"https://api.github.com/repos/batbrain7/susi_android/contributors","subscribers_url":"https://api.github.com/repos/batbrain7/susi_android/subscribers","subscription_url":"https://api.github.com/repos/batbrain7/susi_android/subscription","commits_url":"https://api.github.com/repos/batbrain7/susi_android/commits{/sha}","git_commits_url":"https://api.github.com/repos/batbrain7/susi_android/git/commits{/sha}","comments_url":"https://api.github.com/repos/batbrain7/susi_android/comments{/number}","issue_comment_url":"https://api.github.com/repos/batbrain7/susi_android/issues/comments{/number}","contents_url":"https://api.github.com/repos/batbrain7/susi_android/contents/{+path}","compare_url":"https://api.github.com/repos/batbrain7/susi_android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/batbrain7/susi_android/merges","archive_url":"https://api.github.com/repos/batbrain7/susi_android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/batbrain7/susi_android/downloads","issues_url":"https://api.github.com/repos/batbrain7/susi_android/issues{/number}","pulls_url":"https://api.github.com/repos/batbrain7/susi_android/pulls{/number}","milestones_url":"https://api.github.com/repos/batbrain7/susi_android/milestones{/number}","notifications_url":"https://api.github.com/repos/batbrain7/susi_android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/batbrain7/susi_android/labels{/name}","releases_url":"https://api.github.com/repos/batbrain7/susi_android/releases{/id}","deployments_url":"https://api.github.com/repos/batbrain7/susi_android/deployments","created_at":"2018-04-09T17:13:54Z","updated_at":"2018-07-03T11:43:36Z","pushed_at":"2018-07-04T06:37:34Z","git_url":"git://github.com/batbrain7/susi_android.git","ssh_url":"git@github.com:batbrain7/susi_android.git","clone_url":"https://github.com/batbrain7/susi_android.git","svn_url":"https://github.com/batbrain7/susi_android","homepage":"","size":58824,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"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":0,"open_issues":0,"watchers":0,"default_branch":"development"}},"base":{"label":"fossasia:development","ref":"development","sha":"449212cb3ab562b334aa705194bf41e6fa0a5271","user":{"login":"fossasia","id":6295529,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyOTU1Mjk=","avatar_url":"https://avatars3.githubusercontent.com/u/6295529?v=4","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"repo":{"id":68798776,"node_id":"MDEwOlJlcG9zaXRvcnk2ODc5ODc3Ng==","name":"susi_android","full_name":"fossasia/susi_android","owner":{"login":"fossasia","id":6295529,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyOTU1Mjk=","avatar_url":"https://avatars3.githubusercontent.com/u/6295529?v=4","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fossasia/susi_android","description":"SUSI.AI Android App https://play.google.com/apps/testing/ai.susi","fork":false,"url":"https://api.github.com/repos/fossasia/susi_android","forks_url":"https://api.github.com/repos/fossasia/susi_android/forks","keys_url":"https://api.github.com/repos/fossasia/susi_android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fossasia/susi_android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fossasia/susi_android/teams","hooks_url":"https://api.github.com/repos/fossasia/susi_android/hooks","issue_events_url":"https://api.github.com/repos/fossasia/susi_android/issues/events{/number}","events_url":"https://api.github.com/repos/fossasia/susi_android/events","assignees_url":"https://api.github.com/repos/fossasia/susi_android/assignees{/user}","branches_url":"https://api.github.com/repos/fossasia/susi_android/branches{/branch}","tags_url":"https://api.github.com/repos/fossasia/susi_android/tags","blobs_url":"https://api.github.com/repos/fossasia/susi_android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fossasia/susi_android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fossasia/susi_android/git/refs{/sha}","trees_url":"https://api.github.com/repos/fossasia/susi_android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fossasia/susi_android/statuses/{sha}","languages_url":"https://api.github.com/repos/fossasia/susi_android/languages","stargazers_url":"https://api.github.com/repos/fossasia/susi_android/stargazers","contributors_url":"https://api.github.com/repos/fossasia/susi_android/contributors","subscribers_url":"https://api.github.com/repos/fossasia/susi_android/subscribers","subscription_url":"https://api.github.com/repos/fossasia/susi_android/subscription","commits_url":"https://api.github.com/repos/fossasia/susi_android/commits{/sha}","git_commits_url":"https://api.github.com/repos/fossasia/susi_android/git/commits{/sha}","comments_url":"https://api.github.com/repos/fossasia/susi_android/comments{/number}","issue_comment_url":"https://api.github.com/repos/fossasia/susi_android/issues/comments{/number}","contents_url":"https://api.github.com/repos/fossasia/susi_android/contents/{+path}","compare_url":"https://api.github.com/repos/fossasia/susi_android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fossasia/susi_android/merges","archive_url":"https://api.github.com/repos/fossasia/susi_android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fossasia/susi_android/downloads","issues_url":"https://api.github.com/repos/fossasia/susi_android/issues{/number}","pulls_url":"https://api.github.com/repos/fossasia/susi_android/pulls{/number}","milestones_url":"https://api.github.com/repos/fossasia/susi_android/milestones{/number}","notifications_url":"https://api.github.com/repos/fossasia/susi_android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fossasia/susi_android/labels{/name}","releases_url":"https://api.github.com/repos/fossasia/susi_android/releases{/id}","deployments_url":"https://api.github.com/repos/fossasia/susi_android/deployments","created_at":"2016-09-21T08:56:16Z","updated_at":"2018-07-04T05:15:41Z","pushed_at":"2018-07-04T06:37:36Z","git_url":"git://github.com/fossasia/susi_android.git","ssh_url":"git@github.com:fossasia/susi_android.git","clone_url":"https://github.com/fossasia/susi_android.git","svn_url":"https://github.com/fossasia/susi_android","homepage":"","size":37171,"stargazers_count":838,"watchers_count":838,"language":"Kotlin","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":620,"mirror_url":null,"archived":false,"open_issues_count":91,"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":620,"open_issues":91,"watchers":838,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/fossasia/susi_android/pulls/1472"},"html":{"href":"https://github.com/fossasia/susi_android/pull/1472"},"issue":{"href":"https://api.github.com/repos/fossasia/susi_android/issues/1472"},"comments":{"href":"https://api.github.com/repos/fossasia/susi_android/issues/1472/comments"},"review_comments":{"href":"https://api.github.com/repos/fossasia/susi_android/pulls/1472/comments"},"review_comment":{"href":"https://api.github.com/repos/fossasia/susi_android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fossasia/susi_android/pulls/1472/commits"},"statuses":{"href":"https://api.github.com/repos/fossasia/susi_android/statuses/2f400c33c56f629e53f3fde45bf574f4c38782c8"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"batbrain7"}}