Merge pull request #12597 from influxdata/swagger_task_runs

feat(http): update swagger to use runs
pull/12646/head
kelwang 2019-03-15 11:40:20 -04:00 committed by GitHub
commit 769a1a8a10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 16 deletions

View File

@ -3894,14 +3894,7 @@ paths:
content:
application/json:
schema:
type: object
properties:
tasks:
type: array
items:
$ref: "#/components/schemas/Task"
links:
$ref: "#/components/schemas/Links"
$ref: "#/components/schemas/Tasks"
default:
description: unexpected error
content:
@ -4059,14 +4052,7 @@ paths:
content:
application/json:
schema:
type: object
properties:
runs:
type: array
items:
$ref: "#/components/schemas/Run"
links:
$ref: "#/components/schemas/Links"
$ref: "#/components/schemas/Runs"
default:
description: unexpected error
content:
@ -5607,6 +5593,16 @@ components:
type: array
items:
$ref: "#/components/schemas/Organization"
Runs:
type: object
properties:
links:
readOnly: true
$ref: "#/components/schemas/Links"
runs:
type: array
items:
$ref: "#/components/schemas/Run"
Run:
properties:
id:
@ -5671,6 +5667,16 @@ components:
description: Time used for run's "now" option, RFC3339. Default is the server's now time.
type: string
format: date-time
Tasks:
type: object
properties:
links:
readOnly: true
$ref: "#/components/schemas/Links"
tasks:
type: array
items:
$ref: "#/components/schemas/Task"
Task:
type: object
properties: