Initial page
USER
LOGIN
POST https://server.birthwiki.space/user/login
This endpoint allows you to get free cakes.
Request Body
AuthorizationCode
string
Oauth Code
source
string
login source
userEmail
string
userEmail
password
string
password
{
data: {
nickName: roadman,
profileImage: imageURL,
accessToken: accessToken,
likeCard: [
{...},
{ //issue&birth&death card
id: 3,
date: 7-5,
image: image url
category: 'birth',
contents: [[year, [content1, content2...]], ...]
},
{ //music&movie card
id: 8,
date: 1997-14,
image: image url,
category: 'music' or 'movie'
korea: { title: '๊ทนํ์ง์
', poster: image url }
world: { title: '๋ผ์ผ๋ฝ', poster: image url singer?: ์์ด์ }
}
],
recordCard: [
{...},
{...},
{
id: 1,
date: '1977-6-3'
cardDesc: text
cardImage: image url
}
]
},
message: "logIn"
}
cookies(refreshToken)LOGOUT
POST https://server.birthwiki.space/user/logout
Headers
cookies
string
refreshToken
Request Body
accessToken
string
`Bearer ${accessToken}`
SIGNUP
POST https://server.birthwiki.space/user/signup
Request Body
profileImage
string
Image
userEmail
string
userEmail
nickName
string
nickName
password
string
password
SIGNOUT
POST https://server.birthwiki.space/user/signout
Headers
cookies
string
refreshToken
Request Body
userEmail
string
userEmail
password
string
password
accessToken
string
`Bearer ${accessToken}`
DUPLICATE - EMAIL
GET https://server.birthwiki.space/user/exist
Query Parameters
nickName
string
nickName
userEmail
string
userEmail
USERINFO - GET
GET https://server.birthwiki.space/user/info
Headers
Authorization
string
`Bearer ${accessToken}`
USERINFO - UPDATE
PATCH https://server.birthwiki.space/user/update
Headers
Authorization
string
`Bearer ${accessToken}`
Request Body
profileImage
string
Image
nickName
string
change nickName
password
string
change password
DATA BY WIKI
DATA BY DATE
GET https://server.birthwiki.space/data/date
Query Parameters
date
string
yyyy-mm-dd
DATA BY ME
LIKES - LIKE or CANCEL
POST https://server.birthwiki.space/like
Headers
Authorization
string
`Bearer ${accessToken}`
Request Body
action
string
like / cancel
cardId
string
card Id
category
string
card category
DATA RECORD
RECORD - CREATE
POST https://server.bitrhwiki.space/record/create
Headers
Authorization
string
`Bearer ${accessToken}`
Request Body
cardImage
string
privacy
boolean
date
string
contents
string
RECORD - UPDATE
PATCH https://server.birthwiki.space/record/update
Headers
Authorization
string
`Bearer ${accessToken}`
Request Body
cardImage
string
privacy
boolean
cardId
string
contents
string
RECORD - DELETE
DELETE https://server.birthwiki.space/record/delete
Headers
Authorization
string
`Bearer ${accessToken}`
Request Body
cardId
string
Last updated
Was this helpful?