Skip to content

Instantly share code, notes, and snippets.

@LeoHeo
Last active July 14, 2016 05:35
Show Gist options
  • Save LeoHeo/45d1307a77e1c58abe8cc970d10f3e52 to your computer and use it in GitHub Desktop.
Save LeoHeo/45d1307a77e1c58abe8cc970d10f3e52 to your computer and use it in GitHub Desktop.

목록(임시 인기글) 불러오기

  • https://hoomi.work/api/job-history로 Header에 Authorization 값에 JWT Token을 실어서 전송
  • 메인페이지에서 4개만 보여주기 위해서 https://hoomi.work/api/job-history/?per=4로 전송

상세페이지(detail) 불러오기

  • https://hoomi.work/api/job-history/<hash_id>로 Header에 Authorization 값에 JWT Token을 실어서 전송
    • 존재하지 않는 hash_id일 경우 404_NOT_FOUND response
    • 존재할 경우 1페이지 씩 pagination된 API response
    • 오른쪽 swipe next에 있는 주소로 이동
    • 왼쪽 swipe previous에 있는 주소로 이동
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment