summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorTimotej S <6674623+underhood@users.noreply.github.com>2022-03-09 14:08:20 +0100
committerGitHub <noreply@github.com>2022-03-09 14:08:20 +0100
commitd8aba23d0f471ccb3f0107c4aac119cf35753f94 (patch)
tree0d2d3632e4a04058912378fb90286634cedfb612 /web
parent5b8737361aac20a9887ae97b95a861d7c4f3deab (diff)
Adds more info to aclk-state API call (#12231)
Diffstat (limited to 'web')
-rw-r--r--web/api/netdata-swagger.json19
-rw-r--r--web/api/netdata-swagger.yaml18
2 files changed, 17 insertions, 20 deletions
diff --git a/web/api/netdata-swagger.json b/web/api/netdata-swagger.json
index cf2aca4c00..410ce19ced 100644
--- a/web/api/netdata-swagger.json
+++ b/web/api/netdata-swagger.json
@@ -2085,17 +2085,16 @@
"type": "boolean",
"description": "Describes whether this agent is capable of connection to the Cloud. False means agent has been built without ACLK component either on purpose (user choice) or due to missing dependency."
},
- "aclk-implementation": {
- "type": "string",
- "description": "Describes which ACLK implementation is currently used.",
- "enum": [
- "Next Generation",
- "Legacy"
- ]
+ "aclk-version": {
+ "type": "integer",
+ "description": "Describes which ACLK version is currently used."
},
- "new-cloud-protocol-supported": {
- "type": "boolean",
- "description": "Informs about new protobuf based Cloud/Agent protocol support of this agent. If false agent has to be compiled with protobuf and protoc available."
+ "protocols-supported": {
+ "type": "array",
+ "description": "List of supported protocols for communication with Cloud.",
+ "items": {
+ "type": "string"
+ }
},
"agent-claimed": {
"type": "boolean",
diff --git a/web/api/netdata-swagger.yaml b/web/api/netdata-swagger.yaml
index 7fc736b644..194e47747a 100644
--- a/web/api/netdata-swagger.yaml
+++ b/web/api/netdata-swagger.yaml
@@ -1628,16 +1628,14 @@ components:
type: string
description: Describes whether this agent is capable of connection to the Cloud.
False means agent has been built without ACLK component either on purpose (user choice) or due to missing dependency.
- aclk-implementation:
- type: string
- description: Describes which ACLK implementation is currently used.
- enum:
- - Next Generation
- - Legacy
- new-cloud-protocol-supported:
- type: boolean
- description: Informs about new protobuf based Cloud/Agent protocol support of this agent.
- If false agent has to be compiled with protobuf and protoc available.
+ aclk-version:
+ type: integer
+ description: Describes which ACLK version is currently used.
+ protocols-supported:
+ type: array
+ description: List of supported protocols for communication with Cloud.
+ items:
+ type: string
agent-claimed:
type: boolean
description: Informs whether this agent has been added to a space in the cloud (User has to perform claiming).