フォルダー作成 Tier 3
POST/api/projects/:id/foldersCopied!
プロジェクトにフォルダーを作成します。
例
ts
const folder = await client.folders.create("bdbff5de-96d7-468f-9db0-85fe28bd6b62", {
name: "Final renders",
});bash
youvico folder create --project=bdbff5de-96d7-468f-9db0-85fe28bd6b62 --name="Final renders"bash
curl -X POST 'https://api.youvico.com/api/projects/bdbff5de-96d7-468f-9db0-85fe28bd6b62/folders' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{ "name": "Final renders" }'json
{
"data": {
"id": "DX1234567890ABCD"
}
}リクエスト
パス
idstringrequired プロジェクトID
ボディ
namestringrequired1–64 characters
フォルダー名
レスポンス
201 Created を返します。
dataobject 作成されたフォルダー
data.idstring 作成されたフォルダーID
Example: DX1234567890ABCD