그룹 가입·리뷰 공유

티켓 1장을 소비해 가입한다. 티켓 소비·멤버십 생성·자동 공유가 한 트랜잭션이다 (TX-3).

post/v1/groups/{groupId}/memberships

Request

  • Base URL: http://localhost:8080/api
  • URL: http://localhost:8080/api/v1/groups/{groupId}/memberships
  • Auth: HTTP bearer

Path parameters

groupIdstring required

Headers

Idempotency-Keystring required
Example:6f7d9c8e-4b2a-4f1e-9c3d-2a7b5e8f1c04

재시도가 중복을 만들지 않게 하는 키. 앞뒤 공백은 제거되고, 최대 100자다 (규약 §9-1)

Request body

sourceReviewIdstring nullable

단수 공유 — sourceReviewIds로 대체됐다. 둘 다 오면 합집합 (TMT-241)

sourceReviewIdsstring[] nullable

가입과 함께 공유할 내 리뷰 목록 — 가입 화면의 체크박스 복수 선택 (TMT-241)

Response

Created

Changes

    • warning

      deleted the header request parameter X-User-Id

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      api tag 그룹 가입·리뷰 공유 added

    • info

      api tag 그룹 가입·리뷰 공유 (mock) removed

    • info

      added the new optional request property

    • info

      request property deprecated