{"action":"created","comment":{"url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/pulls/comments/71490120","id":71490120,"diff_hunk":"@@ -147,5 +148,281 @@ describe(\"Test CommandOps\", function() {\n \n         })\n     })\n+\n+    describe(\"Test CommandOps#getCommand\", function() {\n+        describe(\"Validate parameter\", function () {\n+            class TestCase{\n+                constructor(\n+                    public commandID: any,\n+                    public expectedError: string\n+                ){}\n+            }\n+            let tests = [\n+                new TestCase(\"\", Errors.ArgumentError),\n+                new TestCase(null, Errors.ArgumentError),\n+                new TestCase({}, Errors.ArgumentError)\n+            ]\n+            tests.forEach(function (test) {\n+                it(\"When commandID=\"+test.commandID+\", \"\n+                    +test.expectedError+\" error should be returned\", function(done) {\n+                    cmdOp.getCommand(test.commandID).then(()=>{\n+                        done(\"should fail\");\n+                    }).catch((err)=>{\n+                        expect(err.name).to.be.equal(test.expectedError);\n+                        done();\n+                    }).catch((err)=>{\n+                        done(err);\n+                    })\n+                });\n+            });\n+        });\n+\n+        describe(\"handle http response\", function() {\n+            let commandID = \"3f2c4b10-4e26-11e6-ae54-22000ad9156c\"\n+            let path = `/thing-if/apps/${testApp.appID}/targets/${targetID.toString()}/commands/${commandID}`;\n+            let expectedReqHeaders = {\n+                \"Content-Type\": \"application/json\",\n+                \"Authorrization\": `Bearer ${au.token}`\n+            };\n+            let issuerUserID = \"123456\"\n+\n+            beforeEach(function() {\n+                nock.cleanAll();\n+            });\n+            it(\"handle success respones\", function(done) {\n+                let date = new Date();\n+                let responseBody:any = {\n+                    \"schema\": \"LED\",\n+                    \"schemaVersion\": 1,\n+                    \"target\": \"thing:\"+targetID.id,\n+                    \"commandState\": \"SENDING\",\n+                    \"issuer\": \"user:\"+issuerUserID,\n+                    \"actions\": [\n+                        {\n+                        \"changeColor\": {\n+                            \"Red\": 0,\n+                            \"White\": 0,\n+                            \"Blue\": 50,\n+                            \"Green\": 0\n+                        }\n+                        }\n+                    ],\n+                    \"actionResults\": [\n+                    {\n+                        \"changeColor\":  {\n+                            \"succeeded\":true,\n+                            \"errorMessage\":\"\",\n+                            \"data\":{\n+                                \"Red\": 0,\n+                                \"White\": 0,\n+                                \"Blue\": 50,\n+                                \"Green\": 0\n+                            }\n+                        }\n+                    }],\n+                    \"commandID\": commandID,\n+                    \"createdAt\": date.getTime(),\n+                    \"modifiedAt\": date.getTime(),\n+                    \"firedByTriggerID\": \"0cjc20jc20immc3mic2mi0c2\",\n+                    \"title\": \"Turn and set brightness\",\n+                    \"description\": \"Turns light on and set to full brightness\",\n+                    \"metadata\": {\"brightness\":\"full brightness\"}\n+                }\n+\n+                scope = nock(testApp.site, <any>expectedReqHeaders)\n+                    .get(path)\n+                    .reply(\n+                        200,\n+                        responseBody,\n+                        {\"Content-Type\": \"application/json\"}\n+                    );\n+                cmdOp.getCommand(commandID).then((cmd)=>{\n+                    expect(cmd.commandID).to.be.equal(commandID);\n+                    expect(cmd.schemaName).to.be.equal(responseBody.schema);\n+                    expect(cmd.schemaVersion).to.be.equal(responseBody.schemaVersion);\n+                    expect(cmd.actions).to.be.deep.equal(responseBody.actions);\n+                    expect(cmd.actionResults).to.be.deep.equal(responseBody.actionResults);\n+                    expect(cmd.commandState).to.be.equal(CommandState.SENDING);\n+                    expect(cmd.modified.getTime()).to.be.equal(date.getTime());\n+                    expect(cmd.created.getTime()).to.be.equal(date.getTime());\n+                    expect(cmd.title).to.be.equal(responseBody.title);\n+                    expect(cmd.description).to.be.equal(responseBody.description);\n+                    expect(cmd.metadata).to.be.deep.equal(responseBody.metadata);\n+                    expect(cmd.firedByTriggerID).to.be.equal(responseBody.firedByTriggerID);\n+                    done();\n+                }).catch((err)=>{\n+                    done(err);\n+                })\n+            })\n+\n+            it(\"handle 404 respones\", function(done) {\n+                let date = new Date();\n+                let responseBody:any = {\n+                \"errorCode\": \"COMMAND_NOT_FOUND\",\n+                \"message\": `Command ${commandID} not found`\n+                }\n+\n+                scope = nock(testApp.site, <any>expectedReqHeaders)\n+                    .get(path)\n+                    .reply(\n+                        404,\n+                        responseBody,\n+                        {\"Content-Type\": \"application/json\"}\n+                    );\n+                cmdOp.getCommand(commandID).then(()=>{\n+                    done(\"should fail\");\n+                }).catch((err:HttpRequestError)=>{\n+                    expect(err.status).to.be.equal(404);\n+                    expect(err.body).to.be.deep.equal(responseBody);\n+                    done();\n+                }).catch((err)=>{\n+                    done(err);\n+                })\n+            })\n+        })\n+    })\n+\n+    describe(\"Test CommandOps#listCommand\", function() {\n+\n+        describe(\"handle http response\", function() {\n+\n+            let path = `/thing-if/apps/${testApp.appID}/targets/${targetID.toString()}/commands`;\n+            let expectedReqHeaders = {\n+                \"Content-Type\": \"application/json\",\n+                \"Authorrization\": `Bearer ${au.token}`\n+            };\n+            let issuerUserID = \"123456\"\n+\n+            beforeEach(function() {\n+                    nock.cleanAll();\n+            });\n+\n+            describe(\"handle success response\", function() {\n+\n+                class TestCase {\n+                        constructor(\n+                            public paginationKey: any,\n+                            public bestEffortLimit: any,\n+                            public expectedQueryObject: Object\n+                        ){}\n+                    }\n+                let tests = [\n+                    new TestCase('200/1', 1, {paginationKey: \"200/1\", bestEffortLimit: 1}),\n+                    new TestCase(null, 1, {bestEffortLimit:1}),\n+                    new TestCase('200/1', null, {paginationKey:\"200/1\"}),\n+                    new TestCase(null, null, {}),\n+\n+                ];\n+\n+                tests.forEach(function(test) {\n+                    it(\"when paginationKey=\"+test.paginationKey+\", bestEffortLimit=\"+test.bestEffortLimit, function(done) {\n+                        let responseBody:any = {\n+                            \"commands\":[\n+                                {\n+                                    \"schema\": \"LED\",\n+                                    \"schemaVersion\": 1,\n+                                    \"target\": \"thing:\"+targetID.id,\n+                                    \"commandState\": \"SENDING\",\n+                                    \"issuer\": \"user:\"+issuerUserID,\n+                                    \"actions\": [{\"turnPower\": {\"power\": true}}],\n+                                    \"commandID\": \"id1\",\n+                                    \"createdAt\": (new Date()).getTime(),\n+                                    \"modifiedAt\": (new Date()).getTime(),\n+                                },\n+                                {\n+                                    \"schema\": \"LED\",\n+                                    \"schemaVersion\": 1,\n+                                    \"target\": \"thing:\"+targetID.id,\n+                                    \"commandState\": \"SENDING\",\n+                                    \"issuer\": \"user:\"+issuerUserID,\n+                                    \"actions\": [{\"turnPower\": {\"power\": false}}],\n+                                    \"commandID\": \"id2\",\n+                                    \"createdAt\": (new Date()).getTime(),\n+                                    \"modifiedAt\": (new Date()).getTime(),\n+                                },\n+                            ],\n+                            \"nextPaginationKey\": \"200/2\"\n+                        }\n+\n+                        scope = nock(testApp.site, <any>expectedReqHeaders)\n+                            .get(path)\n+                            .query(test.expectedQueryObject)\n+                            .reply(\n+                                200,\n+                                responseBody,\n+                                {\"Content-Type\": \"application/json\"}\n+                            );\n+                        cmdOp.listCommands(new Options.ListQueryOptions(test.bestEffortLimit, test.paginationKey)).then((result: QueryResult<Command>)=>{\n+                            expect(result.hasNext).to.be.true;","path":"test/small/CommandOpsTest.ts","position":226,"original_position":226,"commit_id":"227fdee1a1a61f80114a9e8de2515fa6cbc24569","original_commit_id":"d03aa821a1ee74aa2a4cbc3ec48b3db9e9067fab","user":{"login":"yongpingchen","id":1248696,"avatar_url":"https://avatars.githubusercontent.com/u/1248696?v=3","gravatar_id":"","url":"https://api.github.com/users/yongpingchen","html_url":"https://github.com/yongpingchen","followers_url":"https://api.github.com/users/yongpingchen/followers","following_url":"https://api.github.com/users/yongpingchen/following{/other_user}","gists_url":"https://api.github.com/users/yongpingchen/gists{/gist_id}","starred_url":"https://api.github.com/users/yongpingchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yongpingchen/subscriptions","organizations_url":"https://api.github.com/users/yongpingchen/orgs","repos_url":"https://api.github.com/users/yongpingchen/repos","events_url":"https://api.github.com/users/yongpingchen/events{/privacy}","received_events_url":"https://api.github.com/users/yongpingchen/received_events","type":"User","site_admin":false},"body":"added","created_at":"2016-07-20T09:09:30Z","updated_at":"2016-07-20T09:09:30Z","html_url":"https://github.com/KiiPlatform/thing-if-JSSDK/pull/28#discussion_r71490120","pull_request_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/pulls/comments/71490120"},"html":{"href":"https://github.com/KiiPlatform/thing-if-JSSDK/pull/28#discussion_r71490120"},"pull_request":{"href":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/pulls/28","id":78108973,"html_url":"https://github.com/KiiPlatform/thing-if-JSSDK/pull/28","diff_url":"https://github.com/KiiPlatform/thing-if-JSSDK/pull/28.diff","patch_url":"https://github.com/KiiPlatform/thing-if-JSSDK/pull/28.patch","issue_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/issues/28","number":28,"state":"open","locked":false,"title":"Implement CommandOps#getCommand, listCommands","user":{"login":"yongpingchen","id":1248696,"avatar_url":"https://avatars.githubusercontent.com/u/1248696?v=3","gravatar_id":"","url":"https://api.github.com/users/yongpingchen","html_url":"https://github.com/yongpingchen","followers_url":"https://api.github.com/users/yongpingchen/followers","following_url":"https://api.github.com/users/yongpingchen/following{/other_user}","gists_url":"https://api.github.com/users/yongpingchen/gists{/gist_id}","starred_url":"https://api.github.com/users/yongpingchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yongpingchen/subscriptions","organizations_url":"https://api.github.com/users/yongpingchen/orgs","repos_url":"https://api.github.com/users/yongpingchen/repos","events_url":"https://api.github.com/users/yongpingchen/events{/privacy}","received_events_url":"https://api.github.com/users/yongpingchen/received_events","type":"User","site_admin":false},"body":"- Implement CommandOps#getCommand, listCommands and Small tests\r\n- Large test APIAuthor#postNewCommand, getCommand and listCommands\r\n\r\ncommand APIs of ThingIFAPI will be in another PR","created_at":"2016-07-20T08:43:35Z","updated_at":"2016-07-20T09:09:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6920c3413b17b645d93ccd3287d7798ae2b74a03","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/pulls/28/commits","review_comments_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/pulls/28/comments","review_comment_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/issues/28/comments","statuses_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/statuses/227fdee1a1a61f80114a9e8de2515fa6cbc24569","head":{"label":"KiiPlatform:command_impl2","ref":"command_impl2","sha":"227fdee1a1a61f80114a9e8de2515fa6cbc24569","user":{"login":"KiiPlatform","id":3078752,"avatar_url":"https://avatars.githubusercontent.com/u/3078752?v=3","gravatar_id":"","url":"https://api.github.com/users/KiiPlatform","html_url":"https://github.com/KiiPlatform","followers_url":"https://api.github.com/users/KiiPlatform/followers","following_url":"https://api.github.com/users/KiiPlatform/following{/other_user}","gists_url":"https://api.github.com/users/KiiPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/KiiPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KiiPlatform/subscriptions","organizations_url":"https://api.github.com/users/KiiPlatform/orgs","repos_url":"https://api.github.com/users/KiiPlatform/repos","events_url":"https://api.github.com/users/KiiPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/KiiPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":61766435,"name":"thing-if-JSSDK","full_name":"KiiPlatform/thing-if-JSSDK","owner":{"login":"KiiPlatform","id":3078752,"avatar_url":"https://avatars.githubusercontent.com/u/3078752?v=3","gravatar_id":"","url":"https://api.github.com/users/KiiPlatform","html_url":"https://github.com/KiiPlatform","followers_url":"https://api.github.com/users/KiiPlatform/followers","following_url":"https://api.github.com/users/KiiPlatform/following{/other_user}","gists_url":"https://api.github.com/users/KiiPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/KiiPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KiiPlatform/subscriptions","organizations_url":"https://api.github.com/users/KiiPlatform/orgs","repos_url":"https://api.github.com/users/KiiPlatform/repos","events_url":"https://api.github.com/users/KiiPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/KiiPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KiiPlatform/thing-if-JSSDK","description":"","fork":false,"url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK","forks_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/forks","keys_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/teams","hooks_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/hooks","issue_events_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/issues/events{/number}","events_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/events","assignees_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/assignees{/user}","branches_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/branches{/branch}","tags_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/tags","blobs_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/git/refs{/sha}","trees_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/statuses/{sha}","languages_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/languages","stargazers_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/stargazers","contributors_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/contributors","subscribers_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/subscribers","subscription_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/subscription","commits_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/commits{/sha}","git_commits_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/git/commits{/sha}","comments_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/comments{/number}","issue_comment_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/issues/comments{/number}","contents_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/contents/{+path}","compare_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/merges","archive_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/downloads","issues_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/issues{/number}","pulls_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/pulls{/number}","milestones_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/milestones{/number}","notifications_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/labels{/name}","releases_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/releases{/id}","deployments_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/deployments","created_at":"2016-06-23T02:23:23Z","updated_at":"2016-07-14T07:40:07Z","pushed_at":"2016-07-20T09:09:00Z","git_url":"git://github.com/KiiPlatform/thing-if-JSSDK.git","ssh_url":"git@github.com:KiiPlatform/thing-if-JSSDK.git","clone_url":"https://github.com/KiiPlatform/thing-if-JSSDK.git","svn_url":"https://github.com/KiiPlatform/thing-if-JSSDK","homepage":null,"size":220,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"KiiPlatform:develop","ref":"develop","sha":"e099a2114ea84cc9c19d68ad5136a7910b755514","user":{"login":"KiiPlatform","id":3078752,"avatar_url":"https://avatars.githubusercontent.com/u/3078752?v=3","gravatar_id":"","url":"https://api.github.com/users/KiiPlatform","html_url":"https://github.com/KiiPlatform","followers_url":"https://api.github.com/users/KiiPlatform/followers","following_url":"https://api.github.com/users/KiiPlatform/following{/other_user}","gists_url":"https://api.github.com/users/KiiPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/KiiPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KiiPlatform/subscriptions","organizations_url":"https://api.github.com/users/KiiPlatform/orgs","repos_url":"https://api.github.com/users/KiiPlatform/repos","events_url":"https://api.github.com/users/KiiPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/KiiPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":61766435,"name":"thing-if-JSSDK","full_name":"KiiPlatform/thing-if-JSSDK","owner":{"login":"KiiPlatform","id":3078752,"avatar_url":"https://avatars.githubusercontent.com/u/3078752?v=3","gravatar_id":"","url":"https://api.github.com/users/KiiPlatform","html_url":"https://github.com/KiiPlatform","followers_url":"https://api.github.com/users/KiiPlatform/followers","following_url":"https://api.github.com/users/KiiPlatform/following{/other_user}","gists_url":"https://api.github.com/users/KiiPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/KiiPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KiiPlatform/subscriptions","organizations_url":"https://api.github.com/users/KiiPlatform/orgs","repos_url":"https://api.github.com/users/KiiPlatform/repos","events_url":"https://api.github.com/users/KiiPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/KiiPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KiiPlatform/thing-if-JSSDK","description":"","fork":false,"url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK","forks_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/forks","keys_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/teams","hooks_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/hooks","issue_events_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/issues/events{/number}","events_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/events","assignees_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/assignees{/user}","branches_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/branches{/branch}","tags_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/tags","blobs_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/git/refs{/sha}","trees_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/statuses/{sha}","languages_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/languages","stargazers_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/stargazers","contributors_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/contributors","subscribers_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/subscribers","subscription_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/subscription","commits_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/commits{/sha}","git_commits_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/git/commits{/sha}","comments_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/comments{/number}","issue_comment_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/issues/comments{/number}","contents_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/contents/{+path}","compare_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/merges","archive_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/downloads","issues_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/issues{/number}","pulls_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/pulls{/number}","milestones_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/milestones{/number}","notifications_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/labels{/name}","releases_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/releases{/id}","deployments_url":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/deployments","created_at":"2016-06-23T02:23:23Z","updated_at":"2016-07-14T07:40:07Z","pushed_at":"2016-07-20T09:09:00Z","git_url":"git://github.com/KiiPlatform/thing-if-JSSDK.git","ssh_url":"git@github.com:KiiPlatform/thing-if-JSSDK.git","clone_url":"https://github.com/KiiPlatform/thing-if-JSSDK.git","svn_url":"https://github.com/KiiPlatform/thing-if-JSSDK","homepage":null,"size":220,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/pulls/28"},"html":{"href":"https://github.com/KiiPlatform/thing-if-JSSDK/pull/28"},"issue":{"href":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/issues/28"},"comments":{"href":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/KiiPlatform/thing-if-JSSDK/statuses/227fdee1a1a61f80114a9e8de2515fa6cbc24569"}}}}
{"actor":{"display_login":"yongpingchen"}}