mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-23 17:29:06 +01:00
51 lines
966 B
Plaintext
51 lines
966 B
Plaintext
|
{
|
||
|
summary: '指定された通知を既読にします。',
|
||
|
description: '指定された通知を既読にします。',
|
||
|
tags: [
|
||
|
'notifications',
|
||
|
],
|
||
|
requireCredential: true,
|
||
|
req: {
|
||
|
oneOf: [
|
||
|
{
|
||
|
type: 'object',
|
||
|
properties: {
|
||
|
notificationId: {
|
||
|
type: 'string',
|
||
|
format: 'misskey:id',
|
||
|
description: '既読にする通知のid。',
|
||
|
},
|
||
|
},
|
||
|
required: [
|
||
|
'notificationId',
|
||
|
],
|
||
|
},
|
||
|
{
|
||
|
type: 'object',
|
||
|
properties: {
|
||
|
notificationIds: {
|
||
|
type: 'array',
|
||
|
items: {
|
||
|
type: 'string',
|
||
|
format: 'misskey:id',
|
||
|
description: '既読にする通知のidの配列。',
|
||
|
},
|
||
|
maxItems: 100,
|
||
|
},
|
||
|
},
|
||
|
required: [
|
||
|
'notificationIds',
|
||
|
],
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
res: {},
|
||
|
errors: {
|
||
|
'efa929d5-05b5-47d1-beec-e6a4dbed011e': {
|
||
|
id: 'efa929d5-05b5-47d1-beec-e6a4dbed011e',
|
||
|
code: 'NO_SUCH_NOTIFICATION',
|
||
|
description: '通知が存在しません。',
|
||
|
},
|
||
|
},
|
||
|
}
|