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

53 lines
748 B
Plaintext

{
summary: '',
description: '',
tags: [
'gallery',
],
requireCredential: true,
req: {
type: 'object',
properties: {
postId: {
type: 'string',
format: 'misskey:id',
},
title: {
type: 'string',
minLength: 1,
},
description: {
type: 'string',
nullable: true,
},
fileIds: {
type: 'array',
uniqueItems: true,
minItems: 1,
maxItems: 32,
items: {
type: 'string',
format: 'misskey:id',
},
},
isSensitive: {
type: 'boolean',
default: false,
},
},
required: [
'postId',
'title',
'fileIds',
],
},
res: {
type: 'object',
optional: false,
nullable: false,
ref: 'GalleryPost',
$ref: 'misskey://GalleryPost',
},
errors: {},
}