API

SignIn

POST https://tmtrips.com/user/signIn

Request Body

Name
Type
Description

email

string

password

string

{    "accessToken": accessToken, "refreshToken": refreshToken, "message": "๋กœ๊ทธ์ธ์— ์„ฑ๊ณตํ•˜์˜€์Šต๋‹ˆ๋‹ค!"   }

SignUp

POST https://tmtrips.com/user/signUp

Request Body

Name
Type
Description

name

string

email

string

password

string

{"name": name, "email": email, "password": password}

UserInfo

POST https://tmtrips.com/user/userInfo

Headers

Name
Type
Description

Authorization

string

Request Body

Name
Type
Description

originalPw

string

ํ˜„์žฌ ๋น„๋ฐ€๋ฒˆํ˜ธ ์ž…

newPw

string

์ƒˆ ๋น„๋ฐ€๋ฒˆํ˜ธ ์ž…

UserInfo

GET https://tmtrips.com/user/userInfo

Headers

Name
Type
Description

Authorization

string

TripFilterList

POST https://tmtrips.com/trip/list

์ง€์—ญ์ฝ”๋“œ์™€ ํ…Œ๋งˆ๋ฅผ ๊ฐ€์ง€๊ณ  ํ•„ํ„ฐ๋งํ•œ ์š”์†Œ๋“ค์„ ๋ฆฌ์ŠคํŠธ๋กœ ๋„์›Œ์ค€๋‹ค.

Request Body

Name
Type
Description

theme

array

ex) "theme" : ["์•ผ๊ฒฝ","๋žœ๋“œ๋งˆํฌ"]

province

string

province = search province, ์„ ํƒ ์•ˆํ•ด๋„ OK!

TripList

GET https://tmtrips.com/trip/list

์ดˆ๊ธฐ ๋ Œ๋” ์‹œ ๋ฆฌ์ŠคํŠธ๋˜๋Š” ๋ชฉ๋ก๋“ค (์ตœ์ดˆ ๋ Œ๋”์šฉ; ์ง€์—ญ์— ์ƒ๊ด€์—†์ด ์ข‹์•„์š” ์ˆœ์œผ๋กœ๋งŒ ๋„์›Œ์ฃผ๊ธฐ)

InsertSpot

POST https://tmtrips.com/trip/insertSpot

Headers

Name
Type
Description

Authorization

string

Request Body

Name
Type
Description

endDate

string

startDate

string

2021-06-22

place

array

MyPage

GET https://tmtrips.com/user/myPage

Headers

Name
Type
Description

Authorization

string

Like

GET https://tmtrips.com/user/like

Headers

Name
Type
Description

Authorization

string

Like

POST https://tmtrips.com/user/like

Headers

Name
Type
Description

Authorization

string

Request Body

Name
Type
Description

place

string

RecommendedPlace

POST https://tmtrips.com/trip/recommend

Request Body

Name
Type
Description

place

string

PlaceSearch

POST https://tmtrips.com/trip/search

์žฅ์†Œ(ex. ใ…Šใ„ฑใ…Š, ์ฒญ๊ณ„์ฒœ)๋ฅผ ๊ฒ€์ƒ‰

Request Body

Name
Type
Description

inputElement

string

refreshToken

POST https://tmtrips.com/token/refreshToken

* ๊ฐ ์š”์ฒญ ์‹œ์—๋Š” ์—‘์„ธ์Šค ํ† ํฐ๋งŒ ๋‹ด์•„์„œ ์š”์ฒญ์„ ๋ณด๋‚ด์ฃผ์„ธ์š”. ๋งŒ์•ฝ ํ† ํฐ์ด ์œ ํšจํ•˜์ง€ ์•Š๋‹ค๋Š” ์—๋Ÿฌ๋ฉ”์‹œ์ง€๋ฅผ ๋ฐ›์„ ๊ฒฝ์šฐ, ๋ฆฌํ”„๋ ˆ์‰ฌ ํ† ํฐ์„ ๋‹ด์•„์„œ ์—ฌ๊ธฐ๋กœ ์š”์ฒญ์„ ๋ณด๋‚ด์ฃผ์„ธ์š”!

Headers

Name
Type
Description

Authorization

string

๋ฆฌํ”„๋ ˆ์‰ฌ ํ† ํฐ์„ ๋„ฃ์–ด์ฃผ์„ธ์š”!

GoogleLogin

POST https://tmtrips.com/auth/google

Request Body

Name
Type
Description

token

string

๊ตฌ๊ธ€์—์„œ ๋ฐ›์€ id_token์„ ๋ณด๋‚ด์ฃผ์„ธ์š”!

Like

DELETE https://tmtrips.com/user/like

Headers

Name
Type
Description

Authorization

string

์—‘์„ธ์Šค ํ† ํฐ ๋ณด๋‚ด์ฃผ์„ธ์š”!

Request Body

Name
Type
Description

place

string

SignIn for non-member

GET https://tmtrips.com/user/nonUser

photoLike

GET https://tmtrips.com/user/photoLike

Headers

Name
Type
Description

Authorization

string

KakaoLogin

POST https://tmtrips.com/auth/kakao

Request Body

Name
Type
Description

access_token

string

์นด์นด์˜ค์—์„œ ๋ฐ›์€ ์—‘์„ธ์Šค ํ† ํฐ ๋ณด๋‚ด์ฃผ์„ธ์š”!

Withdraw / Delete User

DELETE https://tmtrips.com/user/withdrawal

ํšŒ์›ํƒˆํ‡ด ๊ธฐ

Headers

Name
Type
Description

Authorization

string

Last updated