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

44 lines
649 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',
},
name: {
type: 'string',
},
category: {
type: 'string',
nullable: true,
description: 'Use `null` to reset the category.',
},
aliases: {
type: 'array',
items: {
type: 'string',
},
},
},
required: [
'id',
'name',
'aliases',
],
},
res: {},
errors: {
'684dec9d-a8c2-4364-9aa8-456c49cb1dc8': {
id: '684dec9d-a8c2-4364-9aa8-456c49cb1dc8',
code: 'NO_SUCH_EMOJI',
description: '',
},
},
}