본문으로 건너뛰기

Penta API 빠른 참조

모든 API 엔드포인트의 빠른 참조 테이블이다. Auth 열의 값은 다음과 같다:

  • X: 인증 불필요
  • O: 인증 필요 (Bearer Token)
  • Admin: 관리자 권한 필요

인증

MethodURLAuth설명
POST/api/users/register/X회원가입
POST/api/users/social-auth/X소셜 로그인 (Google/Apple/Kakao/LINE/Facebook)
POST/api/users/admin-google-login/X관리자 Google 로그인
POST/api/users/token/refresh/XJWT 토큰 갱신
POST/api/users/logout/O로그아웃

사용자

MethodURLAuth설명
GET/api/users/profile/O프로필 조회
PATCH/api/users/profile/O프로필 수정
GET/api/users/profile-summary/O프로필 + 읽기 통계 요약
GET/api/users/settings/O설정 조회
PATCH/api/users/settings/O설정 수정
POST/api/users/devices/register/O기기 등록 (FCM 토큰)
GET/api/users/devices/O등록된 기기 목록
GET/api/users/login-history/O로그인 이력
POST/api/users/delete-account/O계정 탈퇴
GET/api/users/bookmarks/O북마크 목록
POST/api/users/bookmarks/O북마크 추가
DELETE/api/users/bookmarks/<book_id>/O북마크 삭제
GET/api/users/bookmarks/status/<book_id>/O북마크 상태 확인
GET/api/users/reading-history/O읽기 이력
GET/api/users/recordings/O녹음 목록
DELETE/api/users/recordings/<pk>/O녹음 삭제
GET/api/users/recent-books/O최근 읽은 도서
GET/api/users/books-in-progress/O진행중 도서
GET/api/users/completed-books/O완독 도서
GET/api/users/review-eligibility/O리뷰 요청 대상 여부
POST/api/users/review-requested/O리뷰 요청 기록

도서

MethodURLAuth설명
GET/api/books/X도서 목록
GET/api/books/all/X전체 도서 데이터
GET/api/books/catalog/X도서 카탈로그
GET/api/books/<pk>/X도서 상세
GET/api/books/<book_id>/recommendations/X도서 추천
GET/api/books/<book_id>/reading-progress/O도서 읽기 진행률 조회
POST/api/books/<book_id>/reading-progress/O도서 읽기 진행률 업데이트
GET/api/books/<book_id>/episodes/<pk>/O에피소드 상세 (페이지 포함)
GET/api/books/<book_id>/episodes/<ep_id>/recordings/O에피소드 녹음 목록
POST/api/books/<book_id>/episodes/<ep_id>/recordings/O에피소드 녹음 업로드
GET/api/books/<book_id>/episodes/<ep_id>/reading-progress/O에피소드 읽기 진행률
POST/api/books/<book_id>/episodes/<ep_id>/reading-progress/O에피소드 읽기 진행률 업데이트
GET/api/books/search/X도서 검색
GET/api/books/characters/X캐릭터 목록
GET/api/books/characters/<pk>/X캐릭터 상세
GET/api/books/illustrators/X일러스트레이터 목록
GET/api/books/illustrators/<pk>/X일러스트레이터 상세

MethodURLAuth설명
GET/api/home/X종합 홈 데이터
GET/api/home/filters/X필터 옵션 목록
GET/api/home/characters/X캐릭터 친구들
GET/api/home/rankings/X실시간 랭킹 TOP 10
GET/api/home/banners/X배너 목록
GET/api/home/curations/<curation_id>/X큐레이션 상세

결제

MethodURLAuth설명
POST/api/payments/subscribe/O구독 생성
GET/api/payments/subscription/O구독 상태 조회
POST/api/payments/subscription/cancel/O구독 취소
POST/api/payments/promo/apply/O결제 시 프로모 코드 적용
GET/api/payments/subscription-offers/O구독 오퍼 조회
GET/api/payments/history/O결제 이력
GET/api/payments/subscription-history/O구독 이력
POST/api/payments/verify/O결제 검증 (Google/Apple)
POST/api/payments/refund-request/O환불 요청
POST/api/payments/refund-process/Admin환불 처리
POST/api/payments/google-play/manage/AdminGoogle Play 관리
POST/api/payments/rtdn/pubsub/XGoogle RTDN 웹훅
POST/api/payments/apple/notifications/XApple 웹훅

프로모코드

MethodURLAuth설명
POST/api/promocodes/apply/O프로모 코드 임시 적용
GET/api/promocodes/applied/O적용된 프로모 조회
POST/api/promocodes/applied/clear/O적용 해제
POST/api/promocodes/referral/create/O래퍼럴 코드 생성
GET/api/promocodes/referral/my-stats/O내 추천 통계
GET/api/promocodes/referral/my-benefits/O내 래퍼럴 혜택
GET/api/promocodes/referral/rewards/O리워드 내역
GET/api/promocodes/invite/<code>/X초대 링크 리다이렉트
GET/api/promocodes/invite/<code>/info/X초대 링크 정보
GET/api/promocodes/analytics/<partner_code>/Admin파트너 분석

스티커

MethodURLAuth설명
GET/api/stickers/O내 스티커 목록
GET/api/stickers/stats/O스티커 통계
GET/api/stickers/popular/O인기 스티커
GET/api/stickers/missing/O미보유 스티커
GET/api/stickers/upcoming/O공개 예정 스티커
GET/api/stickers/wishlist/O위시리스트 조회
POST/api/stickers/wishlist/O위시리스트 추가
DELETE/api/stickers/wishlist/<sticker_id>/O위시리스트 삭제
POST/api/stickers/earn/<episode_id>/O스티커 획득

이벤트/뉴스

MethodURLAuth설명
GET/api/events-news/X이벤트/뉴스 목록
GET/api/events-news/<pk>/X이벤트/뉴스 상세
POST/api/events-news/participate/O이벤트 참여

알림

MethodURLAuth설명
GET/api/notifications/O알림 목록
POST/api/notifications/mark-read/O알림 읽음 처리
POST/api/notifications/mark-all-read/O전체 읽음 처리
GET/api/notifications/unread-count/O미읽음 수
GET/api/notifications/red-dot/O레드닷 상태

지원

MethodURLAuth설명
GET/api/support/faq/XFAQ 목록
GET/api/support/faq/<pk>/XFAQ 상세
GET/api/support/inquiries/O문의 목록
POST/api/support/inquiries/O문의 등록
GET/api/support/inquiries/<pk>/O문의 상세
GET/api/support/announcements/X공지사항 목록
GET/api/support/announcements/<pk>/X공지사항 상세

블로그

MethodURLAuth설명
GET/api/blog/posts/X포스트 목록
GET/api/blog/posts/<pk>/X포스트 상세
GET/api/blog/categories/X카테고리 목록
GET/api/blog/categories/<pk>/X카테고리 상세
GET/api/blog/tags/X태그 목록
GET/api/blog/tags/<pk>/X태그 상세

업로드/시스템

MethodURLAuth설명
POST/api/upload/presigned-url/OS3 Presigned URL 발급
POST/api/upload/confirm/O업로드 완료 확인
GET/health/X헬스체크

Rate Limiting 요약

대상제한
비인증 (anon)300/hr
인증 (user)3000/hr
로그인 (login)15/min
회원가입 (register)9/hr
결제 검증 (payment_verify)30/min
검색 (search)90/min
도서 콘텐츠 (book_content)300/min
관리자 (admin)1500/hr
민감 작업 (sensitive)90/min