Clusters
Preview

List the Argo CD destinations linked to Wardn clusters

Argo CD names the clusters it deploys to by its own cluster secrets, which Wardn never reads. A destination whose name is a Wardn cluster's name is matched to it by itself; a link is a person's statement for the rest: this destination of this cluster's Argo CD is that Wardn cluster. A link wins over

GET
/clusters/{clusterId}/import-links
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

clusterId*string
Formatuuid

Response Body

The links of this cluster's Argo CD destinations.

application/json
  1. response
items*array<>
Example Request
curl -X GET 'https://wardn.example.com/api/v1/clusters/497f6eca-6276-4993-bfeb-53cbbbba6f08/import-links'
Example Response
{  "items": [    {      "destination": "string",      "spokeClusterId": "string",      "spokeName": "string",      "setBy": "string",      "setAt": "2019-08-24T14:15:22Z"    }  ]}