mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-25 02:09:05 +01:00
58 lines
791 B
Plaintext
58 lines
791 B
Plaintext
{
|
|
summary: '',
|
|
description: '',
|
|
tags: [
|
|
'admin',
|
|
],
|
|
requireCredential: true,
|
|
req: {
|
|
type: 'object',
|
|
properties: {
|
|
id: {
|
|
type: 'string',
|
|
format: 'misskey:id',
|
|
},
|
|
memo: {
|
|
type: 'string',
|
|
},
|
|
url: {
|
|
type: 'string',
|
|
minLength: 1,
|
|
},
|
|
imageUrl: {
|
|
type: 'string',
|
|
minLength: 1,
|
|
},
|
|
place: {
|
|
type: 'string',
|
|
},
|
|
priority: {
|
|
type: 'string',
|
|
},
|
|
ratio: {
|
|
type: 'integer',
|
|
},
|
|
expiresAt: {
|
|
type: 'integer',
|
|
},
|
|
},
|
|
required: [
|
|
'id',
|
|
'memo',
|
|
'url',
|
|
'imageUrl',
|
|
'place',
|
|
'priority',
|
|
'ratio',
|
|
'expiresAt',
|
|
],
|
|
},
|
|
res: {},
|
|
errors: {
|
|
'b7aa1727-1354-47bc-a182-3a9c3973d300': {
|
|
id: 'b7aa1727-1354-47bc-a182-3a9c3973d300',
|
|
code: 'NO_SUCH_AD',
|
|
description: '',
|
|
},
|
|
},
|
|
} |