mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-24 09:49:06 +01:00
48 lines
670 B
Plaintext
48 lines
670 B
Plaintext
{
|
|
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: {},
|
|
}
|