-
Notifications
You must be signed in to change notification settings - Fork 0
api명세
gijin noh edited this page Jan 15, 2021
·
11 revisions
- 200
- 404
- 500 이상
POST
/api/login
Property | Type | Description |
---|---|---|
id |
string |
User Github ID |
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/schedules
Property | Type | Description |
---|---|---|
projectList |
Project[] |
Get Schedule Project list |
GET
/api/success
Property | Type | Description |
---|---|---|
projectList |
Project[] |
Get Soon Success Project list |
GET
/api/user/jjims
Property | Type | Description |
---|---|---|
jjimList |
Jjim[] |
Get Jjim list |
POST
/api/user/jjims
Property | Type | Description |
---|---|---|
project_id |
int |
project id |
Property | Type | Description |
---|---|---|
jjim_id |
int |
created jjim id |
DELETE
/api/user/jjims
Property | Type | Description |
---|---|---|
jjim_id |
int |
jjim id |
Property | Type | Description |
---|---|---|
success |
boolean |
Whether deleted or not |
GET
/api/user/history
Property | Type | Description |
---|---|---|
historyList |
History[] |
Get History list |
GET
/api/user/points
Property | Type | Description |
---|---|---|
point |
int |
Get point information |
POST
/api/user/points
Property | Type | Description |
---|---|---|
point |
int |
amount of point |
Property | Type | Description |
---|---|---|
success |
boolean |
Whether charged or not |
POST
/api/user/fundings
Property | Type | Description |
---|---|---|
project_id |
int |
project id |
point |
int |
amount of point |
Property | Type | Description |
---|---|---|
success |
boolean |
Whether posted or not |
GET
/api/user/carts
Property | Type | Description |
---|---|---|
projectList |
Cart[] |
Get a Project List in Cart |
POST
/api/user/carts
Property | Type | Description |
---|---|---|
project_id |
int |
project id |
Property | Type | Description |
---|---|---|
cart_id |
int |
created cart id |
PUT
/api/user/carts
Property | Type | Description |
---|---|---|
Project_id |
int |
project id |
point |
int |
amount of money |
Property | Type | Description |
---|---|---|
success |
boolean |
Whether modified or not |
DELETE
/api/user/carts
Property | Type | Description |
---|---|---|
project_id |
int |
project id |
Property | Type | Description |
---|---|---|
success |
boolean |
Whether deleted or not |
GET
/api/categories/:categoryId/:filterType
Property | Type | Description |
---|---|---|
projectList |
Project[] |
Get Project list |
GET
/api/categories
Property | Type | Description |
---|---|---|
categoryList |
Category[] |
Get Category list |
GET
/api/populars
Property | Type | Description |
---|---|---|
popularProjectList |
PopularList[] |
Popular Projects List |
GET
/api/projects/:projectId
Property | Type | Description |
---|---|---|
projectId |
int |
Project’s Unique Id |
picture |
string |
Project’s Picture |
detail |
string |
Project’s Description |