jointrashposs/content/ja/.docs-legacy/api/endpoints/charts/users.json5
2023-07-11 23:48:17 +09:00

84 lines
1.1 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.total': {
type: 'array',
items: {
type: 'number',
},
},
'local.inc': {
type: 'array',
items: {
type: 'number',
},
},
'local.dec': {
type: 'array',
items: {
type: 'number',
},
},
'remote.total': {
type: 'array',
items: {
type: 'number',
},
},
'remote.inc': {
type: 'array',
items: {
type: 'number',
},
},
'remote.dec': {
type: 'array',
items: {
type: 'number',
},
},
},
required: [
'local.total',
'local.inc',
'local.dec',
'remote.total',
'remote.inc',
'remote.dec',
],
},
errors: {},
}