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
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
clusterId*stringuuidThe links of this cluster's Argo CD destinations.
application/json- response
items*array<>curl -X GET 'https://wardn.example.com/api/v1/clusters/497f6eca-6276-4993-bfeb-53cbbbba6f08/import-links'{ "items": [ { "destination": "string", "spokeClusterId": "string", "spokeName": "string", "setBy": "string", "setAt": "2019-08-24T14:15:22Z" } ]}Ask a cluster's operator to scan for Argo CD and Flux again POST
"Check again": the cluster's operator looks for Argo CD and Flux, reading only, and reports what they manage; the result replaces what earlier scans found. Answers at once with the scan under way; the result arrives as a live update and in `getClusterImportScan`. A scan already under way answers the
Remove the link of an Argo CD destination DELETE
Removes the link of the destination in the query; one that has none is not an error. Apps that were mapped by it wait for their cluster again at the next scan, which this asks for. Needs `import:manage` on this cluster. Recorded in Activity as `import.link_removed`.