Skip to content

Commit e4d9936

Browse files
committed
Version 0.2-SNAPSHOT
1 parent d9b2ef7 commit e4d9936

File tree

2 files changed

+11
-29
lines changed

2 files changed

+11
-29
lines changed

API.md

Lines changed: 10 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -49,45 +49,27 @@ User deauthentication is not currently supported since myGCC automatically kills
4949

5050
## User Endpoint
5151

52-
### Name
53-
54-
###### Request
55-
56-
GET /1/user/name
57-
58-
###### Response
59-
60-
{
61-
name: Bob Smith
62-
}
63-
64-
###### Errors
65-
66-
- User not found (400)
67-
- Name not found (404)
68-
69-
### Major
70-
7152
###### Request
7253

73-
GET /1/user/major
54+
GET /1/user/
7455

7556
###### Response
7657

7758
{
78-
major: [
79-
Computer Science,
80-
Biblical and Religious Studies
81-
],
82-
advisor: [
83-
Dr. Lory J. Al Moakar
84-
]
59+
"ID": "123456",
60+
"birth": "1/1/2000",
61+
"degree": "Bachelor of Science",
62+
"email": "[email protected]",
63+
"ethnicity": "White",
64+
"gender": "Male",
65+
"major": "Computer Science",
66+
"marital": "Single",
67+
"name": "Mr. First Middle Last"
8568
}
8669

8770
###### Errors
8871

8972
- User not found (400)
90-
- Major information not found (404)
9173

9274
### Contact Information
9375

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<groupId>com.mygcc</groupId>
77
<artifactId>mygcc-api</artifactId>
88
<packaging>war</packaging>
9-
<version>1.0-SNAPSHOT</version>
9+
<version>0.2-SNAPSHOT</version>
1010
<name>mygcc-api</name>
1111

1212
<licenses>

0 commit comments

Comments
 (0)