jointrashposs/content/ja-JP/.docs-legacy/api/endpoints/gallery/posts/update.json5

53 lines
748 B
Plaintext
Raw Normal View History

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