mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-25 02:09:05 +01:00
53 lines
748 B
Plaintext
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: {},
|
|
}
|