Skip to content

Commit

Permalink
Merge pull request #3088 from balena-io/fleets-by-org
Browse files Browse the repository at this point in the history
API/resources: Add an example for retrieving the fleets of a specific organization
  • Loading branch information
flowzone-app[bot] authored Oct 14, 2024
2 parents 35bdc6f + 9d553dc commit 2c513fb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion config/dictionaries/resource.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,18 @@
"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<ORG_HANDLE>%27)"
},
{
"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": ""
Expand Down

0 comments on commit 2c513fb

Please sign in to comment.