jointrashposs/content/ja/.docs-legacy/api/endpoints/drive/files/find.json5
2023-07-11 23:48:17 +09:00

41 lines
824 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',
description: 'ファイルの名前。',
},
folderId: {
type: 'string',
format: 'misskey:id',
nullable: true,
default: null,
description: '親フォルダのid。nullデフォルトであれば、ルート階層にあるファイルを検索します。',
},
},
required: [
'name',
],
},
res: {
type: 'array',
optional: false,
nullable: false,
items: {
type: 'object',
optional: false,
nullable: false,
ref: 'DriveFile',
$ref: 'misskey://DriveFile',
},
},
errors: {},
}