{"action":"created","comment":{"url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/pulls/comments/36724538","id":36724538,"diff_hunk":"@@ -0,0 +1,27 @@\n+{\n+  \"contextResponses\": [\n+    {\n+      \"contextElement\": {\n+        \"attributes\": [\n+          {\n+            \"name\": \"op_status\",\n+            \"value\": \"CLOSED\",\n+            \"type\": \"string\"\n+          },\n+          {\n+            \"name\": \"last_operation\",\n+            \"value\": \"\",\n+            \"type\": \"string\"\n+          }\n+        ],\n+        \"id\": \"STACK1:ThinkingThing\",\n+        \"isPattern\": \"false\",\n+        \"type\": \"ThinkingThing\"\n+      },\n+      \"statusCode\": {\n+        \"code\": \"200\",\n+        \"reasonPhrase\": \"OK\"\n+      }\n+    }\n+  ]\n+}","path":"test/unit/contextResponses/blackButtonCloseRequestSuccess.json","position":27,"original_position":27,"commit_id":"a881471cc5ced33fe28f66ccc3238eddc00ea223","original_commit_id":"a881471cc5ced33fe28f66ccc3238eddc00ea223","user":{"login":"gtorodelvalle","id":667284,"avatar_url":"https://avatars.githubusercontent.com/u/667284?v=3","gravatar_id":"","url":"https://api.github.com/users/gtorodelvalle","html_url":"https://github.com/gtorodelvalle","followers_url":"https://api.github.com/users/gtorodelvalle/followers","following_url":"https://api.github.com/users/gtorodelvalle/following{/other_user}","gists_url":"https://api.github.com/users/gtorodelvalle/gists{/gist_id}","starred_url":"https://api.github.com/users/gtorodelvalle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtorodelvalle/subscriptions","organizations_url":"https://api.github.com/users/gtorodelvalle/orgs","repos_url":"https://api.github.com/users/gtorodelvalle/repos","events_url":"https://api.github.com/users/gtorodelvalle/events{/privacy}","received_events_url":"https://api.github.com/users/gtorodelvalle/received_events","type":"User","site_admin":false},"body":"Final blank line appreciated... ;)","created_at":"2015-08-11T09:00:06Z","updated_at":"2015-08-11T09:00:06Z","html_url":"https://github.com/telefonicaid/iotagent-thinking-things/pull/38#discussion_r36724538","pull_request_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/pulls/38","_links":{"self":{"href":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/pulls/comments/36724538"},"html":{"href":"https://github.com/telefonicaid/iotagent-thinking-things/pull/38#discussion_r36724538"},"pull_request":{"href":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/pulls/38","id":42101558,"html_url":"https://github.com/telefonicaid/iotagent-thinking-things/pull/38","diff_url":"https://github.com/telefonicaid/iotagent-thinking-things/pull/38.diff","patch_url":"https://github.com/telefonicaid/iotagent-thinking-things/pull/38.patch","issue_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/issues/38","number":38,"state":"open","locked":false,"title":"Task/implement black button protocol","user":{"login":"dmoranj","id":1152892,"avatar_url":"https://avatars.githubusercontent.com/u/1152892?v=3","gravatar_id":"","url":"https://api.github.com/users/dmoranj","html_url":"https://github.com/dmoranj","followers_url":"https://api.github.com/users/dmoranj/followers","following_url":"https://api.github.com/users/dmoranj/following{/other_user}","gists_url":"https://api.github.com/users/dmoranj/gists{/gist_id}","starred_url":"https://api.github.com/users/dmoranj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmoranj/subscriptions","organizations_url":"https://api.github.com/users/dmoranj/orgs","repos_url":"https://api.github.com/users/dmoranj/repos","events_url":"https://api.github.com/users/dmoranj/events{/privacy}","received_events_url":"https://api.github.com/users/dmoranj/received_events","type":"User","site_admin":false},"body":"Fixes #23\r\n\r\nImplements the first version of the Black Button protocol. This version includes just the happy path; error management will be implemented in future PRs.","created_at":"2015-08-11T07:52:48Z","updated_at":"2015-08-11T09:00:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c05fdf5ac601d504dcc6ac6151552b5486771548","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/pulls/38/commits","review_comments_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/pulls/38/comments","review_comment_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/pulls/comments{/number}","comments_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/issues/38/comments","statuses_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/statuses/a881471cc5ced33fe28f66ccc3238eddc00ea223","head":{"label":"telefonicaid:task/implementBlackButtonProtocol","ref":"task/implementBlackButtonProtocol","sha":"a881471cc5ced33fe28f66ccc3238eddc00ea223","user":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"repo":{"id":29520435,"name":"iotagent-thinking-things","full_name":"telefonicaid/iotagent-thinking-things","owner":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/telefonicaid/iotagent-thinking-things","description":"IOT Agent for the Telefonica Thinking Things protocol","fork":false,"url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things","forks_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/forks","keys_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/keys{/key_id}","collaborators_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/teams","hooks_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/hooks","issue_events_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/issues/events{/number}","events_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/events","assignees_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/assignees{/user}","branches_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/branches{/branch}","tags_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/tags","blobs_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/git/refs{/sha}","trees_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/git/trees{/sha}","statuses_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/statuses/{sha}","languages_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/languages","stargazers_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/stargazers","contributors_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/contributors","subscribers_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/subscribers","subscription_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/subscription","commits_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/commits{/sha}","git_commits_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/git/commits{/sha}","comments_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/comments{/number}","issue_comment_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/issues/comments{/number}","contents_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/contents/{+path}","compare_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/compare/{base}...{head}","merges_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/merges","archive_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/downloads","issues_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/issues{/number}","pulls_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/pulls{/number}","milestones_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/milestones{/number}","notifications_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/labels{/name}","releases_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/releases{/id}","created_at":"2015-01-20T08:52:02Z","updated_at":"2015-08-04T07:07:57Z","pushed_at":"2015-08-11T07:52:48Z","git_url":"git://github.com/telefonicaid/iotagent-thinking-things.git","ssh_url":"git@github.com:telefonicaid/iotagent-thinking-things.git","clone_url":"https://github.com/telefonicaid/iotagent-thinking-things.git","svn_url":"https://github.com/telefonicaid/iotagent-thinking-things","homepage":null,"size":532,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"develop"}},"base":{"label":"telefonicaid:develop","ref":"develop","sha":"f22af98bf37976396eb0bb99f07467b073b54b72","user":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"repo":{"id":29520435,"name":"iotagent-thinking-things","full_name":"telefonicaid/iotagent-thinking-things","owner":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/telefonicaid/iotagent-thinking-things","description":"IOT Agent for the Telefonica Thinking Things protocol","fork":false,"url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things","forks_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/forks","keys_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/keys{/key_id}","collaborators_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/teams","hooks_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/hooks","issue_events_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/issues/events{/number}","events_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/events","assignees_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/assignees{/user}","branches_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/branches{/branch}","tags_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/tags","blobs_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/git/refs{/sha}","trees_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/git/trees{/sha}","statuses_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/statuses/{sha}","languages_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/languages","stargazers_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/stargazers","contributors_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/contributors","subscribers_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/subscribers","subscription_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/subscription","commits_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/commits{/sha}","git_commits_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/git/commits{/sha}","comments_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/comments{/number}","issue_comment_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/issues/comments{/number}","contents_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/contents/{+path}","compare_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/compare/{base}...{head}","merges_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/merges","archive_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/downloads","issues_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/issues{/number}","pulls_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/pulls{/number}","milestones_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/milestones{/number}","notifications_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/labels{/name}","releases_url":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/releases{/id}","created_at":"2015-01-20T08:52:02Z","updated_at":"2015-08-04T07:07:57Z","pushed_at":"2015-08-11T07:52:48Z","git_url":"git://github.com/telefonicaid/iotagent-thinking-things.git","ssh_url":"git@github.com:telefonicaid/iotagent-thinking-things.git","clone_url":"https://github.com/telefonicaid/iotagent-thinking-things.git","svn_url":"https://github.com/telefonicaid/iotagent-thinking-things","homepage":null,"size":532,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/pulls/38"},"html":{"href":"https://github.com/telefonicaid/iotagent-thinking-things/pull/38"},"issue":{"href":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/issues/38"},"comments":{"href":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/telefonicaid/iotagent-thinking-things/statuses/a881471cc5ced33fe28f66ccc3238eddc00ea223"}}}}