beta-8 swagger, resolves #934
parent
e83ede8511
commit
f67fa0248e
|
@ -4361,7 +4361,7 @@ paths:
|
|||
$ref: "#/components/schemas/Error"
|
||||
/packages/stacks:
|
||||
post:
|
||||
operationId: CreatePkg
|
||||
operationId: CreateStack
|
||||
tags:
|
||||
- InfluxPackages
|
||||
summary: Create a new Influx package
|
||||
|
@ -6351,6 +6351,10 @@ components:
|
|||
- flux
|
||||
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:
|
||||
description: Query influx using the InfluxQL language
|
||||
type: object
|
||||
|
@ -7209,6 +7213,8 @@ components:
|
|||
type: boolean
|
||||
orgID:
|
||||
type: string
|
||||
stackID:
|
||||
type: string
|
||||
package:
|
||||
$ref: "#/components/schemas/Pkg"
|
||||
packages:
|
||||
|
@ -7316,6 +7322,8 @@ components:
|
|||
type: string
|
||||
orgID:
|
||||
type: string
|
||||
pkgName:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
description:
|
||||
|
@ -7333,6 +7341,8 @@ components:
|
|||
- $ref: "#/components/schemas/CheckDiscriminator"
|
||||
- type: object
|
||||
properties:
|
||||
pkgName:
|
||||
type: string
|
||||
labelAssociations:
|
||||
type: array
|
||||
items:
|
||||
|
@ -7392,6 +7402,8 @@ components:
|
|||
- $ref: "#/components/schemas/NotificationEndpointDiscrimator"
|
||||
- type: object
|
||||
properties:
|
||||
pkgName:
|
||||
type: string
|
||||
labelAssociations:
|
||||
type: array
|
||||
items:
|
||||
|
@ -7480,6 +7492,8 @@ components:
|
|||
items:
|
||||
type: object
|
||||
properties:
|
||||
pkgName:
|
||||
type: string
|
||||
id:
|
||||
type: string
|
||||
orgID:
|
||||
|
@ -7502,13 +7516,17 @@ components:
|
|||
items:
|
||||
type: object
|
||||
properties:
|
||||
remove:
|
||||
type: boolean
|
||||
id:
|
||||
type: string
|
||||
name:
|
||||
pkgName:
|
||||
type: string
|
||||
new:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
retentionRules:
|
||||
|
@ -7516,6 +7534,8 @@ components:
|
|||
old:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
retentionRules:
|
||||
|
@ -7525,9 +7545,11 @@ components:
|
|||
items:
|
||||
type: object
|
||||
properties:
|
||||
remove:
|
||||
type: boolean
|
||||
id:
|
||||
type: string
|
||||
name:
|
||||
pkgName:
|
||||
type: string
|
||||
new:
|
||||
$ref: "#/components/schemas/CheckDiscriminator"
|
||||
|
@ -7538,26 +7560,50 @@ components:
|
|||
items:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
remove:
|
||||
type: boolean
|
||||
id:
|
||||
type: string
|
||||
description:
|
||||
pkgName:
|
||||
type: string
|
||||
charts:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/PkgChart"
|
||||
new:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
charts:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/PkgChart"
|
||||
old:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
charts:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/PkgChart"
|
||||
labels:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
remove:
|
||||
type: boolean
|
||||
id:
|
||||
type: string
|
||||
name:
|
||||
pkgName:
|
||||
type: string
|
||||
new:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
color:
|
||||
type: string
|
||||
description:
|
||||
|
@ -7565,6 +7611,8 @@ components:
|
|||
old:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
color:
|
||||
type: string
|
||||
description:
|
||||
|
@ -7591,9 +7639,11 @@ components:
|
|||
items:
|
||||
type: object
|
||||
properties:
|
||||
remove:
|
||||
type: boolean
|
||||
id:
|
||||
type: string
|
||||
name:
|
||||
pkgName:
|
||||
type: string
|
||||
new:
|
||||
$ref: "#/components/schemas/NotificationEndpointDiscrimator"
|
||||
|
@ -7604,79 +7654,170 @@ components:
|
|||
items:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
remove:
|
||||
type: boolean
|
||||
id:
|
||||
type: string
|
||||
description:
|
||||
pkgName:
|
||||
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:
|
||||
new:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
previousLevel:
|
||||
description:
|
||||
type: string
|
||||
tagRules:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
endpointName:
|
||||
type: string
|
||||
value:
|
||||
endpointID:
|
||||
type: string
|
||||
operator:
|
||||
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
|
||||
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
|
||||
tasks:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
remove:
|
||||
type: boolean
|
||||
id:
|
||||
type: string
|
||||
cron:
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
every:
|
||||
type: string
|
||||
offset:
|
||||
type: string
|
||||
query:
|
||||
type: string
|
||||
status:
|
||||
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
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
cron:
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
every:
|
||||
type: string
|
||||
offset:
|
||||
type: string
|
||||
query:
|
||||
type: string
|
||||
status:
|
||||
type: string
|
||||
telegrafConfigs:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/TelegrafRequest"
|
||||
type: object
|
||||
properties:
|
||||
remove:
|
||||
type: boolean
|
||||
id:
|
||||
type: string
|
||||
pkgName:
|
||||
type: string
|
||||
new:
|
||||
$ref: "#/components/schemas/TelegrafRequest"
|
||||
old:
|
||||
$ref: "#/components/schemas/TelegrafRequest"
|
||||
variables:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
remove:
|
||||
type: boolean
|
||||
id:
|
||||
type: string
|
||||
name:
|
||||
pkgName:
|
||||
type: string
|
||||
new:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
args:
|
||||
|
@ -7684,6 +7825,8 @@ components:
|
|||
old:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
args:
|
||||
|
@ -7712,6 +7855,8 @@ components:
|
|||
type: string
|
||||
orgID:
|
||||
type: string
|
||||
pkgName:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
description:
|
||||
|
@ -8838,7 +8983,7 @@ components:
|
|||
description: Colors define color encoding of data into a visualization
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
$ref: "#/components/schemas/DashboardColor"
|
||||
Axes:
|
||||
description: The viewport for a View's visualizations
|
||||
type: object
|
||||
|
|
Loading…
Reference in New Issue