-
Notifications
You must be signed in to change notification settings - Fork 0
api명세
gijin noh edited this page Jan 13, 2021
·
11 revisions
200 404 500 이상
POST
/api/login
Property | Type | Description |
---|---|---|
id |
string |
User Github ID |
language는 브라우저단에 저장 따라서 수정도 필요없음. 브라우저에서 수정하면됨.
Property | Type | Description |
---|---|---|
success |
boolean |
Whether signed in or not |
POST
/api/logout
Property | Type | Description |
---|---|---|
success |
boolean |
Whether signed in or not |
GET
/api/jjims
Property | Type | Description |
---|---|---|
jjimList |
Jjim[] |
Get Jjim list |
GET
/api/history
Property | Type | Description |
---|---|---|
historyList |
History[] |
Get History list |
GET
/api/point
Property | Type | Description |
---|---|---|
point |
int |
Get point information |
PUT
/api/point
Property | Type | Description |
---|---|---|
point |
int |
amount of point |
Property | Type | Description |
---|---|---|
success |
boolean |
Whether modified or not |
GET
/api/cart
Property | Type | Description |
---|---|---|
cartList |
Cart[] |
Get Cart list |
PUT
/api/cart/
Property | Type | Description |
---|---|---|
Project_id |
int |
project id |
point |
string |
amount of money |
Property | Type | Description |
---|---|---|
success |
boolean |
Whether modified or not |
DELETE
/api/cart/
Property | Type | Description |
---|---|---|
project_id |
int |
project id |
Property | Type | Description |
---|---|---|
success |
boolean |
Whether deleted or not |
GET
/api/category/:categoryId
Property | Type | Description |
---|---|---|
projectList |
Project[] |
Get Project list |
GET
/api/category
Property | Type | Description |
---|---|---|
categoryList |
Category[] |
Get Category list |
GET
/api/popular
Property | Type | Description |
---|---|---|
popularProjectList |
PopularList[] |
Popular Projects List |
GET
/api/project/:projectId
Property | Type | Description |
---|---|---|
projectId |
int |
Project’s Unique Id |
picture |
string |
Project’s Picture |
detail |
string |
Project’s Description |