From b107d10bb0d8733e0452174c0906b304149d8b53 Mon Sep 17 00:00:00 2001 From: Thodoris Greasidis Date: Mon, 14 Oct 2024 16:44:38 +0300 Subject: [PATCH 1/2] API/resources: Add an example for retrieving the fleets of a specific organization Change-type: minor --- config/dictionaries/resource.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/dictionaries/resource.json b/config/dictionaries/resource.json index 34f5409952..9a5280d14a 100644 --- a/config/dictionaries/resource.json +++ b/config/dictionaries/resource.json @@ -23,6 +23,14 @@ "created_at" ], "examples": [ + { + "id": "get-all-apps-of-org-by-handle", + "summary": "Get all fleets of an organization by its HANDLE", + "description": "", + "method": "GET", + "endpoint": "/v6/application", + "filters": "?\\$filter=organization/any(o:o/handle%20eq%20%27%27)" + }, { "id": "get-all-apps", "summary": "Get all fleets", From 9d553dc8bbe55296663644ba8505874eefe33c5a Mon Sep 17 00:00:00 2001 From: Thodoris Greasidis Date: Mon, 14 Oct 2024 16:45:45 +0300 Subject: [PATCH 2/2] API/resources: Add a note that "Get all fleets" will also include public fleets Change-type: patch --- config/dictionaries/resource.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/dictionaries/resource.json b/config/dictionaries/resource.json index 9a5280d14a..b28de879af 100644 --- a/config/dictionaries/resource.json +++ b/config/dictionaries/resource.json @@ -34,7 +34,7 @@ { "id": "get-all-apps", "summary": "Get all fleets", - "description": "", + "description": "Note: This will also include all public fleets of the platform. In most cases retrieving the fleets by their organization will be preferable.", "method": "GET", "endpoint": "/v6/application", "filters": ""