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

48 lines
670 B
Plaintext
Raw Normal View History

2023-07-08 10:36:02 +02:00
{
summary: '',
description: '',
tags: [
'gallery',
],
requireCredential: true,
req: {
type: 'object',
properties: {
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: [
'title',
'fileIds',
],
},
res: {
type: 'object',
optional: false,
nullable: false,
ref: 'GalleryPost',
$ref: 'misskey://GalleryPost',
},
errors: {},
}