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

61 lines
1.0 KiB
Plaintext
Raw Permalink Normal View History

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