mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-25 10:19:07 +01:00
44 lines
627 B
Plaintext
44 lines
627 B
Plaintext
|
{
|
||
|
summary: '',
|
||
|
description: '',
|
||
|
tags: [
|
||
|
'admin',
|
||
|
],
|
||
|
requireCredential: true,
|
||
|
req: {
|
||
|
type: 'object',
|
||
|
properties: {
|
||
|
id: {
|
||
|
type: 'string',
|
||
|
format: 'misskey:id',
|
||
|
},
|
||
|
title: {
|
||
|
type: 'string',
|
||
|
minLength: 1,
|
||
|
},
|
||
|
text: {
|
||
|
type: 'string',
|
||
|
minLength: 1,
|
||
|
},
|
||
|
imageUrl: {
|
||
|
type: 'string',
|
||
|
nullable: true,
|
||
|
minLength: 1,
|
||
|
},
|
||
|
},
|
||
|
required: [
|
||
|
'id',
|
||
|
'title',
|
||
|
'text',
|
||
|
'imageUrl',
|
||
|
],
|
||
|
},
|
||
|
res: {},
|
||
|
errors: {
|
||
|
'd3aae5a7-6372-4cb4-b61c-f511ffc2d7cc': {
|
||
|
id: 'd3aae5a7-6372-4cb4-b61c-f511ffc2d7cc',
|
||
|
code: 'NO_SUCH_ANNOUNCEMENT',
|
||
|
description: '',
|
||
|
},
|
||
|
},
|
||
|
}
|