-
Notifications
You must be signed in to change notification settings - Fork 0
api명세
gijin noh edited this page Jan 14, 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/schedule
Property | Type | Description |
---|---|---|
projectList |
Project[] |
Get Schedule Project list |
GET
/api/success
Property | Type | Description |
---|---|---|
projectList |
Project[] |
Get Soon Success Project list |
GET
/api/jjim
Property | Type | Description |
---|---|---|
jjimList |
Jjim[] |
Get Jjim list |
POST
/api/jjim/
Property | Type | Description |
---|---|---|
project_id |
int |
project id |
Property | Type | Description |
---|---|---|
jjim_id |
int |
created jjim id |
DELETE
/api/jjim/
Property | Type | Description |
---|---|---|
jjim_id |
int |
jjim id |
Property | Type | Description |
---|---|---|
success |
boolean |
Whether deleted or not |
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 |
---|---|---|
projectList |
Cart[] |
Get a Project List in Cart |
POST
/api/cart/
Property | Type | Description |
---|---|---|
project_id |
int |
project id |
Property | Type | Description |
---|---|---|
cart_id |
int |
created cart id |
PUT
/api/cart/
Property | Type | Description |
---|---|---|
Project_id |
int |
project id |
point |
int |
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 |