-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switch ownign user on bank to be the users email
- Loading branch information
Chris Whited
committed
Oct 15, 2018
1 parent
2fba044
commit 41ca8c6
Showing
3 changed files
with
10 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,12 +41,12 @@ run `dep ensure`; this will install necessary dependencies to the project and ge | |
- `{bankId}` is the unique id of the bank. | ||
- CURL example | ||
```bash | ||
curl -XGET http://localhost:5002/api/v1/user/4b7b2def-e76e-48bf-993b-8ec2b193b855/bank/01e173f4-02a2-4310-a7cc-e2b919f13aac | ||
curl -XGET http://localhost:5002/api/v1/user/[email protected]/bank/01e173f4-02a2-4310-a7cc-e2b919f13aac | ||
``` | ||
- Example Response: | ||
```json | ||
{ | ||
"owningUserId": "4b7b2def-e76e-48bf-993b-8ec2b193b855", | ||
"owningUserId": "[email protected]", | ||
"bankId": "01e173f4-02a2-4310-a7cc-e2b919f13aac", | ||
"bankName": "US Bank", | ||
"accountNumber": "2112" | ||
|
@@ -57,7 +57,7 @@ run `dep ensure`; this will install necessary dependencies to the project and ge | |
- Example Request Body | ||
```json | ||
{ | ||
"owningUserId": "4b7b2def-e76e-48bf-993b-8ec2b193b855", | ||
"owningUserId": "[email protected]", | ||
"bankName": "BANK NAME", | ||
"accountNumber": "1234" | ||
} | ||
|
@@ -71,7 +71,7 @@ run `dep ensure`; this will install necessary dependencies to the project and ge | |
- Example Response | ||
```json | ||
{ | ||
"owningUserId": "4b7b2def-e76e-48bf-993b-8ec2b193b855", | ||
"owningUserId": "[email protected]", | ||
"bankId": "b920cfc7-c455-4ac6-b856-f9d3a416d9d1", | ||
"bankName": "BANK NAME", | ||
"accountNumber": "1234" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters