From 34e77ba2fcc7accbea766787b425185e96b2ba24 Mon Sep 17 00:00:00 2001 From: nook24 Date: Mon, 17 Apr 2023 12:51:09 +0200 Subject: [PATCH 1/2] ITC-2879 Add agent_uuid field to API docs --- external/agent.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/external/agent.yaml b/external/agent.yaml index ebe3a9c..4ddc067 100644 --- a/external/agent.yaml +++ b/external/agent.yaml @@ -397,6 +397,9 @@ components: id: type: "integer" example: 2 + agent_uuid: + type: "string" + example: "089badce-d2ff-4f34-8063-1138b713b186" host_id: type: "string" example: "18" @@ -683,6 +686,9 @@ components: name: type: "string" example: "agent (127.0.0.1)" + agent_uuid: + type: "string" + example: "089badce-d2ff-4f34-8063-1138b713b186" selectedPushAgentId: type: "string" example: 2 From a64b16cb115e0a33e939756b05aee5f203875b64 Mon Sep 17 00:00:00 2001 From: nook24 Date: Mon, 17 Apr 2023 13:08:45 +0200 Subject: [PATCH 2/2] ITC-2879 Add agent_uuid to API Docs --- external/agent.yaml | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/external/agent.yaml b/external/agent.yaml index 4ddc067..1b4809f 100644 --- a/external/agent.yaml +++ b/external/agent.yaml @@ -678,19 +678,21 @@ components: type: "integer" example: "2021-10-18T06:46:30+00:00" pushAgents: - type: "object" - properties: - id: - type: "integer" - example: 2 - name: - type: "string" - example: "agent (127.0.0.1)" - agent_uuid: - type: "string" - example: "089badce-d2ff-4f34-8063-1138b713b186" + type: array + items: + type: "object" + properties: + id: + type: "integer" + example: 2 + name: + type: "string" + example: "agent (127.0.0.1)" + agent_uuid: + type: "string" + example: "089badce-d2ff-4f34-8063-1138b713b186" selectedPushAgentId: - type: "string" + type: "integer" example: 2 getAgentInstallResponse: