Skip to content

댓글 작성 (파일) ​

MCP 도구
create_file_commentCreate File Comment
요청 제한
Tier 4
API 권한
comments:write
프로젝트 역할
소유자관리자멤버리뷰어제한된 리뷰어

파일에 댓글이나 답글을 작성합니다.

예시 ​

bash
curl -X POST 'https://api.youvico.com/api/files/FX1234567890ABCD/comments' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{ "content": "Updated and re-exported.", "anchor": 12000, "duration": 3000, "parent": { "id": "2fb4e60b-0d9a-46f3-a4dc-cb9fe8ad9be6" } }'
json
{
  "data": {
    "id": "84202e58-bf8c-471d-af07-0ab0f5b0f82b"
  }
}

요청 ​

경로 ​

idstringrequired
파일 ID

본문 ​

contentstring

Maximum 5000 characters

댓글 내용

Example: Updated and re-exported.

anchornumber

Integer, 0-2147483647

동영상은 밀리초 단위 타임스탬프, 문서는 1부터 시작하는 페이지 번호

Example: 12000

durationnumber

Integer, 0-2147483647

anchor와 같은 단위의 댓글 구간 길이

Example: 3000

parentobject
상위 댓글. 최상위 댓글을 작성하려면 생략
parent.idstringrequired

UUID

최상위 댓글 ID

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

attachmentsarray

1-10 items, unique IDs

댓글 첨부파일
attachments[].idstringrequired
업로드가 완료된 댓글 첨부파일 ID

정보

비어 있지 않은 content, anchor, attachments 중 하나 이상을 보내야 하며, duration은 anchor가 있을 때만 보내야 합니다.

응답 ​

201 Created를 반환합니다.

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

Example: 84202e58-bf8c-471d-af07-0ab0f5b0f82b