Skip to content

생성 Tier 4

POST/files/{id}/commentsCopied!

파일에 댓글이나 답글을 작성해요.

접근 가능한 사용자

사용자

Request

Body

contentstringrequired
댓글 내용
anchornumber | undefined
댓글이 연결될 재생 위치
durationnumber | undefined
댓글이 연결될 구간 길이
drawingstring | undefined
JSON 문자열로 인코딩된 드로잉 데이터
parentIdstring | undefined
답글을 작성할 부모 댓글 ID

Path

idstringrequired
파일 ID

Response

Returns 201 Created.

없음

Example

bash
curl -X POST 'https://api.youvico.com/files/6ba7b810-9dad-11d1-80b4-00c04fd430c8/comments' \
  -H 'Authorization: Bearer xoau.aB3xK9p2QwR7sT4uV1nM8oP5qL6rN0yZ7eF2gH4jK...' \
  -H 'Content-Type: application/json' \
  -d '{
    "content": "확인 부탁해요.",
    "anchor": 12.5
  }'