-
Notifications
You must be signed in to change notification settings - Fork 28
API 명세
sunhpark42 edited this page May 14, 2021
·
9 revisions
GET
response
{
id: '' ,
nickname: '',
image: '',
}
POST
request
(github 인증 토큰)
{
accessToken: 'string'
}
response
{
accessToken: 'string'
}
GET response
[
{
id: '',
author: {
id: '',
nickname: '',
image: ''
}
category: 'string'
title: 'string',
tags: ['string', 'string'],
},
...
]
GET request
[ 'string', 'string' ]
POST request
Header : {
token : 'addjfkl123addfda',
}
Body : [
{
id: '',
category: 'string'
title: 'string',
tags: ['string', 'string'],
content: 'string',
},
...
]
GET
request (ex. page/{:id})
response
{
id: '',
author: {
id: '',
nickname: 'string',
image: 'string'
}
issuedDate: 'Date'
category: 'string'
title: 'string',
tags: ['string', 'string'],
content: 'string',
}