Projects

Projects

๊ฒŒ์‹œ๊ธ€ ์‚ญ์ œ

DELETE https://localhost/projects/:projectId

Cookies

Name
Type
Description

accessToken*

String

{
    message: 'successfully deleted'
}

๊ฒŒ์‹œ๊ธ€ ์ˆ˜์ •

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'
}

๊ฒŒ์‹œ๊ธ€ ์ž‘์„ฑ

POST https://loaclhost/projects

Cookies

Name
Type
Description

accessToken*

String

Request Body

Name
Type
Description

title*

String

content*

String

image

URL

{
    message: 'successfully created'
}

ํŠน์ • ๊ฒŒ์‹œ๊ธ€์„ ํด๋ฆญ ์‹œ ํ•ด๋‹น ๊ฒŒ์‹œ๊ธ€ ์š”์ฒญ

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'}
            ]
        }
    }
}

๊ฐœ์ธ ๊ฒŒ์‹œํŒ ์š”์ฒญ

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},                
    }
}

์ „์ฒด ๊ฒŒ์‹œ๊ธ€ ๋ฆฌ์ŠคํŠธ ์š”์ฒญ

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
    }]
}

Last updated