저장·리뷰 작성

작성 완료 (이어쓰기)

Changed on

전체 교체다. 매장은 바꿀 수 없다 (S6). 서버는 같은 완성도 판정을 다시 돌린다 (C6). draft: true면 확정하지 않는다 — 자동 저장은 매 호출 새 Idempotency-Key를 쓴다.

put/v1/saves/{saveId}

Request

  • Base URL: http://localhost:8080/api
  • URL: http://localhost:8080/api/v1/saves/{saveId}
  • Auth: HTTP bearer

Path parameters

saveIdstring required

Headers

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

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

Request body

placeIdstring nullable
photoAssetIdsstring[]
companionTagIdsstring[]
positivePointTagIdsstring[]
ratinginteger nullable
contentstring nullable
draftboolean

중간 저장이면 true — 값이 다 차도 리뷰·티켓이 나가지 않는다. 생략하면 작성 완료(false)

groupIdstring nullable

이 리뷰를 시작한 그룹. 리뷰가 성립하면 같은 트랜잭션에서 그 그룹에 공유한다 (TMT-423). 멤버가 아니거나 없는 그룹이면 리뷰만 만들고 공유는 건너뛴다

Example request

{
  "groupId": "group_11"
}

Response

OK

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status