Projects
Projects
๊ฒ์๊ธ ์ญ์
DELETE https://localhost/projects/:projectId
Cookies
Name
Type
Description
accessToken*
String
{
message: 'successfully deleted'
}{
message: 'sever error'
}{
message: 'Not Found'
}๊ฒ์๊ธ ์์
PUT https://localhost/projects/:projectId
Cookies
Name
Type
Description
accessToken*
String
Request Body
Name
Type
Description
title
String
content
String
image
URL
{
message: 'successfully modified'
}{
message: 'invalid info'
}{
message: 'sever error'
}๊ฒ์๊ธ ์์ฑ
POST https://loaclhost/projects
Cookies
Name
Type
Description
accessToken*
String
Request Body
Name
Type
Description
title*
String
content*
String
image
URL
{
message: 'successfully created'
}{
message: 'invalid info'
}{
message: 'sever error'
}{
message: 'Not Found'
}ํน์ ๊ฒ์๊ธ์ ํด๋ฆญ ์ ํด๋น ๊ฒ์๊ธ ์์ฒญ
GET https://localhost/projects/:projectId
Cookies
Name
Type
Description
accessToken
String
{
postInfo: {
title: 'title',
content: 'content',
image: 'URL',
waiting: [
// {username: 'park', image: 'URL'}, {username: 'paak', image: 'URL'}
]
}
}
}{
message: 'server error'
}{
message: 'Not Found'
}๊ฐ์ธ ๊ฒ์ํ ์์ฒญ
GET https://localhost/myProjects
Cookies
Name
Type
Description
accessToken*
String
{
host: {
// {title: 'my project', content: 'asdasdasdas'}
},
guest: {
{title: 'my project1', confirmed: 2, isStart: false, isConfirmed: true},
// {title: 'my project1', confirmed: 2, isStart: false, isConfirmed: false},
// {title: 'my project1', confirmed: 2, isStart: false, isConfirmed: false},
// {title: 'my project1', confirmed: 2, isStart: false, isConfirmed: false},
}
}{
message: 'Not Found'
}{
message: 'server Error'
}์ ์ฒด ๊ฒ์๊ธ ๋ฆฌ์คํธ ์์ฒญ
GET https://localhost/projects
Cookies
Name
Type
Description
accessToken
String
{
message: 'ok'
list: [{
title: 'my project',
project_id: 1,
confirmed: 2
}, {
title: 'let\' project',
project_id: 5,
confirmed: 3
}]
}{
message: 'server Error'
}{
message: 'Not Found'
}Last updated