{"action":"closed","number":57,"pull_request":{"url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/pulls/57","id":198496355,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4NDk2MzU1","html_url":"https://github.com/P2PVPS/p2pvps-server2/pull/57","diff_url":"https://github.com/P2PVPS/p2pvps-server2/pull/57.diff","patch_url":"https://github.com/P2PVPS/p2pvps-server2/pull/57.patch","issue_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/issues/57","number":57,"state":"closed","locked":false,"title":"dashIds implemented","user":{"login":"christroutner","id":9870991,"node_id":"MDQ6VXNlcjk4NzA5OTE=","avatar_url":"https://avatars0.githubusercontent.com/u/9870991?v=4","gravatar_id":"","url":"https://api.github.com/users/christroutner","html_url":"https://github.com/christroutner","followers_url":"https://api.github.com/users/christroutner/followers","following_url":"https://api.github.com/users/christroutner/following{/other_user}","gists_url":"https://api.github.com/users/christroutner/gists{/gist_id}","starred_url":"https://api.github.com/users/christroutner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christroutner/subscriptions","organizations_url":"https://api.github.com/users/christroutner/orgs","repos_url":"https://api.github.com/users/christroutner/repos","events_url":"https://api.github.com/users/christroutner/events{/privacy}","received_events_url":"https://api.github.com/users/christroutner/received_events","type":"User","site_admin":false},"body":"This PR includes a new dashIds feature. The dashId is 10-character random string that is generated by the `POST /api/sshport/` API call. The dash ID is sent to the renter during the 'Fulfill' stage of an OpenBazaar order, along with the login, password, and port of the rented device.\r\n\r\nThis PR also includes changes to the `GET /api/users/:id` API endpoint. If and only if a user queries themself, then an array called `dashIds` is returned in their user model. Users can only query the dashIds for themselves, not for other users.\r\n\r\nThe idea is that these dashIds act as psudo-passwords. In the Dashboard, renters can add this DashId in order for the Dashboard to retrieve the login details of their rented device, and allow the user to manage their rented devices from within the Dashboard UI. The UI still needs to be developed.","created_at":"2018-06-30T22:11:18Z","updated_at":"2018-06-30T22:28:37Z","closed_at":"2018-06-30T22:28:37Z","merged_at":"2018-06-30T22:28:37Z","merge_commit_sha":"83e370bd33d8980fe7547d2747a98272584dbaad","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/pulls/57/commits","review_comments_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/pulls/57/comments","review_comment_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/issues/57/comments","statuses_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/statuses/6cd54274ac88e83613579dd155d8c51c261ca4bb","head":{"label":"P2PVPS:unstable","ref":"unstable","sha":"6cd54274ac88e83613579dd155d8c51c261ca4bb","user":{"login":"P2PVPS","id":34493766,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NDkzNzY2","avatar_url":"https://avatars3.githubusercontent.com/u/34493766?v=4","gravatar_id":"","url":"https://api.github.com/users/P2PVPS","html_url":"https://github.com/P2PVPS","followers_url":"https://api.github.com/users/P2PVPS/followers","following_url":"https://api.github.com/users/P2PVPS/following{/other_user}","gists_url":"https://api.github.com/users/P2PVPS/gists{/gist_id}","starred_url":"https://api.github.com/users/P2PVPS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/P2PVPS/subscriptions","organizations_url":"https://api.github.com/users/P2PVPS/orgs","repos_url":"https://api.github.com/users/P2PVPS/repos","events_url":"https://api.github.com/users/P2PVPS/events{/privacy}","received_events_url":"https://api.github.com/users/P2PVPS/received_events","type":"Organization","site_admin":false},"repo":{"id":123993091,"node_id":"MDEwOlJlcG9zaXRvcnkxMjM5OTMwOTE=","name":"p2pvps-server2","full_name":"P2PVPS/p2pvps-server2","owner":{"login":"P2PVPS","id":34493766,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NDkzNzY2","avatar_url":"https://avatars3.githubusercontent.com/u/34493766?v=4","gravatar_id":"","url":"https://api.github.com/users/P2PVPS","html_url":"https://github.com/P2PVPS","followers_url":"https://api.github.com/users/P2PVPS/followers","following_url":"https://api.github.com/users/P2PVPS/following{/other_user}","gists_url":"https://api.github.com/users/P2PVPS/gists{/gist_id}","starred_url":"https://api.github.com/users/P2PVPS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/P2PVPS/subscriptions","organizations_url":"https://api.github.com/users/P2PVPS/orgs","repos_url":"https://api.github.com/users/P2PVPS/repos","events_url":"https://api.github.com/users/P2PVPS/events{/privacy}","received_events_url":"https://api.github.com/users/P2PVPS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/P2PVPS/p2pvps-server2","description":"P2P VPS API server based on Node.js and Koa","fork":false,"url":"https://api.github.com/repos/P2PVPS/p2pvps-server2","forks_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/forks","keys_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/teams","hooks_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/hooks","issue_events_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/issues/events{/number}","events_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/events","assignees_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/assignees{/user}","branches_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/branches{/branch}","tags_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/tags","blobs_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/git/refs{/sha}","trees_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/statuses/{sha}","languages_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/languages","stargazers_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/stargazers","contributors_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/contributors","subscribers_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/subscribers","subscription_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/subscription","commits_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/commits{/sha}","git_commits_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/git/commits{/sha}","comments_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/comments{/number}","issue_comment_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/issues/comments{/number}","contents_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/contents/{+path}","compare_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/merges","archive_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/downloads","issues_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/issues{/number}","pulls_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/pulls{/number}","milestones_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/milestones{/number}","notifications_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/labels{/name}","releases_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/releases{/id}","deployments_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/deployments","created_at":"2018-03-05T23:39:12Z","updated_at":"2018-06-28T02:24:13Z","pushed_at":"2018-06-30T22:28:37Z","git_url":"git://github.com/P2PVPS/p2pvps-server2.git","ssh_url":"git@github.com:P2PVPS/p2pvps-server2.git","clone_url":"https://github.com/P2PVPS/p2pvps-server2.git","svn_url":"https://github.com/P2PVPS/p2pvps-server2","homepage":"","size":258,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"P2PVPS:master","ref":"master","sha":"e6753958caaff16770c65352f308abe8754f7828","user":{"login":"P2PVPS","id":34493766,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NDkzNzY2","avatar_url":"https://avatars3.githubusercontent.com/u/34493766?v=4","gravatar_id":"","url":"https://api.github.com/users/P2PVPS","html_url":"https://github.com/P2PVPS","followers_url":"https://api.github.com/users/P2PVPS/followers","following_url":"https://api.github.com/users/P2PVPS/following{/other_user}","gists_url":"https://api.github.com/users/P2PVPS/gists{/gist_id}","starred_url":"https://api.github.com/users/P2PVPS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/P2PVPS/subscriptions","organizations_url":"https://api.github.com/users/P2PVPS/orgs","repos_url":"https://api.github.com/users/P2PVPS/repos","events_url":"https://api.github.com/users/P2PVPS/events{/privacy}","received_events_url":"https://api.github.com/users/P2PVPS/received_events","type":"Organization","site_admin":false},"repo":{"id":123993091,"node_id":"MDEwOlJlcG9zaXRvcnkxMjM5OTMwOTE=","name":"p2pvps-server2","full_name":"P2PVPS/p2pvps-server2","owner":{"login":"P2PVPS","id":34493766,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NDkzNzY2","avatar_url":"https://avatars3.githubusercontent.com/u/34493766?v=4","gravatar_id":"","url":"https://api.github.com/users/P2PVPS","html_url":"https://github.com/P2PVPS","followers_url":"https://api.github.com/users/P2PVPS/followers","following_url":"https://api.github.com/users/P2PVPS/following{/other_user}","gists_url":"https://api.github.com/users/P2PVPS/gists{/gist_id}","starred_url":"https://api.github.com/users/P2PVPS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/P2PVPS/subscriptions","organizations_url":"https://api.github.com/users/P2PVPS/orgs","repos_url":"https://api.github.com/users/P2PVPS/repos","events_url":"https://api.github.com/users/P2PVPS/events{/privacy}","received_events_url":"https://api.github.com/users/P2PVPS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/P2PVPS/p2pvps-server2","description":"P2P VPS API server based on Node.js and Koa","fork":false,"url":"https://api.github.com/repos/P2PVPS/p2pvps-server2","forks_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/forks","keys_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/teams","hooks_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/hooks","issue_events_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/issues/events{/number}","events_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/events","assignees_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/assignees{/user}","branches_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/branches{/branch}","tags_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/tags","blobs_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/git/refs{/sha}","trees_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/statuses/{sha}","languages_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/languages","stargazers_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/stargazers","contributors_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/contributors","subscribers_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/subscribers","subscription_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/subscription","commits_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/commits{/sha}","git_commits_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/git/commits{/sha}","comments_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/comments{/number}","issue_comment_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/issues/comments{/number}","contents_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/contents/{+path}","compare_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/merges","archive_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/downloads","issues_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/issues{/number}","pulls_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/pulls{/number}","milestones_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/milestones{/number}","notifications_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/labels{/name}","releases_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/releases{/id}","deployments_url":"https://api.github.com/repos/P2PVPS/p2pvps-server2/deployments","created_at":"2018-03-05T23:39:12Z","updated_at":"2018-06-28T02:24:13Z","pushed_at":"2018-06-30T22:28:37Z","git_url":"git://github.com/P2PVPS/p2pvps-server2.git","ssh_url":"git@github.com:P2PVPS/p2pvps-server2.git","clone_url":"https://github.com/P2PVPS/p2pvps-server2.git","svn_url":"https://github.com/P2PVPS/p2pvps-server2","homepage":"","size":258,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/P2PVPS/p2pvps-server2/pulls/57"},"html":{"href":"https://github.com/P2PVPS/p2pvps-server2/pull/57"},"issue":{"href":"https://api.github.com/repos/P2PVPS/p2pvps-server2/issues/57"},"comments":{"href":"https://api.github.com/repos/P2PVPS/p2pvps-server2/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/P2PVPS/p2pvps-server2/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/P2PVPS/p2pvps-server2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/P2PVPS/p2pvps-server2/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/P2PVPS/p2pvps-server2/statuses/6cd54274ac88e83613579dd155d8c51c261ca4bb"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"christroutner","id":9870991,"node_id":"MDQ6VXNlcjk4NzA5OTE=","avatar_url":"https://avatars0.githubusercontent.com/u/9870991?v=4","gravatar_id":"","url":"https://api.github.com/users/christroutner","html_url":"https://github.com/christroutner","followers_url":"https://api.github.com/users/christroutner/followers","following_url":"https://api.github.com/users/christroutner/following{/other_user}","gists_url":"https://api.github.com/users/christroutner/gists{/gist_id}","starred_url":"https://api.github.com/users/christroutner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christroutner/subscriptions","organizations_url":"https://api.github.com/users/christroutner/orgs","repos_url":"https://api.github.com/users/christroutner/repos","events_url":"https://api.github.com/users/christroutner/events{/privacy}","received_events_url":"https://api.github.com/users/christroutner/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":5,"additions":65,"deletions":8,"changed_files":9}}
{"actor":{"display_login":"christroutner"}}