jointrashposs/content/ja/.docs-legacy/api/endpoints/charts/federation.json5

98 lines
1.2 KiB
Plaintext
Raw Normal View History

2023-07-08 10:36:02 +02:00
{
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: {},
}