mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-25 02:09:05 +01:00
98 lines
1.3 KiB
Plaintext
98 lines
1.3 KiB
Plaintext
{
|
|
summary: '',
|
|
description: '',
|
|
tags: [
|
|
'charts',
|
|
],
|
|
requireCredential: false,
|
|
req: {
|
|
type: 'object',
|
|
properties: {
|
|
span: {
|
|
type: 'string',
|
|
enum: [
|
|
'day',
|
|
'hour',
|
|
],
|
|
},
|
|
limit: {
|
|
type: 'integer',
|
|
minimum: 1,
|
|
maximum: 500,
|
|
default: 30,
|
|
},
|
|
offset: {
|
|
type: 'integer',
|
|
nullable: true,
|
|
default: null,
|
|
},
|
|
},
|
|
required: [
|
|
'span',
|
|
],
|
|
},
|
|
res: {
|
|
type: 'object',
|
|
properties: {
|
|
'local.incCount': {
|
|
type: 'array',
|
|
items: {
|
|
type: 'number',
|
|
},
|
|
},
|
|
'local.incSize': {
|
|
type: 'array',
|
|
items: {
|
|
type: 'number',
|
|
},
|
|
},
|
|
'local.decCount': {
|
|
type: 'array',
|
|
items: {
|
|
type: 'number',
|
|
},
|
|
},
|
|
'local.decSize': {
|
|
type: 'array',
|
|
items: {
|
|
type: 'number',
|
|
},
|
|
},
|
|
'remote.incCount': {
|
|
type: 'array',
|
|
items: {
|
|
type: 'number',
|
|
},
|
|
},
|
|
'remote.incSize': {
|
|
type: 'array',
|
|
items: {
|
|
type: 'number',
|
|
},
|
|
},
|
|
'remote.decCount': {
|
|
type: 'array',
|
|
items: {
|
|
type: 'number',
|
|
},
|
|
},
|
|
'remote.decSize': {
|
|
type: 'array',
|
|
items: {
|
|
type: 'number',
|
|
},
|
|
},
|
|
},
|
|
required: [
|
|
'local.incCount',
|
|
'local.incSize',
|
|
'local.decCount',
|
|
'local.decSize',
|
|
'remote.incCount',
|
|
'remote.incSize',
|
|
'remote.decCount',
|
|
'remote.decSize',
|
|
],
|
|
},
|
|
errors: {},
|
|
} |