Skip to content
mon823 edited this page Nov 27, 2020 · 10 revisions

API 명세

목차

기본 API

  • prefix : /api

로그인을 제외한 모든 인증에 session 정보 필요

WEB

  • prefix : /web

회원가입

  • prefix : /user

URL Method Description
/ post 회원가입
/dup-email post email 중복확인
/find-id post ID 찾기
/find-pw post PW 찾기
/secret-key get SecretKey 요청
/secret-key put SecretKey 재발급 요청
/email get email 인증 요청 URL 발송
/confirm-email get email 인증 요청 URL 확인
  • /

    상세 정보
    • req
    {
        "name": "name",
        "email": "email",
        "birth": "birth",
        "phone": "phone",
        "id": "id",
        "password": "password"
    }
    • res
    {
        "result": true,
        "QRCode": "QRCode base32 Data" OR "SecretKey"
    }
  • /check

    상세 정보
    • req
    {
        "id": "id" OR "email": "email"
    }
    • res
    {
        "result": true(중복되는 값이 없다면) OR false(중복되는 값이 있다면)
    }
  • /confirm-email

    상세 정보
    • req
      • 이메일 파라미터 전달 필요
    • res
    {
      "result": true(성공시) OR false(만료시 400 error)
    }

로그인

  • prefix :/auth

URL Method Description
/ post 로그인
/dup-id post id 중복확인

내정보

  • prefix : /info

URL Method Description
/ get 개인정보 리스트 조회
/ patch 개인정보 수정
/logs get 로그 리스트 조회
/session delete 접속 무력화

iOS

Clone this wiki locally