mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-23 17:29:06 +01:00
61 lines
1.0 KiB
Plaintext
61 lines
1.0 KiB
Plaintext
{
|
|
summary: '',
|
|
description: '',
|
|
tags: [
|
|
'channels',
|
|
],
|
|
requireCredential: true,
|
|
req: {
|
|
type: 'object',
|
|
properties: {
|
|
channelId: {
|
|
type: 'string',
|
|
format: 'misskey:id',
|
|
},
|
|
name: {
|
|
type: 'string',
|
|
minLength: 1,
|
|
maxLength: 128,
|
|
},
|
|
description: {
|
|
type: 'string',
|
|
nullable: true,
|
|
minLength: 1,
|
|
maxLength: 2048,
|
|
},
|
|
bannerId: {
|
|
type: 'string',
|
|
format: 'misskey:id',
|
|
nullable: true,
|
|
},
|
|
},
|
|
required: [
|
|
'channelId',
|
|
],
|
|
},
|
|
res: {
|
|
type: 'object',
|
|
optional: false,
|
|
nullable: false,
|
|
ref: 'Channel',
|
|
$ref: 'misskey://Channel',
|
|
},
|
|
errors: {
|
|
'f9c5467f-d492-4c3c-9a8d-a70dacc86512': {
|
|
id: 'f9c5467f-d492-4c3c-9a8d-a70dacc86512',
|
|
code: 'NO_SUCH_CHANNEL',
|
|
description: '',
|
|
},
|
|
'1fb7cb09-d46a-4fdf-b8df-057788cce513': {
|
|
id: '1fb7cb09-d46a-4fdf-b8df-057788cce513',
|
|
code: 'ACCESS_DENIED',
|
|
description: '',
|
|
},
|
|
'e86c14a4-0da2-4032-8df3-e737a04c7f3b': {
|
|
id: 'e86c14a4-0da2-4032-8df3-e737a04c7f3b',
|
|
code: 'NO_SUCH_FILE',
|
|
description: '',
|
|
},
|
|
},
|
|
}
|