jointrashposs/content/ja/.docs-legacy/api/endpoints/admin/announcements/update.json5
2023-07-11 23:48:17 +09:00

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: '',
},
},
}