-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d9b2ef7
commit e4d9936
Showing
2 changed files
with
11 additions
and
29 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 |
---|---|---|
|
@@ -49,45 +49,27 @@ User deauthentication is not currently supported since myGCC automatically kills | |
|
||
## User Endpoint | ||
|
||
### Name | ||
|
||
###### Request | ||
|
||
GET /1/user/name | ||
|
||
###### Response | ||
|
||
{ | ||
name: Bob Smith | ||
} | ||
|
||
###### Errors | ||
|
||
- User not found (400) | ||
- Name not found (404) | ||
|
||
### Major | ||
|
||
###### Request | ||
|
||
GET /1/user/major | ||
GET /1/user/ | ||
|
||
###### Response | ||
|
||
{ | ||
major: [ | ||
Computer Science, | ||
Biblical and Religious Studies | ||
], | ||
advisor: [ | ||
Dr. Lory J. Al Moakar | ||
] | ||
"ID": "123456", | ||
"birth": "1/1/2000", | ||
"degree": "Bachelor of Science", | ||
"email": "[email protected]", | ||
"ethnicity": "White", | ||
"gender": "Male", | ||
"major": "Computer Science", | ||
"marital": "Single", | ||
"name": "Mr. First Middle Last" | ||
} | ||
|
||
###### Errors | ||
|
||
- User not found (400) | ||
- Major information not found (404) | ||
|
||
### Contact Information | ||
|
||
|
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