Skip to content

Commit

Permalink
Version 0.2-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcorbin committed Nov 24, 2017
1 parent d9b2ef7 commit e4d9936
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 29 deletions.
38 changes: 10 additions & 28 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>com.mygcc</groupId>
<artifactId>mygcc-api</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<version>0.2-SNAPSHOT</version>
<name>mygcc-api</name>

<licenses>
Expand Down

0 comments on commit e4d9936

Please sign in to comment.