mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-25 02:09:05 +01:00
37 lines
603 B
Plaintext
37 lines
603 B
Plaintext
|
{
|
||
|
summary: '',
|
||
|
description: '',
|
||
|
tags: [
|
||
|
'admin',
|
||
|
],
|
||
|
requireCredential: true,
|
||
|
req: {
|
||
|
type: 'object',
|
||
|
properties: {
|
||
|
noteId: {
|
||
|
type: 'string',
|
||
|
format: 'misskey:id',
|
||
|
},
|
||
|
expiresAt: {
|
||
|
type: 'integer',
|
||
|
},
|
||
|
},
|
||
|
required: [
|
||
|
'noteId',
|
||
|
'expiresAt',
|
||
|
],
|
||
|
},
|
||
|
res: {},
|
||
|
errors: {
|
||
|
'ee449fbe-af2a-453b-9cae-cf2fe7c895fc': {
|
||
|
id: 'ee449fbe-af2a-453b-9cae-cf2fe7c895fc',
|
||
|
code: 'NO_SUCH_NOTE',
|
||
|
description: '',
|
||
|
},
|
||
|
'ae427aa2-7a41-484f-a18c-2c1104051604': {
|
||
|
id: 'ae427aa2-7a41-484f-a18c-2c1104051604',
|
||
|
code: 'ALREADY_PROMOTED',
|
||
|
description: '',
|
||
|
},
|
||
|
},
|
||
|
}
|