Skip to content

コメント作成(ファイル) ​

MCPツール
create_file_commentCreate File Comment
レート制限
Tier 4
スコープ
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 のいずれか1つ以上を送信し、duration は anchor と一緒にのみ送信します。

レスポンス ​

201 Created を返します。

dataobject
作成されたコメント
data.idstring
作成されたコメントのID

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