summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@netdata.cloud>2022-07-15 02:25:34 +0300
committerCosta Tsaousis <costa@netdata.cloud>2022-07-15 02:25:34 +0300
commit2e67e2abcfeb34d776e058fd1c11c52b271bee2d (patch)
treec41b2e2ce01f3efee6d98e0b8fbf46f2b36da9cb
parentb00d05a98568d8200d33e8f98c4f4c6fe04b9777 (diff)
fixed identation of yaml
-rw-r--r--web/api/netdata-swagger.yaml84
1 files changed, 42 insertions, 42 deletions
diff --git a/web/api/netdata-swagger.yaml b/web/api/netdata-swagger.yaml
index 72e805c1e3..771fc93aec 100644
--- a/web/api/netdata-swagger.yaml
+++ b/web/api/netdata-swagger.yaml
@@ -99,50 +99,50 @@ paths:
schema:
$ref: "#/components/schemas/context_summary"
/context:
- get:
- summary: Get info about a specific context
- description: The context endpoint returns detailed information about a given context.
- parameters:
- - name: context
- in: query
- description: The id of the context as returned by the /contexts call.
- required: true
- schema:
+ get:
+ summary: Get info about a specific context
+ description: The context endpoint returns detailed information about a given context.
+ parameters:
+ - name: context
+ in: query
+ description: The id of the context as returned by the /contexts call.
+ required: true
+ schema:
+ type: string
+ format: as returned by /contexts
+ default: system.cpu
+ - name: options
+ in: query
+ description: Options that affect data generation.
+ required: false
+ allowEmptyValue: true
+ schema:
+ type: array
+ items:
type: string
- format: as returned by /contexts
- default: system.cpu
- - name: options
- in: query
- description: Options that affect data generation.
- required: false
- allowEmptyValue: true
- schema:
- type: array
- items:
- type: string
- enum:
- - full
- - all
- - charts
- - dimensions
- - labels
- - queue
- - flags
- - deleted
- - deepscan
- default:
+ enum:
- full
- responses:
- "200":
- description: A javascript object with detailed information about the context.
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/context"
- "400":
- description: No context id was supplied in the request.
- "404":
- description: No context with the given id is found.
+ - all
+ - charts
+ - dimensions
+ - labels
+ - queue
+ - flags
+ - deleted
+ - deepscan
+ default:
+ - full
+ responses:
+ "200":
+ description: A javascript object with detailed information about the context.
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/context"
+ "400":
+ description: No context id was supplied in the request.
+ "404":
+ description: No context with the given id is found.
/alarm_variables:
get:
summary: List variables available to configure alarms for a chart