mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-25 02:09:05 +01:00
41 lines
813 B
Plaintext
41 lines
813 B
Plaintext
|
{
|
|||
|
summary: 'フォルダーを検索します。',
|
|||
|
description: 'ログイン中のユーザのドライブにあるフォルダーを検索します。',
|
|||
|
tags: [
|
|||
|
'drive',
|
|||
|
],
|
|||
|
requireCredential: true,
|
|||
|
req: {
|
|||
|
type: 'object',
|
|||
|
properties: {
|
|||
|
name: {
|
|||
|
type: 'string',
|
|||
|
description: 'フォルダーの名前。',
|
|||
|
},
|
|||
|
parentId: {
|
|||
|
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: 'DriveFolder',
|
|||
|
$ref: 'misskey://DriveFolder',
|
|||
|
},
|
|||
|
},
|
|||
|
errors: {},
|
|||
|
}
|