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

47 lines
706 B
Plaintext

{
summary: '',
description: '',
tags: [
'channels',
],
requireCredential: true,
req: {
type: 'object',
properties: {
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: [
'name',
],
},
res: {
type: 'object',
optional: false,
nullable: false,
ref: 'Channel',
$ref: 'misskey://Channel',
},
errors: {
'cd1e9f3e-5a12-4ab4-96f6-5d0a2cc32050': {
id: 'cd1e9f3e-5a12-4ab4-96f6-5d0a2cc32050',
code: 'NO_SUCH_FILE',
description: '',
},
},
}