Skip to content

댓글 작성 Tier 4

POST/api/versions/:id/commentsCopied!

댓글 또는 기존 댓글에 대한 답글을 작성합니다.

요청

Path

idstringrequired
버전 ID

Body

contentstringrequired

1–1000자

댓글 내용
parentIdstring
상위 댓글의 ID

WARNING

답글에 대한 답글은 허용되지 않습니다. parentId는 최상위 댓글을 가리켜야 합니다.

응답

201 Created를 반환합니다.

dataobject
생성된 댓글
data.idstring
생성된 댓글의 ID

Example: 2fb4e60b-0d9a-46f3-a4dc-cb9fe8ad9be6

예시

bash
curl -X POST 'https://api.youvico.com/api/versions/8fe89e5a-1d8f-4302-8437-fb0390ecf8eb/comments' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{ "content": "Please tighten the logo safe area." }'
json
{
  "data": {
    "id": "2fb4e60b-0d9a-46f3-a4dc-cb9fe8ad9be6"
  }
}