mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-24 01:39:07 +01:00
44 lines
649 B
Plaintext
44 lines
649 B
Plaintext
{
|
|
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: '',
|
|
},
|
|
},
|
|
} |