jointrashposs/content/ja/.docs-legacy/api/endpoints/admin/announcements/update.json5

44 lines
627 B
Plaintext
Raw Normal View History

2023-07-08 10:36:02 +02:00
{
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: '',
},
},
}