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

98 lines
1.2 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: {
deliveredInstances: {
type: 'array',
items: {
type: 'number',
},
},
inboxInstances: {
type: 'array',
items: {
type: 'number',
},
},
stalled: {
type: 'array',
items: {
type: 'number',
},
},
sub: {
type: 'array',
items: {
type: 'number',
},
},
pub: {
type: 'array',
items: {
type: 'number',
},
},
pubsub: {
type: 'array',
items: {
type: 'number',
},
},
subActive: {
type: 'array',
items: {
type: 'number',
},
},
pubActive: {
type: 'array',
items: {
type: 'number',
},
},
},
required: [
'deliveredInstances',
'inboxInstances',
'stalled',
'sub',
'pub',
'pubsub',
'subActive',
'pubActive',
],
},
errors: {},
}