jointrashposs/content/ja-JP/.docs-legacy/api/endpoints/drive/folders/create.json5
kakkokari-gtyih a8dca2c347 migrate docs
2023-07-11 00:44:03 +09:00

41 lines
945 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
summary: 'フォルダーを作成します。',
description: 'ログイン中のユーザのドライブにフォルダーを作成します。',
tags: [
'drive',
],
requireCredential: true,
req: {
type: 'object',
properties: {
name: {
type: 'string',
default: 'Untitled',
maxLength: 200,
description: 'フォルダーの名前。',
},
parentId: {
type: 'string',
format: 'misskey:id',
nullable: true,
description: '親フォルダーのid。nullデフォルトであればルート階層にフォルダが作成されます。',
},
},
required: [],
},
res: {
type: 'object',
optional: false,
nullable: false,
ref: 'DriveFolder',
$ref: 'misskey://DriveFolder',
},
errors: {
'53326628-a00d-40a6-a3cd-8975105c0f95': {
id: '53326628-a00d-40a6-a3cd-8975105c0f95',
code: 'NO_SUCH_FOLDER',
description: 'フォルダーが存在しません。',
},
},
}