Initial page

USER

LOGIN

POST https://server.birthwiki.space/user/login

This endpoint allows you to get free cakes.

Request Body

Name
Type
Description

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

Name
Type
Description

cookies

string

refreshToken

Request Body

Name
Type
Description

accessToken

string

`Bearer ${accessToken}`

SIGNUP

POST https://server.birthwiki.space/user/signup

Request Body

Name
Type
Description

profileImage

string

Image

userEmail

string

userEmail

nickName

string

nickName

password

string

password

SIGNOUT

POST https://server.birthwiki.space/user/signout

Headers

Name
Type
Description

cookies

string

refreshToken

Request Body

Name
Type
Description

userEmail

string

userEmail

password

string

password

accessToken

string

`Bearer ${accessToken}`

DUPLICATE - EMAIL

GET https://server.birthwiki.space/user/exist

Query Parameters

Name
Type
Description

nickName

string

nickName

userEmail

string

userEmail

USERINFO - GET

GET https://server.birthwiki.space/user/info

Headers

Name
Type
Description

Authorization

string

`Bearer ${accessToken}`

USERINFO - UPDATE

PATCH https://server.birthwiki.space/user/update

Headers

Name
Type
Description

Authorization

string

`Bearer ${accessToken}`

Request Body

Name
Type
Description

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

Name
Type
Description

date

string

yyyy-mm-dd

DATA BY ME

LIKES - LIKE or CANCEL

POST https://server.birthwiki.space/like

Headers

Name
Type
Description

Authorization

string

`Bearer ${accessToken}`

Request Body

Name
Type
Description

action

string

like / cancel

cardId

string

card Id

category

string

card category

DATA RECORD

RECORD - CREATE

POST https://server.bitrhwiki.space/record/create

Headers

Name
Type
Description

Authorization

string

`Bearer ${accessToken}`

Request Body

Name
Type
Description

cardImage

string

privacy

boolean

date

string

contents

string

RECORD - UPDATE

PATCH https://server.birthwiki.space/record/update

Headers

Name
Type
Description

Authorization

string

`Bearer ${accessToken}`

Request Body

Name
Type
Description

cardImage

string

privacy

boolean

cardId

string

contents

string

RECORD - DELETE

DELETE https://server.birthwiki.space/record/delete

Headers

Name
Type
Description

Authorization

string

`Bearer ${accessToken}`

Request Body

Name
Type
Description

cardId

string

Last updated

Was this helpful?