mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 02:06:03 +02:00
fix: remove reference to hallucinated schema, fix hideSave definitions
This commit is contained in:
@@ -9,12 +9,14 @@ get:
|
||||
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
|
||||
@@ -33,13 +35,16 @@ get:
|
||||
received:
|
||||
type: array
|
||||
items:
|
||||
$ref: ../../../components/schemas/admin/stats.yaml#/StatsArray
|
||||
type: number
|
||||
receivedErr:
|
||||
type: array
|
||||
items:
|
||||
$ref: ../../../components/schemas/admin/stats.yaml#/StatsArray
|
||||
type: number
|
||||
sent:
|
||||
type: array
|
||||
items:
|
||||
$ref: ../../../components/schemas/admin/stats.yaml#/StatsArray
|
||||
type: number
|
||||
hideSave:
|
||||
type: number
|
||||
description: A flag to instruct the template engine to hide the save button
|
||||
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps
|
||||
|
||||
@@ -13,11 +13,17 @@ get:
|
||||
properties:
|
||||
title:
|
||||
type: string
|
||||
hideSave:
|
||||
type: boolean
|
||||
description: A flag to instruct the template engine to hide the save button
|
||||
errors:
|
||||
type: array
|
||||
items:
|
||||
$ref: ../../../components/schemas/admin/error.yaml#/ErrorObject
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
body:
|
||||
type: string
|
||||
stack:
|
||||
type: string
|
||||
hostname:
|
||||
type: string
|
||||
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps
|
||||
|
||||
Reference in New Issue
Block a user