{"action":"created","comment":{"url":"https://api.github.com/repos/omisego/ewallet/pulls/comments/212532153","pull_request_review_id":149187099,"id":212532153,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjUzMjE1Mw==","diff_hunk":"@@ -93,6 +115,22 @@ defmodule EWalletDB.Invite do\n     |> Repo.insert()\n   end\n \n+  @doc \"\"\"\n+  Accepts an invitation without setting a new password.\n+  \"\"\"\n+  @spec accept(%Invite{}) :: {:ok, struct()} | {:error, any()}\n+  def accept(invite) do\n+    invite = Repo.preload(invite, :user)\n+\n+    case User.update_without_password(invite.user, %{invite_uuid: nil}) do\n+      {:ok, _user} ->\n+        Repo.delete(invite)","path":"apps/ewallet_db/lib/ewallet_db/invite.ex","position":65,"original_position":65,"commit_id":"837dbf8ebd8579f03b8fd680a2a8784a97451c64","original_commit_id":"837dbf8ebd8579f03b8fd680a2a8784a97451c64","user":{"login":"unnawut","id":921194,"node_id":"MDQ6VXNlcjkyMTE5NA==","avatar_url":"https://avatars1.githubusercontent.com/u/921194?v=4","gravatar_id":"","url":"https://api.github.com/users/unnawut","html_url":"https://github.com/unnawut","followers_url":"https://api.github.com/users/unnawut/followers","following_url":"https://api.github.com/users/unnawut/following{/other_user}","gists_url":"https://api.github.com/users/unnawut/gists{/gist_id}","starred_url":"https://api.github.com/users/unnawut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unnawut/subscriptions","organizations_url":"https://api.github.com/users/unnawut/orgs","repos_url":"https://api.github.com/users/unnawut/repos","events_url":"https://api.github.com/users/unnawut/events{/privacy}","received_events_url":"https://api.github.com/users/unnawut/received_events","type":"User","site_admin":false},"body":"It’s hard delete right now. To do soft delete, I'll do this:\r\n\r\n1. Disassociate the invite from the user (`user.invite_uuid`) after verification. So `user.invite_uuid == nil`.\r\n2. Add a new `invite.user_uuid` column to keep the user->invite trace after the disassociation from `user.invite_uuid`.\r\n3. Add a new `invite.verified_at` column so it’s easy to see if and when the invite was used.","created_at":"2018-08-24T06:29:20Z","updated_at":"2018-08-24T06:29:20Z","html_url":"https://github.com/omisego/ewallet/pull/401#discussion_r212532153","pull_request_url":"https://api.github.com/repos/omisego/ewallet/pulls/401","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/omisego/ewallet/pulls/comments/212532153"},"html":{"href":"https://github.com/omisego/ewallet/pull/401#discussion_r212532153"},"pull_request":{"href":"https://api.github.com/repos/omisego/ewallet/pulls/401"}},"in_reply_to_id":212526746},"pull_request":{"url":"https://api.github.com/repos/omisego/ewallet/pulls/401","id":205935141,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1OTM1MTQx","html_url":"https://github.com/omisego/ewallet/pull/401","diff_url":"https://github.com/omisego/ewallet/pull/401.diff","patch_url":"https://github.com/omisego/ewallet/pull/401.patch","issue_url":"https://api.github.com/repos/omisego/ewallet/issues/401","number":401,"state":"open","locked":false,"title":"Allow the eWallet to work without integration","user":{"login":"unnawut","id":921194,"node_id":"MDQ6VXNlcjkyMTE5NA==","avatar_url":"https://avatars1.githubusercontent.com/u/921194?v=4","gravatar_id":"","url":"https://api.github.com/users/unnawut","html_url":"https://github.com/unnawut","followers_url":"https://api.github.com/users/unnawut/followers","following_url":"https://api.github.com/users/unnawut/following{/other_user}","gists_url":"https://api.github.com/users/unnawut/gists{/gist_id}","starred_url":"https://api.github.com/users/unnawut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unnawut/subscriptions","organizations_url":"https://api.github.com/users/unnawut/orgs","repos_url":"https://api.github.com/users/unnawut/repos","events_url":"https://api.github.com/users/unnawut/events{/privacy}","received_events_url":"https://api.github.com/users/unnawut/received_events","type":"User","site_admin":false},"body":"Closes #357.\r\n\r\n# Overview\r\n\r\nThis PR allows an eWallet provider to setup and uses the eWallet without having to implement or integrate into their own solutions.\r\n\r\n# Changes\r\n\r\n## Email configs\r\n- Moved Bamboo and email-related configs from `AdminAPI` to `EWallet` app (to share with `EWalletAPI`).\r\n- Generalized `AdminAPI.Inviter` into `EWallet.Web.Inviter` so that it accepts the email template as a parameter. So AdminAPI and EWalletAPI can send the confirmation email with different template/messages.\r\n\r\n## Authentication\r\n- Updated `AdminAPI.V1.AdminUserAuthenticator` to reject authentication of non-admin users\r\n- Added `EWalletAPI.V1.EndUserAuthenticator` to authenticate a user with email and password\r\n\r\n## Error handling\r\n- Moved `:invalid_login_credentials`, `:invalid_email`, `:invite_not_found`, `:passwords_mismatch` from `AdminAPI.V1.ErrorHandler` to `EWallet.V1.ErrorHandler`\r\n\r\n## Signup flow\r\n- Added `/api/client/user.signup` to support user signup with an email through the new `EWalletAPI.V1.SignupController.signup/2`\r\n- Added `/api/client.user.verify_email` to support user email verification through the new `EWalletAPI.V1.SignupController.verify_email/2`\r\n- Added `/api/client/user.login` to support user login with email/password through the new `EWalletAPI.V1.AuthController.login/2`\r\n\r\n## Supporting signup flow\r\n- Added a new `EWalletAPI.VerificationEmail` template, separated from `AdminAPI.InviteEmail`\r\n- Updated `EWallet.Web.V1.UserAuthTokenSerializer.serialize/1` to return user along with the authentication token\r\n- Added `:invite_uuid` to `User.update_changeset/2` so that invites can be removed after verification\r\n- Updated `EWalletDB.User.has_membership?/1` to also handle user's UUID as the parameter.\r\n- Added `EWalletDB.User.admin?/1`\r\n\r\n## Docs\r\n- Updated OpenAPI spec with `/user.login`, `/user.signup`, `/user.verify_email`\r\n- Added `docs/design.users.md` to explain different user types and the checker functions\r\n- Added typespecs for `EWalletDB.User` functions\r\n\r\n# Implementation Details\r\n\r\nSince this functionality can be built on the existing invitation system for admins (and admins are also users), most of the changes are for reusing the existing code.\r\n\r\n# Usage\r\n\r\nTry sign up with `/api/client/user.signup` followed by `/api/client.user/verify_email`, then `/api/client/user.login`.\r\n\r\n## Example curl for /user.sign_up\r\n\r\n```\r\ncurl 10.5.10.10:4000/api/client/user.signup \\\r\n-H \"Accept: application/vnd.omisego.v1+json\" \\\r\n-H \"Content-Type: application/json\" \\\r\n-d '{\r\n\"email\": \"test_signup@example.com\",\r\n\"redirect_url\": \"http://localhost:4000/api/client/user.verify_email?email={email}&token={token}\"\r\n}' \\\r\n-v -w \"\\n\" | jq\r\n```\r\n\r\n## Example curl for /user.verify_email\r\n\r\n```\r\ncurl 10.5.10.10:4000/api/client/user.verify_email \\\r\n-H \"Accept: application/vnd.omisego.v1+json\" \\\r\n-H \"Content-Type: application/json\" \\\r\n-d '{\r\n\"email\": \"test_signup@example.com\",\r\n\"token\": \"kXN6Kd6HaJiYabpg7LWM3FCCHBMMLRKMBnIkMxxqjE4\",\r\n\"password\": \"the_password\",\r\n\"password_confirmation\": \"the_password\"\r\n}' \\\r\n-v -w \"\\n\" | jq\r\n```\r\n\r\n## Example curl for /user.login\r\n\r\n```\r\ncurl 10.5.10.10:4000/api/client/user.login \\\r\n-H \"Accept: application/vnd.omisego.v1+json\" \\\r\n-H \"Content-Type: application/json\" \\\r\n-d '{\r\n\"email\": \"test_signup@example.com\",\r\n\"password\": \"the_password\",\r\n}' \\\r\n-v -w \"\\n\" | jq\r\n```\r\n\r\n# Impact\r\n\r\nNew API endpoints + DB migrations.\r\n","created_at":"2018-08-03T06:16:43Z","updated_at":"2018-08-24T06:29:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"23f692c14a49d26390da7b5315b8bf03c6c67515","assignee":{"login":"unnawut","id":921194,"node_id":"MDQ6VXNlcjkyMTE5NA==","avatar_url":"https://avatars1.githubusercontent.com/u/921194?v=4","gravatar_id":"","url":"https://api.github.com/users/unnawut","html_url":"https://github.com/unnawut","followers_url":"https://api.github.com/users/unnawut/followers","following_url":"https://api.github.com/users/unnawut/following{/other_user}","gists_url":"https://api.github.com/users/unnawut/gists{/gist_id}","starred_url":"https://api.github.com/users/unnawut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unnawut/subscriptions","organizations_url":"https://api.github.com/users/unnawut/orgs","repos_url":"https://api.github.com/users/unnawut/repos","events_url":"https://api.github.com/users/unnawut/events{/privacy}","received_events_url":"https://api.github.com/users/unnawut/received_events","type":"User","site_admin":false},"assignees":[{"login":"unnawut","id":921194,"node_id":"MDQ6VXNlcjkyMTE5NA==","avatar_url":"https://avatars1.githubusercontent.com/u/921194?v=4","gravatar_id":"","url":"https://api.github.com/users/unnawut","html_url":"https://github.com/unnawut","followers_url":"https://api.github.com/users/unnawut/followers","following_url":"https://api.github.com/users/unnawut/following{/other_user}","gists_url":"https://api.github.com/users/unnawut/gists{/gist_id}","starred_url":"https://api.github.com/users/unnawut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unnawut/subscriptions","organizations_url":"https://api.github.com/users/unnawut/orgs","repos_url":"https://api.github.com/users/unnawut/repos","events_url":"https://api.github.com/users/unnawut/events{/privacy}","received_events_url":"https://api.github.com/users/unnawut/received_events","type":"User","site_admin":false},{"login":"T-Dnzt","id":2647689,"node_id":"MDQ6VXNlcjI2NDc2ODk=","avatar_url":"https://avatars2.githubusercontent.com/u/2647689?v=4","gravatar_id":"","url":"https://api.github.com/users/T-Dnzt","html_url":"https://github.com/T-Dnzt","followers_url":"https://api.github.com/users/T-Dnzt/followers","following_url":"https://api.github.com/users/T-Dnzt/following{/other_user}","gists_url":"https://api.github.com/users/T-Dnzt/gists{/gist_id}","starred_url":"https://api.github.com/users/T-Dnzt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/T-Dnzt/subscriptions","organizations_url":"https://api.github.com/users/T-Dnzt/orgs","repos_url":"https://api.github.com/users/T-Dnzt/repos","events_url":"https://api.github.com/users/T-Dnzt/events{/privacy}","received_events_url":"https://api.github.com/users/T-Dnzt/received_events","type":"User","site_admin":false},{"login":"mederic-p","id":32560642,"node_id":"MDQ6VXNlcjMyNTYwNjQy","avatar_url":"https://avatars3.githubusercontent.com/u/32560642?v=4","gravatar_id":"","url":"https://api.github.com/users/mederic-p","html_url":"https://github.com/mederic-p","followers_url":"https://api.github.com/users/mederic-p/followers","following_url":"https://api.github.com/users/mederic-p/following{/other_user}","gists_url":"https://api.github.com/users/mederic-p/gists{/gist_id}","starred_url":"https://api.github.com/users/mederic-p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mederic-p/subscriptions","organizations_url":"https://api.github.com/users/mederic-p/orgs","repos_url":"https://api.github.com/users/mederic-p/repos","events_url":"https://api.github.com/users/mederic-p/events{/privacy}","received_events_url":"https://api.github.com/users/mederic-p/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"sirn","id":4061,"node_id":"MDQ6VXNlcjQwNjE=","avatar_url":"https://avatars2.githubusercontent.com/u/4061?v=4","gravatar_id":"","url":"https://api.github.com/users/sirn","html_url":"https://github.com/sirn","followers_url":"https://api.github.com/users/sirn/followers","following_url":"https://api.github.com/users/sirn/following{/other_user}","gists_url":"https://api.github.com/users/sirn/gists{/gist_id}","starred_url":"https://api.github.com/users/sirn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirn/subscriptions","organizations_url":"https://api.github.com/users/sirn/orgs","repos_url":"https://api.github.com/users/sirn/repos","events_url":"https://api.github.com/users/sirn/events{/privacy}","received_events_url":"https://api.github.com/users/sirn/received_events","type":"User","site_admin":false},{"login":"jarindr","id":2189889,"node_id":"MDQ6VXNlcjIxODk4ODk=","avatar_url":"https://avatars0.githubusercontent.com/u/2189889?v=4","gravatar_id":"","url":"https://api.github.com/users/jarindr","html_url":"https://github.com/jarindr","followers_url":"https://api.github.com/users/jarindr/followers","following_url":"https://api.github.com/users/jarindr/following{/other_user}","gists_url":"https://api.github.com/users/jarindr/gists{/gist_id}","starred_url":"https://api.github.com/users/jarindr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarindr/subscriptions","organizations_url":"https://api.github.com/users/jarindr/orgs","repos_url":"https://api.github.com/users/jarindr/repos","events_url":"https://api.github.com/users/jarindr/events{/privacy}","received_events_url":"https://api.github.com/users/jarindr/received_events","type":"User","site_admin":false},{"login":"ripzery","id":4509570,"node_id":"MDQ6VXNlcjQ1MDk1NzA=","avatar_url":"https://avatars1.githubusercontent.com/u/4509570?v=4","gravatar_id":"","url":"https://api.github.com/users/ripzery","html_url":"https://github.com/ripzery","followers_url":"https://api.github.com/users/ripzery/followers","following_url":"https://api.github.com/users/ripzery/following{/other_user}","gists_url":"https://api.github.com/users/ripzery/gists{/gist_id}","starred_url":"https://api.github.com/users/ripzery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ripzery/subscriptions","organizations_url":"https://api.github.com/users/ripzery/orgs","repos_url":"https://api.github.com/users/ripzery/repos","events_url":"https://api.github.com/users/ripzery/events{/privacy}","received_events_url":"https://api.github.com/users/ripzery/received_events","type":"User","site_admin":false},{"login":"mederic-p","id":32560642,"node_id":"MDQ6VXNlcjMyNTYwNjQy","avatar_url":"https://avatars3.githubusercontent.com/u/32560642?v=4","gravatar_id":"","url":"https://api.github.com/users/mederic-p","html_url":"https://github.com/mederic-p","followers_url":"https://api.github.com/users/mederic-p/followers","following_url":"https://api.github.com/users/mederic-p/following{/other_user}","gists_url":"https://api.github.com/users/mederic-p/gists{/gist_id}","starred_url":"https://api.github.com/users/mederic-p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mederic-p/subscriptions","organizations_url":"https://api.github.com/users/mederic-p/orgs","repos_url":"https://api.github.com/users/mederic-p/repos","events_url":"https://api.github.com/users/mederic-p/events{/privacy}","received_events_url":"https://api.github.com/users/mederic-p/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":829698714,"node_id":"MDU6TGFiZWw4Mjk2OTg3MTQ=","url":"https://api.github.com/repos/omisego/ewallet/labels/s2/wip%20:construction:","name":"s2/wip :construction:","color":"d93f0b","default":false}],"milestone":{"url":"https://api.github.com/repos/omisego/ewallet/milestones/2","html_url":"https://github.com/omisego/ewallet/milestone/2","labels_url":"https://api.github.com/repos/omisego/ewallet/milestones/2/labels","id":3505500,"node_id":"MDk6TWlsZXN0b25lMzUwNTUwMA==","number":2,"title":"v1.1","description":"","creator":{"login":"sirn","id":4061,"node_id":"MDQ6VXNlcjQwNjE=","avatar_url":"https://avatars2.githubusercontent.com/u/4061?v=4","gravatar_id":"","url":"https://api.github.com/users/sirn","html_url":"https://github.com/sirn","followers_url":"https://api.github.com/users/sirn/followers","following_url":"https://api.github.com/users/sirn/following{/other_user}","gists_url":"https://api.github.com/users/sirn/gists{/gist_id}","starred_url":"https://api.github.com/users/sirn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirn/subscriptions","organizations_url":"https://api.github.com/users/sirn/orgs","repos_url":"https://api.github.com/users/sirn/repos","events_url":"https://api.github.com/users/sirn/events{/privacy}","received_events_url":"https://api.github.com/users/sirn/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":1,"state":"open","created_at":"2018-07-18T10:51:51Z","updated_at":"2018-08-21T09:18:58Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/omisego/ewallet/pulls/401/commits","review_comments_url":"https://api.github.com/repos/omisego/ewallet/pulls/401/comments","review_comment_url":"https://api.github.com/repos/omisego/ewallet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/omisego/ewallet/issues/401/comments","statuses_url":"https://api.github.com/repos/omisego/ewallet/statuses/837dbf8ebd8579f03b8fd680a2a8784a97451c64","head":{"label":"omisego:357-standalone-ewallet","ref":"357-standalone-ewallet","sha":"837dbf8ebd8579f03b8fd680a2a8784a97451c64","user":{"login":"omisego","id":31544276,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNTQ0Mjc2","avatar_url":"https://avatars3.githubusercontent.com/u/31544276?v=4","gravatar_id":"","url":"https://api.github.com/users/omisego","html_url":"https://github.com/omisego","followers_url":"https://api.github.com/users/omisego/followers","following_url":"https://api.github.com/users/omisego/following{/other_user}","gists_url":"https://api.github.com/users/omisego/gists{/gist_id}","starred_url":"https://api.github.com/users/omisego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omisego/subscriptions","organizations_url":"https://api.github.com/users/omisego/orgs","repos_url":"https://api.github.com/users/omisego/repos","events_url":"https://api.github.com/users/omisego/events{/privacy}","received_events_url":"https://api.github.com/users/omisego/received_events","type":"Organization","site_admin":false},"repo":{"id":116826798,"node_id":"MDEwOlJlcG9zaXRvcnkxMTY4MjY3OTg=","name":"ewallet","full_name":"omisego/ewallet","owner":{"login":"omisego","id":31544276,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNTQ0Mjc2","avatar_url":"https://avatars3.githubusercontent.com/u/31544276?v=4","gravatar_id":"","url":"https://api.github.com/users/omisego","html_url":"https://github.com/omisego","followers_url":"https://api.github.com/users/omisego/followers","following_url":"https://api.github.com/users/omisego/following{/other_user}","gists_url":"https://api.github.com/users/omisego/gists{/gist_id}","starred_url":"https://api.github.com/users/omisego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omisego/subscriptions","organizations_url":"https://api.github.com/users/omisego/orgs","repos_url":"https://api.github.com/users/omisego/repos","events_url":"https://api.github.com/users/omisego/events{/privacy}","received_events_url":"https://api.github.com/users/omisego/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/omisego/ewallet","description":"eWallet Backend for the OmiseGO SDKs.","fork":false,"url":"https://api.github.com/repos/omisego/ewallet","forks_url":"https://api.github.com/repos/omisego/ewallet/forks","keys_url":"https://api.github.com/repos/omisego/ewallet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/omisego/ewallet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/omisego/ewallet/teams","hooks_url":"https://api.github.com/repos/omisego/ewallet/hooks","issue_events_url":"https://api.github.com/repos/omisego/ewallet/issues/events{/number}","events_url":"https://api.github.com/repos/omisego/ewallet/events","assignees_url":"https://api.github.com/repos/omisego/ewallet/assignees{/user}","branches_url":"https://api.github.com/repos/omisego/ewallet/branches{/branch}","tags_url":"https://api.github.com/repos/omisego/ewallet/tags","blobs_url":"https://api.github.com/repos/omisego/ewallet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/omisego/ewallet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/omisego/ewallet/git/refs{/sha}","trees_url":"https://api.github.com/repos/omisego/ewallet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/omisego/ewallet/statuses/{sha}","languages_url":"https://api.github.com/repos/omisego/ewallet/languages","stargazers_url":"https://api.github.com/repos/omisego/ewallet/stargazers","contributors_url":"https://api.github.com/repos/omisego/ewallet/contributors","subscribers_url":"https://api.github.com/repos/omisego/ewallet/subscribers","subscription_url":"https://api.github.com/repos/omisego/ewallet/subscription","commits_url":"https://api.github.com/repos/omisego/ewallet/commits{/sha}","git_commits_url":"https://api.github.com/repos/omisego/ewallet/git/commits{/sha}","comments_url":"https://api.github.com/repos/omisego/ewallet/comments{/number}","issue_comment_url":"https://api.github.com/repos/omisego/ewallet/issues/comments{/number}","contents_url":"https://api.github.com/repos/omisego/ewallet/contents/{+path}","compare_url":"https://api.github.com/repos/omisego/ewallet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/omisego/ewallet/merges","archive_url":"https://api.github.com/repos/omisego/ewallet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/omisego/ewallet/downloads","issues_url":"https://api.github.com/repos/omisego/ewallet/issues{/number}","pulls_url":"https://api.github.com/repos/omisego/ewallet/pulls{/number}","milestones_url":"https://api.github.com/repos/omisego/ewallet/milestones{/number}","notifications_url":"https://api.github.com/repos/omisego/ewallet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/omisego/ewallet/labels{/name}","releases_url":"https://api.github.com/repos/omisego/ewallet/releases{/id}","deployments_url":"https://api.github.com/repos/omisego/ewallet/deployments","created_at":"2018-01-09T14:31:13Z","updated_at":"2018-08-21T10:16:59Z","pushed_at":"2018-08-24T04:43:53Z","git_url":"git://github.com/omisego/ewallet.git","ssh_url":"git@github.com:omisego/ewallet.git","clone_url":"https://github.com/omisego/ewallet.git","svn_url":"https://github.com/omisego/ewallet","homepage":"https://omisego.network/","size":22310,"stargazers_count":216,"watchers_count":216,"language":"Elixir","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":30,"mirror_url":null,"archived":false,"open_issues_count":41,"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":30,"open_issues":41,"watchers":216,"default_branch":"master"}},"base":{"label":"omisego:master","ref":"master","sha":"a0a6a7604fca0891d495b3aebaead37fe02aae2c","user":{"login":"omisego","id":31544276,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNTQ0Mjc2","avatar_url":"https://avatars3.githubusercontent.com/u/31544276?v=4","gravatar_id":"","url":"https://api.github.com/users/omisego","html_url":"https://github.com/omisego","followers_url":"https://api.github.com/users/omisego/followers","following_url":"https://api.github.com/users/omisego/following{/other_user}","gists_url":"https://api.github.com/users/omisego/gists{/gist_id}","starred_url":"https://api.github.com/users/omisego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omisego/subscriptions","organizations_url":"https://api.github.com/users/omisego/orgs","repos_url":"https://api.github.com/users/omisego/repos","events_url":"https://api.github.com/users/omisego/events{/privacy}","received_events_url":"https://api.github.com/users/omisego/received_events","type":"Organization","site_admin":false},"repo":{"id":116826798,"node_id":"MDEwOlJlcG9zaXRvcnkxMTY4MjY3OTg=","name":"ewallet","full_name":"omisego/ewallet","owner":{"login":"omisego","id":31544276,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNTQ0Mjc2","avatar_url":"https://avatars3.githubusercontent.com/u/31544276?v=4","gravatar_id":"","url":"https://api.github.com/users/omisego","html_url":"https://github.com/omisego","followers_url":"https://api.github.com/users/omisego/followers","following_url":"https://api.github.com/users/omisego/following{/other_user}","gists_url":"https://api.github.com/users/omisego/gists{/gist_id}","starred_url":"https://api.github.com/users/omisego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omisego/subscriptions","organizations_url":"https://api.github.com/users/omisego/orgs","repos_url":"https://api.github.com/users/omisego/repos","events_url":"https://api.github.com/users/omisego/events{/privacy}","received_events_url":"https://api.github.com/users/omisego/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/omisego/ewallet","description":"eWallet Backend for the OmiseGO SDKs.","fork":false,"url":"https://api.github.com/repos/omisego/ewallet","forks_url":"https://api.github.com/repos/omisego/ewallet/forks","keys_url":"https://api.github.com/repos/omisego/ewallet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/omisego/ewallet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/omisego/ewallet/teams","hooks_url":"https://api.github.com/repos/omisego/ewallet/hooks","issue_events_url":"https://api.github.com/repos/omisego/ewallet/issues/events{/number}","events_url":"https://api.github.com/repos/omisego/ewallet/events","assignees_url":"https://api.github.com/repos/omisego/ewallet/assignees{/user}","branches_url":"https://api.github.com/repos/omisego/ewallet/branches{/branch}","tags_url":"https://api.github.com/repos/omisego/ewallet/tags","blobs_url":"https://api.github.com/repos/omisego/ewallet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/omisego/ewallet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/omisego/ewallet/git/refs{/sha}","trees_url":"https://api.github.com/repos/omisego/ewallet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/omisego/ewallet/statuses/{sha}","languages_url":"https://api.github.com/repos/omisego/ewallet/languages","stargazers_url":"https://api.github.com/repos/omisego/ewallet/stargazers","contributors_url":"https://api.github.com/repos/omisego/ewallet/contributors","subscribers_url":"https://api.github.com/repos/omisego/ewallet/subscribers","subscription_url":"https://api.github.com/repos/omisego/ewallet/subscription","commits_url":"https://api.github.com/repos/omisego/ewallet/commits{/sha}","git_commits_url":"https://api.github.com/repos/omisego/ewallet/git/commits{/sha}","comments_url":"https://api.github.com/repos/omisego/ewallet/comments{/number}","issue_comment_url":"https://api.github.com/repos/omisego/ewallet/issues/comments{/number}","contents_url":"https://api.github.com/repos/omisego/ewallet/contents/{+path}","compare_url":"https://api.github.com/repos/omisego/ewallet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/omisego/ewallet/merges","archive_url":"https://api.github.com/repos/omisego/ewallet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/omisego/ewallet/downloads","issues_url":"https://api.github.com/repos/omisego/ewallet/issues{/number}","pulls_url":"https://api.github.com/repos/omisego/ewallet/pulls{/number}","milestones_url":"https://api.github.com/repos/omisego/ewallet/milestones{/number}","notifications_url":"https://api.github.com/repos/omisego/ewallet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/omisego/ewallet/labels{/name}","releases_url":"https://api.github.com/repos/omisego/ewallet/releases{/id}","deployments_url":"https://api.github.com/repos/omisego/ewallet/deployments","created_at":"2018-01-09T14:31:13Z","updated_at":"2018-08-21T10:16:59Z","pushed_at":"2018-08-24T04:43:53Z","git_url":"git://github.com/omisego/ewallet.git","ssh_url":"git@github.com:omisego/ewallet.git","clone_url":"https://github.com/omisego/ewallet.git","svn_url":"https://github.com/omisego/ewallet","homepage":"https://omisego.network/","size":22310,"stargazers_count":216,"watchers_count":216,"language":"Elixir","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":30,"mirror_url":null,"archived":false,"open_issues_count":41,"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":30,"open_issues":41,"watchers":216,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/omisego/ewallet/pulls/401"},"html":{"href":"https://github.com/omisego/ewallet/pull/401"},"issue":{"href":"https://api.github.com/repos/omisego/ewallet/issues/401"},"comments":{"href":"https://api.github.com/repos/omisego/ewallet/issues/401/comments"},"review_comments":{"href":"https://api.github.com/repos/omisego/ewallet/pulls/401/comments"},"review_comment":{"href":"https://api.github.com/repos/omisego/ewallet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/omisego/ewallet/pulls/401/commits"},"statuses":{"href":"https://api.github.com/repos/omisego/ewallet/statuses/837dbf8ebd8579f03b8fd680a2a8784a97451c64"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"unnawut"}}