Files
NodeBB/public/openapi/read/admin/federation/analytics.yaml
2026-04-15 12:11:29 -04:00

58 lines
1.7 KiB
YAML

get:
tags:
- admin
summary: Get federation analytics data
parameters:
- name: host
in: query
description: The hostname to filter analytics for
required: false
schema:
type: string
example: example.org
- name: term
in: query
description: The time period to retrieve analytics for (daily or hourly)
required: false
schema:
type: string
example: hourly
responses:
"200":
description: Analytics data
content:
application/json:
schema:
allOf:
- type: object
properties:
title:
type: string
instances:
type: array
items:
type: string
data:
type: object
properties:
received:
type: array
items:
type: number
receivedErr:
type: array
items:
type: number
sent:
type: array
items:
type: number
sentErr:
type: array
items:
type: number
hideSave:
type: number
description: A flag to instruct the template engine to hide the save button
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps