-
Notifications
You must be signed in to change notification settings - Fork 5
OpenAPI Specification
JiEun Lee edited this page Nov 16, 2020
·
2 revisions
미완성
Request
username : "nickname"
Response
{
message : "회원가입 성공",
sid : 1
}
Response
{
message : "모든 유저 성공",
allUser : [
{
"sid" : 1,
"nickname" : "zlrlo",
"profile_image_url" : "https://url.com"
},
{
"sid" : 2,
"nickname" : "puba",
"profile_image_url" : "https://url.com"
},
{
"sid" : 3,
"nickname" : "msmk",
"profile_image_url" : "https://url.com"
},
]
}
Request
id = 'nickname'
profileImageUrl = 'url'
password = 'password'
Response
{
message : "회원가입 성공",
insertId : 1
}
Request
username = 'testuser'
password = 'password'
Response
{
message : "logged in successfully"
}
Response
{
message: "issues", issuesInfo: {
issuesInfo:
issuesArray:
[
{
color: "#11aa22"
created_at: "2020-11-11T15:00:00.000Z"
id: 1
issue_name: "OAuth 로그인구현"
issue_status: 0
label_name: "Web"
milestone_name: "backend 마일스톤"
nickname: "testuser"
profile_image_url: "https://url.com"
},
{…},
{…},
]
labelCount: 3
milestoneCount: 1
}
}
Request
{
user_sid: 2,
issue_content:"content",
issue_name:"name",
created_at:"",
milestone_id: 1,
issue_status:"open",
}
Request
{
id: 1,
user_sid: 2,
issue_content:"content",
issue_name:"name",
created_at:"",
milestone_id: 1,
issue_status:"open",
}
Request
{
id: 1,
}
Response
{
labels : [
{
color: "#afe4fa"
id: 1
label_description: "This is bug"
label_name: "bug"
}, {…}, {…}
]
message: "레이블 읽기 성공"
}
Request
{
label_name: "name",
label_description: "desc",
color: "color"
}
Request
{
id: "id",
label_name: "name",
label_description: "desc",
color: "color"
}
Request
{
id: "id",
}
Request
status = 0
(0 : open, 1 : close)
Response
{
"message": "milestones",
"milestonesInfo" : {
"openTotalCount" : 1,
"closeTotalCount" : 0,
"milestoneArray" : [
{
"id" : 1,
"milestone_name" : "backend milestone",
"milestone_description" : "backend 마일스톤입니다.",
"end_date" : "2020-11-15",
"status": 0,
"open_count": 1,
"close_count": 1
}
]
}
Request
milestone_name : "backend 마일스톤"
milestone_description : "backend 마일스톤 입니다."
end_date : "2020-11-15"
status : 0
(0 : open, 1 : close)
Response
{
"message": "마일스톤 등록 성공",
"insertId": 2
}
Request
milestone_name : "front 마일스톤"
milestone_description : "front 마일스톤 입니다."
end_date : "2020-11-15"
status : 0
(0 : open, 1 : close)
Response
{
"message": "마일스톤 업데이트 성공",
"insertId": 0
}
Request
id : 1
Response
{
"message": "마일스톤 삭제 성공"
}