mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-24 01:39:07 +01:00
53 lines
1006 B
Plaintext
53 lines
1006 B
Plaintext
|
{
|
|||
|
summary: '関連するノートを取得します。',
|
|||
|
description: '関連するノートを取得します。',
|
|||
|
tags: [
|
|||
|
'notes',
|
|||
|
],
|
|||
|
requireCredential: false,
|
|||
|
req: {
|
|||
|
type: 'object',
|
|||
|
properties: {
|
|||
|
noteId: {
|
|||
|
type: 'string',
|
|||
|
format: 'misskey:id',
|
|||
|
description: 'ノートのid。',
|
|||
|
},
|
|||
|
limit: {
|
|||
|
type: 'integer',
|
|||
|
minimum: 1,
|
|||
|
maximum: 100,
|
|||
|
default: 10,
|
|||
|
description: '取得するノートの最大数。',
|
|||
|
},
|
|||
|
offset: {
|
|||
|
type: 'integer',
|
|||
|
default: 0,
|
|||
|
description: '結果の先頭offset個をスキップします。',
|
|||
|
},
|
|||
|
},
|
|||
|
required: [
|
|||
|
'noteId',
|
|||
|
],
|
|||
|
},
|
|||
|
res: {
|
|||
|
type: 'array',
|
|||
|
optional: false,
|
|||
|
nullable: false,
|
|||
|
items: {
|
|||
|
type: 'object',
|
|||
|
optional: false,
|
|||
|
nullable: false,
|
|||
|
ref: 'Note',
|
|||
|
$ref: 'misskey://Note',
|
|||
|
},
|
|||
|
},
|
|||
|
errors: {
|
|||
|
'e1035875-9551-45ec-afa8-1ded1fcb53c8': {
|
|||
|
id: 'e1035875-9551-45ec-afa8-1ded1fcb53c8',
|
|||
|
code: 'NO_SUCH_NOTE',
|
|||
|
description: 'ノートが存在しません。',
|
|||
|
},
|
|||
|
},
|
|||
|
}
|