Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

위치 정보 등록 명세서 #12

Open
jyb2605 opened this issue Jul 29, 2019 · 0 comments
Open

위치 정보 등록 명세서 #12

jyb2605 opened this issue Jul 29, 2019 · 0 comments

Comments

@jyb2605
Copy link
Owner

jyb2605 commented Jul 29, 2019

위치 정보 등록

Request

HTTP Method URI
POST /map/location
  • Header
Name Value Description
content-type application/json
authorization AAAAN2d......oU= Oauth 토큰
  • parameter
  • Body
Name Type Description
tripNo 16 여행 구분자
latitude 16.156545443 위도
longitude 62.415124212 경도
  • example
http://101.101.160.246:3000/map/location


Response

Success

  • Status: 200
  • Header
Name Value Description
content-type application/json
  • Body
Name Value Description
code 200 response 코드번호
message 위치 등록 성공 response 메세지
{
      "code":200,
      "message":"위치 등록 성공"
}

Fail

Status Description
300 토큰 인증 실패
301 유효하지 않은 여행 번호

<Status>

{
      "code":300,
      "message":"토큰 인증 실패"
}


relate to issue

FIXME: Describe relate to issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant