add TraceSpan param to swagger

pull/10616/head
zhulongcheng 2018-12-20 23:42:07 +08:00
parent c2d88d4e70
commit 03c4ef1898
1 changed files with 163 additions and 0 deletions

View File

@ -10,6 +10,8 @@ paths:
summary: Exchange basic auth credentials for session
security:
- basicAuth: []
parameters:
- $ref: '#/components/parameters/TraceSpan'
responses:
'204':
description: succesfully authenticated
@ -22,6 +24,8 @@ paths:
/signout:
post:
summary: Expire the current session
parameters:
- $ref: '#/components/parameters/TraceSpan'
responses:
'204':
description: session successfully expired
@ -34,6 +38,8 @@ paths:
/:
get:
summary: Map of all top level routes available
parameters:
- $ref: '#/components/parameters/TraceSpan'
responses:
default:
description: All routes
@ -46,6 +52,8 @@ paths:
tags:
- Setup
summary: check if database has default user, org, bucket created, returns true if not.
parameters:
- $ref: '#/components/parameters/TraceSpan'
responses:
'200':
description:
@ -58,6 +66,8 @@ paths:
tags:
- Setup
summary: post onboarding request, to setup initial user, org and bucket
parameters:
- $ref: '#/components/parameters/TraceSpan'
requestBody:
description: source to create
required: true
@ -77,6 +87,7 @@ paths:
tags:
- Telegrafs
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: query
name: org
description: specifies the organization of the resource
@ -101,6 +112,7 @@ paths:
- Telegrafs
summary: Create a telegraf config
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: query
name: org
description: specifies the organization of the resource
@ -133,6 +145,7 @@ paths:
- Telegrafs
summary: Retrieve a telegraf config
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: telegrafID
schema:
@ -165,6 +178,7 @@ paths:
- Telegrafs
summary: Update a telegraf config
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: telegrafID
schema:
@ -197,6 +211,7 @@ paths:
- Telegrafs
summary: list all labels for a telegraf config
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: telegrafID
schema:
@ -226,6 +241,7 @@ paths:
- Telegrafs
summary: add a label to a telegraf config
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: telegrafID
schema:
@ -266,6 +282,7 @@ paths:
- Telegrafs
summary: delete a label from a telegraf config
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: telegrafID
schema:
@ -298,6 +315,7 @@ paths:
- Telegrafs
summary: update a label from a telegraf config
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: telegrafID
schema:
@ -339,6 +357,7 @@ paths:
- Telegrafs
summary: List all users with member privileges for a telegraf config
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: telegrafID
schema:
@ -364,6 +383,7 @@ paths:
- Telegrafs
summary: Add telegraf config member
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: telegrafID
schema:
@ -397,6 +417,7 @@ paths:
- Telegrafs
summary: removes a member from a telegraf config
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: userID
schema:
@ -425,6 +446,7 @@ paths:
- Telegrafs
summary: List all owners of a telegraf config
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: telegrafID
schema:
@ -450,6 +472,7 @@ paths:
- Telegrafs
summary: Add telegraf config owner
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: telegrafID
schema:
@ -483,6 +506,7 @@ paths:
- Telegrafs
summary: removes an owner from a telegraf config
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: userID
schema:
@ -510,6 +534,7 @@ paths:
- Macros
summary: get all macros
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: query
name: org
required: true
@ -539,6 +564,8 @@ paths:
summary: create a macro
tags:
- Macros
parameters:
- $ref: '#/components/parameters/TraceSpan'
requestBody:
description: macro to create
required: true
@ -565,6 +592,7 @@ paths:
- Macros
summary: delete a macro
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: macroID
required: true
@ -585,6 +613,7 @@ paths:
tags:
- Macros
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: macroID
required: true
@ -616,6 +645,7 @@ paths:
tags:
- Macros
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: macroID
required: true
@ -648,6 +678,7 @@ paths:
- Write
summary: write time-series data into influxdb
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: header
name: Content-Encoding
description: when present, its value indicates to the database that compression is applied to the line-protocol body.
@ -765,6 +796,8 @@ paths:
tags:
- Ready
summary: Get the readiness of a instance at startup. Allow us to confirm the instance is prepared to accept requests.
parameters:
- $ref: '#/components/parameters/TraceSpan'
responses:
'200':
description: the instance is ready
@ -789,6 +822,8 @@ paths:
tags:
- Health
summary: Get the health of an instance anytime during execution. Allow us to check if the instance is still healthy.
parameters:
- $ref: '#/components/parameters/TraceSpan'
responses:
'200':
description: the instance is healthy
@ -814,6 +849,7 @@ paths:
- Sources
summary: Creates a Source
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: query
name: org
description: specifies the organization of the resource
@ -845,6 +881,7 @@ paths:
- Sources
summary: Get all sources
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: query
name: org
description: specifies the organization of the resource
@ -870,6 +907,7 @@ paths:
- Sources
summary: Updates a Source
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: sourceID
schema:
@ -907,6 +945,7 @@ paths:
- Sources
summary: Get a source
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: sourceID
schema:
@ -938,6 +977,7 @@ paths:
- Sources
summary: Get a sources health
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: sourceID
schema:
@ -970,6 +1010,7 @@ paths:
- Buckets
summary: Get a sources buckets (will return dbrps in the form of buckets if it is a v1 source)
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: sourceID
schema:
@ -1007,6 +1048,7 @@ paths:
- Views
summary: A view contains information about the visual representation of data
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: query
name: org
description: specifies the organization of the resource
@ -1038,6 +1080,7 @@ paths:
- Views
summary: Get all views
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: query
name: org
description: specifies the organization of the resource
@ -1076,6 +1119,7 @@ paths:
- Views
summary: Get a single View
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: viewID
schema:
@ -1113,6 +1157,7 @@ paths:
schema:
$ref: "#/components/schemas/View"
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: viewID
schema:
@ -1143,6 +1188,7 @@ paths:
- Views
summary: Delete a view
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: viewID
schema:
@ -1170,6 +1216,7 @@ paths:
- Views
summary: list all labels for a view
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: viewID
schema:
@ -1199,6 +1246,7 @@ paths:
- Views
summary: add a label to a view
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: viewID
schema:
@ -1239,6 +1287,7 @@ paths:
- Views
summary: delete a label from a view
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: viewID
schema:
@ -1271,6 +1320,7 @@ paths:
- Views
summary: update a label from a view
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: viewID
schema:
@ -1312,6 +1362,7 @@ paths:
- Views
summary: List all view members
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: viewID
schema:
@ -1337,6 +1388,7 @@ paths:
- Views
summary: Add view member
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: viewID
schema:
@ -1370,6 +1422,7 @@ paths:
- Views
summary: removes a member from an view
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: userID
schema:
@ -1398,6 +1451,7 @@ paths:
- Views
summary: List all view owners
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: viewID
schema:
@ -1423,6 +1477,7 @@ paths:
- Views
summary: Add view owner
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: viewID
schema:
@ -1456,6 +1511,7 @@ paths:
- Views
summary: removes an owner from a view
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: userID
schema:
@ -1483,6 +1539,7 @@ paths:
- Dashboards
summary: Create a dashboard
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: query
name: org
description: specifies the organization of the resource
@ -1514,6 +1571,7 @@ paths:
- Dashboards
summary: Get all dashboards
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: query
name: owner
description: specifies the owner id to return resources for
@ -1554,6 +1612,7 @@ paths:
- Dashboards
summary: Get a single Dashboard
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: dashboardID
schema:
@ -1591,6 +1650,7 @@ paths:
schema:
$ref: "#/components/schemas/Dashboard"
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: dashboardID
schema:
@ -1621,6 +1681,7 @@ paths:
- Dashboards
summary: Delete a dashboard
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: dashboardID
schema:
@ -1656,6 +1717,7 @@ paths:
schema:
$ref: "#/components/schemas/Cells"
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: dashboardID
schema:
@ -1694,6 +1756,7 @@ paths:
schema:
$ref: "#/components/schemas/CreateCell"
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: dashboardID
schema:
@ -1733,6 +1796,7 @@ paths:
schema:
$ref: "#/components/schemas/CellUpdate"
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: dashboardID
schema:
@ -1770,6 +1834,7 @@ paths:
- Dashboards
summary: Delete a dashboard cell
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: dashboardID
schema:
@ -1803,6 +1868,7 @@ paths:
- Dashboards
summary: list all labels for a dashboard
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: dashboardID
schema:
@ -1832,6 +1898,7 @@ paths:
- Dashboards
summary: add a label to a dashboard
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: dashboardID
schema:
@ -1873,6 +1940,7 @@ paths:
- Dashboards
summary: List all dashboard members
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: dashboardID
schema:
@ -1898,6 +1966,7 @@ paths:
- Dashboards
summary: Add dashboard member
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: dashboardID
schema:
@ -1931,6 +2000,7 @@ paths:
- Dashboards
summary: removes a member from an dashboard
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: userID
schema:
@ -1959,6 +2029,7 @@ paths:
- Dashboards
summary: List all dashboard owners
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: dashboardID
schema:
@ -1984,6 +2055,7 @@ paths:
- Dashboards
summary: Add dashboard owner
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: dashboardID
schema:
@ -2017,6 +2089,7 @@ paths:
- Dashboards
summary: removes an owner from an dashboard
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: userID
schema:
@ -2044,6 +2117,7 @@ paths:
tags:
- Query
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: header
name: Content-Type
schema:
@ -2077,6 +2151,7 @@ paths:
tags:
- Query
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: header
name: Content-Type
schema:
@ -2106,6 +2181,8 @@ paths:
get:
tags:
- Query
parameters:
- $ref: '#/components/parameters/TraceSpan'
responses:
'200':
description: Suggestions for next functions in call chain
@ -2121,6 +2198,7 @@ paths:
$ref: "#/components/schemas/Error"
/query/suggestions/{name}:
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: name
schema:
@ -2149,6 +2227,7 @@ paths:
- Authorizations
summary: List all authorizations
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: query
name: userID
schema:
@ -2176,6 +2255,8 @@ paths:
tags:
- Authorizations
summary: Create an authorization
parameters:
- $ref: '#/components/parameters/TraceSpan'
requestBody:
description: authorization to create
required: true
@ -2202,6 +2283,7 @@ paths:
- Authorizations
summary: Retrieve an authorization
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: authID
schema:
@ -2233,6 +2315,7 @@ paths:
schema:
$ref: "#/components/schemas/Authorization"
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: authID
schema:
@ -2257,6 +2340,7 @@ paths:
- Authorizations
summary: Delete a authorization
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: authID
schema:
@ -2278,6 +2362,7 @@ paths:
- Query
summary: analyze an influxql or flux query
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: header
name: Content-Type
schema:
@ -2318,6 +2403,7 @@ paths:
- Query
summary: query influx with specified return formatting. The spec and query fields are mutually exclusive.
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: query
name: org
description: specifies the organization of the resource
@ -2383,6 +2469,7 @@ paths:
- Query
summary: query an influx
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: header
name: Accept
description: specifies the return content format. Each response content type will have its own dialect options.
@ -2476,6 +2563,7 @@ paths:
- Buckets
summary: List all buckets
parameters:
- $ref: '#/components/parameters/TraceSpan'
- $ref: "#/components/parameters/Offset"
- $ref: "#/components/parameters/Limit"
- in: query
@ -2511,6 +2599,7 @@ paths:
- Buckets
summary: Create a bucket
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: query
name: org
description: specifies the organization of the resource
@ -2543,6 +2632,7 @@ paths:
- Buckets
summary: Retrieve a bucket
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: bucketID
schema:
@ -2574,6 +2664,7 @@ paths:
schema:
$ref: "#/components/schemas/Bucket"
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: bucketID
schema:
@ -2598,6 +2689,7 @@ paths:
- Buckets
summary: Delete a bucket
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: bucketID
schema:
@ -2625,6 +2717,7 @@ paths:
- Buckets
summary: list all labels for a bucket
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: bucketID
schema:
@ -2654,6 +2747,7 @@ paths:
- Buckets
summary: add a label to a bucket
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: bucketID
schema:
@ -2694,6 +2788,7 @@ paths:
- Buckets
summary: delete a label from a bucket
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: bucketID
schema:
@ -2726,6 +2821,7 @@ paths:
- Buckets
summary: update a label from a bucket
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: bucketID
schema:
@ -2767,6 +2863,7 @@ paths:
- Buckets
summary: List all users with member privileges for a bucket
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: bucketID
schema:
@ -2792,6 +2889,7 @@ paths:
- Buckets
summary: Add bucket member
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: bucketID
schema:
@ -2825,6 +2923,7 @@ paths:
- Buckets
summary: removes a member from an bucket
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: userID
schema:
@ -2853,6 +2952,7 @@ paths:
- Buckets
summary: List all owners of a bucket
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: bucketID
schema:
@ -2878,6 +2978,7 @@ paths:
- Buckets
summary: Add bucket owner
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: bucketID
schema:
@ -2911,6 +3012,7 @@ paths:
- Buckets
summary: removes an owner from a bucket
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: userID
schema:
@ -2954,6 +3056,8 @@ paths:
tags:
- Organizations
summary: Create an organization
parameters:
- $ref: '#/components/parameters/TraceSpan'
requestBody:
description: organization to create
required: true
@ -2980,6 +3084,7 @@ paths:
- Organizations
summary: Retrieve an organization
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: orgID
schema:
@ -3011,6 +3116,7 @@ paths:
schema:
$ref: "#/components/schemas/Organization"
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: orgID
schema:
@ -3035,6 +3141,7 @@ paths:
- Organizations
summary: Delete an organization
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: orgID
schema:
@ -3062,6 +3169,7 @@ paths:
- Organizations
summary: list all labels for a organization
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: orgID
schema:
@ -3091,6 +3199,7 @@ paths:
- Organizations
summary: add a label to an organization
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: orgID
schema:
@ -3131,6 +3240,7 @@ paths:
- Organizations
summary: delete a label from an organization
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: orgID
schema:
@ -3163,6 +3273,7 @@ paths:
- Organizations
summary: update a label from an organization
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: orgID
schema:
@ -3204,6 +3315,7 @@ paths:
- Organizations
summary: List all secret keys for an organization
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: orgID
schema:
@ -3229,6 +3341,7 @@ paths:
- Organizations
summary: Apply patch to the provided secrets
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: orgID
schema:
@ -3258,6 +3371,7 @@ paths:
- Organizations
summary: delete provided secrets
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: orgID
schema:
@ -3287,6 +3401,7 @@ paths:
- Organizations
summary: List all members of an organization
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: orgID
schema:
@ -3312,6 +3427,7 @@ paths:
- Organizations
summary: Add organization member
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: orgID
schema:
@ -3345,6 +3461,7 @@ paths:
- Organizations
summary: removes a member from an organization
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: userID
schema:
@ -3373,6 +3490,7 @@ paths:
- Organizations
summary: List all owners of an organization
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: orgID
schema:
@ -3398,6 +3516,7 @@ paths:
- Organizations
summary: Add organization owner
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: orgID
schema:
@ -3431,6 +3550,7 @@ paths:
- Organizations
summary: removes an owner from an organization
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: userID
schema:
@ -3458,6 +3578,7 @@ paths:
- Tasks
summary: List tasks.
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: query
name: after
schema:
@ -3498,6 +3619,8 @@ paths:
tags:
- Tasks
summary: Create a new task
parameters:
- $ref: '#/components/parameters/TraceSpan'
requestBody:
description: task to create
required: true
@ -3524,6 +3647,7 @@ paths:
- Tasks
summary: Retrieve an task
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: taskID
schema:
@ -3556,6 +3680,7 @@ paths:
schema:
$ref: "#/components/schemas/Task"
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: taskID
schema:
@ -3581,6 +3706,7 @@ paths:
summary: Delete a task
description: Deletes a task and all associated records
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: taskID
schema:
@ -3602,6 +3728,7 @@ paths:
- Tasks
summary: Retrieve list of run records for a task
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: taskID
schema:
@ -3659,6 +3786,7 @@ paths:
- Tasks
summary: Retrieve a single run record for a task
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: taskID
schema:
@ -3690,6 +3818,7 @@ paths:
- Tasks
summary: Retry a task run
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: taskID
schema:
@ -3721,6 +3850,7 @@ paths:
- Tasks
summary: Retrieve all logs for a task
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: taskID
schema:
@ -3746,6 +3876,7 @@ paths:
- Tasks
summary: Retrieve all logs for a run
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: taskID
schema:
@ -3777,6 +3908,7 @@ paths:
- Tasks
summary: list all labels for a task
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: taskID
schema:
@ -3808,6 +3940,7 @@ paths:
- Tasks
summary: add a label to a task
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: taskID
schema:
@ -3850,6 +3983,7 @@ paths:
- Tasks
summary: delete a label from a task
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: taskID
schema:
@ -3882,6 +4016,7 @@ paths:
- Tasks
summary: update a label from a task
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: taskID
schema:
@ -3921,6 +4056,8 @@ paths:
tags:
- Users
summary: Returns currently authenticated user
parameters:
- $ref: '#/components/parameters/TraceSpan'
responses:
'200':
description: currently authenticated user
@ -3941,6 +4078,8 @@ paths:
summary: Update password
security:
- basicAuth: []
parameters:
- $ref: '#/components/parameters/TraceSpan'
requestBody:
description: new password
required: true
@ -3964,6 +4103,7 @@ paths:
- Tasks
summary: List all task members
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: taskID
schema:
@ -3989,6 +4129,7 @@ paths:
- Tasks
summary: Add task member
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: taskID
schema:
@ -4022,6 +4163,7 @@ paths:
- Tasks
summary: removes a member from an task
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: userID
schema:
@ -4050,6 +4192,7 @@ paths:
- Tasks
summary: List all task owners
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: taskID
schema:
@ -4075,6 +4218,7 @@ paths:
- Tasks
summary: Add task owner
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: taskID
schema:
@ -4108,6 +4252,7 @@ paths:
- Tasks
summary: removes an owner from an task
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: userID
schema:
@ -4134,6 +4279,8 @@ paths:
tags:
- Users
summary: List all users
parameters:
- $ref: '#/components/parameters/TraceSpan'
responses:
'200':
description: a list of users
@ -4177,6 +4324,7 @@ paths:
- Users
summary: Retrieve a user
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: userID
schema:
@ -4208,6 +4356,7 @@ paths:
schema:
$ref: "#/components/schemas/User"
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: userID
schema:
@ -4232,6 +4381,7 @@ paths:
- Users
summary: deletes a user
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: userID
schema:
@ -4255,6 +4405,7 @@ paths:
security:
- basicAuth: []
parameters:
- $ref: '#/components/parameters/TraceSpan'
- in: path
name: userID
schema:
@ -4312,6 +4463,18 @@ components:
required: false
schema:
type: string
TraceSpan:
in: header
name: Zap-Trace-Span
description: OpenTracing span context
example:
trace_id: '1'
span_id: '1'
baggage:
key: value
required: false
schema:
type: string
schemas:
LanguageRequest:
description: flux query to be analyzed.