대목(Passage)

대목 페이지 목록 조회

도서에서 발췌된 페이지 번호를 오름차순으로 조회합니다. 스포일러 대목이 있는 페이지도 이 목록에 포함됩니다(스포일러 블러 처리는 프론트 담당, isSpoiler 플래그 기반). groupId를 지정하면 그 모임 전용 대목만(요청자는 모임원이어야 함), 생략하면 전역 공개 대목만 조회합니다. 인증은 선택입니다(soft auth) — groupId 없이는 헤더가 없어도 조회됩니다.

get/api/books/{bookId}/passages

Request

  • Base URL: https://api-dev.pallang.co.kr
  • URL: https://api-dev.pallang.co.kr/api/books/{bookId}/passages
  • Auth: HTTP bearer

Path parameters

bookIdinteger required

도서 ID

Query parameters

groupIdinteger

모임 ID. 없으면 전역 공개 대목 기준으로 조회합니다.

pageinteger

페이지 번호 (0부터 시작, 기본값 0)

sizeinteger

페이지 크기 (기본값 20, 최대 100)

Response

조회 성공 (대목이 없으면 빈 배열)

Changes

No recorded changes to this operation across all 1 revision of this API.