beta-8 swagger, resolves #934
parent
e83ede8511
commit
f67fa0248e
|
@ -4361,7 +4361,7 @@ paths:
|
||||||
$ref: "#/components/schemas/Error"
|
$ref: "#/components/schemas/Error"
|
||||||
/packages/stacks:
|
/packages/stacks:
|
||||||
post:
|
post:
|
||||||
operationId: CreatePkg
|
operationId: CreateStack
|
||||||
tags:
|
tags:
|
||||||
- InfluxPackages
|
- InfluxPackages
|
||||||
summary: Create a new Influx package
|
summary: Create a new Influx package
|
||||||
|
@ -6351,6 +6351,10 @@ components:
|
||||||
- flux
|
- flux
|
||||||
dialect:
|
dialect:
|
||||||
$ref: "#/components/schemas/Dialect"
|
$ref: "#/components/schemas/Dialect"
|
||||||
|
now:
|
||||||
|
description: Specifies the time that should be reported as "now" in the query. Default is the server's now time.
|
||||||
|
type: string
|
||||||
|
format: date-time
|
||||||
InfluxQLQuery:
|
InfluxQLQuery:
|
||||||
description: Query influx using the InfluxQL language
|
description: Query influx using the InfluxQL language
|
||||||
type: object
|
type: object
|
||||||
|
@ -7209,6 +7213,8 @@ components:
|
||||||
type: boolean
|
type: boolean
|
||||||
orgID:
|
orgID:
|
||||||
type: string
|
type: string
|
||||||
|
stackID:
|
||||||
|
type: string
|
||||||
package:
|
package:
|
||||||
$ref: "#/components/schemas/Pkg"
|
$ref: "#/components/schemas/Pkg"
|
||||||
packages:
|
packages:
|
||||||
|
@ -7316,6 +7322,8 @@ components:
|
||||||
type: string
|
type: string
|
||||||
orgID:
|
orgID:
|
||||||
type: string
|
type: string
|
||||||
|
pkgName:
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
description:
|
description:
|
||||||
|
@ -7333,6 +7341,8 @@ components:
|
||||||
- $ref: "#/components/schemas/CheckDiscriminator"
|
- $ref: "#/components/schemas/CheckDiscriminator"
|
||||||
- type: object
|
- type: object
|
||||||
properties:
|
properties:
|
||||||
|
pkgName:
|
||||||
|
type: string
|
||||||
labelAssociations:
|
labelAssociations:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
|
@ -7392,6 +7402,8 @@ components:
|
||||||
- $ref: "#/components/schemas/NotificationEndpointDiscrimator"
|
- $ref: "#/components/schemas/NotificationEndpointDiscrimator"
|
||||||
- type: object
|
- type: object
|
||||||
properties:
|
properties:
|
||||||
|
pkgName:
|
||||||
|
type: string
|
||||||
labelAssociations:
|
labelAssociations:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
|
@ -7480,6 +7492,8 @@ components:
|
||||||
items:
|
items:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
pkgName:
|
||||||
|
type: string
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
orgID:
|
orgID:
|
||||||
|
@ -7502,13 +7516,17 @@ components:
|
||||||
items:
|
items:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
remove:
|
||||||
|
type: boolean
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
name:
|
pkgName:
|
||||||
type: string
|
type: string
|
||||||
new:
|
new:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
description:
|
description:
|
||||||
type: string
|
type: string
|
||||||
retentionRules:
|
retentionRules:
|
||||||
|
@ -7516,6 +7534,8 @@ components:
|
||||||
old:
|
old:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
description:
|
description:
|
||||||
type: string
|
type: string
|
||||||
retentionRules:
|
retentionRules:
|
||||||
|
@ -7525,9 +7545,11 @@ components:
|
||||||
items:
|
items:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
remove:
|
||||||
|
type: boolean
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
name:
|
pkgName:
|
||||||
type: string
|
type: string
|
||||||
new:
|
new:
|
||||||
$ref: "#/components/schemas/CheckDiscriminator"
|
$ref: "#/components/schemas/CheckDiscriminator"
|
||||||
|
@ -7536,6 +7558,26 @@ components:
|
||||||
dashboards:
|
dashboards:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
remove:
|
||||||
|
type: boolean
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
pkgName:
|
||||||
|
type: string
|
||||||
|
new:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
description:
|
||||||
|
type: string
|
||||||
|
charts:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
$ref: "#/components/schemas/PkgChart"
|
||||||
|
old:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
name:
|
name:
|
||||||
|
@ -7551,13 +7593,17 @@ components:
|
||||||
items:
|
items:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
remove:
|
||||||
|
type: boolean
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
name:
|
pkgName:
|
||||||
type: string
|
type: string
|
||||||
new:
|
new:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
color:
|
color:
|
||||||
type: string
|
type: string
|
||||||
description:
|
description:
|
||||||
|
@ -7565,6 +7611,8 @@ components:
|
||||||
old:
|
old:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
color:
|
color:
|
||||||
type: string
|
type: string
|
||||||
description:
|
description:
|
||||||
|
@ -7591,9 +7639,11 @@ components:
|
||||||
items:
|
items:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
remove:
|
||||||
|
type: boolean
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
name:
|
pkgName:
|
||||||
type: string
|
type: string
|
||||||
new:
|
new:
|
||||||
$ref: "#/components/schemas/NotificationEndpointDiscrimator"
|
$ref: "#/components/schemas/NotificationEndpointDiscrimator"
|
||||||
|
@ -7602,6 +7652,56 @@ components:
|
||||||
notificationRules:
|
notificationRules:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
remove:
|
||||||
|
type: boolean
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
pkgName:
|
||||||
|
type: string
|
||||||
|
new:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
description:
|
||||||
|
type: string
|
||||||
|
endpointName:
|
||||||
|
type: string
|
||||||
|
endpointID:
|
||||||
|
type: string
|
||||||
|
endpointType:
|
||||||
|
type: string
|
||||||
|
every:
|
||||||
|
type: string
|
||||||
|
offset:
|
||||||
|
type: string
|
||||||
|
messageTemplate:
|
||||||
|
type: string
|
||||||
|
status:
|
||||||
|
type: string
|
||||||
|
statusRules:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
currentLevel:
|
||||||
|
type: string
|
||||||
|
previousLevel:
|
||||||
|
type: string
|
||||||
|
tagRules:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
key:
|
||||||
|
type: string
|
||||||
|
value:
|
||||||
|
type: string
|
||||||
|
operator:
|
||||||
|
type: string
|
||||||
|
old:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
name:
|
name:
|
||||||
|
@ -7645,6 +7745,32 @@ components:
|
||||||
tasks:
|
tasks:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
remove:
|
||||||
|
type: boolean
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
pkgName:
|
||||||
|
type: string
|
||||||
|
new:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
cron:
|
||||||
|
type: string
|
||||||
|
description:
|
||||||
|
type: string
|
||||||
|
every:
|
||||||
|
type: string
|
||||||
|
offset:
|
||||||
|
type: string
|
||||||
|
query:
|
||||||
|
type: string
|
||||||
|
status:
|
||||||
|
type: string
|
||||||
|
old:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
name:
|
name:
|
||||||
|
@ -7664,19 +7790,34 @@ components:
|
||||||
telegrafConfigs:
|
telegrafConfigs:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
remove:
|
||||||
|
type: boolean
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
pkgName:
|
||||||
|
type: string
|
||||||
|
new:
|
||||||
|
$ref: "#/components/schemas/TelegrafRequest"
|
||||||
|
old:
|
||||||
$ref: "#/components/schemas/TelegrafRequest"
|
$ref: "#/components/schemas/TelegrafRequest"
|
||||||
variables:
|
variables:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
remove:
|
||||||
|
type: boolean
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
name:
|
pkgName:
|
||||||
type: string
|
type: string
|
||||||
new:
|
new:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
description:
|
description:
|
||||||
type: string
|
type: string
|
||||||
args:
|
args:
|
||||||
|
@ -7684,6 +7825,8 @@ components:
|
||||||
old:
|
old:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
description:
|
description:
|
||||||
type: string
|
type: string
|
||||||
args:
|
args:
|
||||||
|
@ -7712,6 +7855,8 @@ components:
|
||||||
type: string
|
type: string
|
||||||
orgID:
|
orgID:
|
||||||
type: string
|
type: string
|
||||||
|
pkgName:
|
||||||
|
type: string
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
description:
|
description:
|
||||||
|
@ -8838,7 +8983,7 @@ components:
|
||||||
description: Colors define color encoding of data into a visualization
|
description: Colors define color encoding of data into a visualization
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: string
|
$ref: "#/components/schemas/DashboardColor"
|
||||||
Axes:
|
Axes:
|
||||||
description: The viewport for a View's visualizations
|
description: The viewport for a View's visualizations
|
||||||
type: object
|
type: object
|
||||||
|
|
Loading…
Reference in New Issue