getDeployApplicationsByNameSyncwindowsWithHttpInfo method
Returns one application's argocd ApplicationSyncWindowState — the answer to "is anything blocking a sync of this application right now?".
Returns one application's argocd ApplicationSyncWindowState — the answer to "is anything blocking a sync of this application right now?". This platform runs NO sync windows, so the answer is always the permissive empty one: canSync true, with no active and no assigned windows. The application is still resolved first, so a name that is not the caller's is not found rather than handed the static body — the endpoint discloses nothing about another tenant's fleet.
Note: This method returns the HTTP Response.
Parameters:
- String name (required): Name is the application to read, from the path. It must be a DNS-1123 label (lowercase alphanumerics and hyphens, starting and ending alphanumeric) — every operator App CR's metadata.name satisfies that, and anything else is a 400 rather than a lookup.
Implementation
Future<Response> getDeployApplicationsByNameSyncwindowsWithHttpInfo(String name,) async {
// ignore: prefer_const_declarations
final path = r'/v1/deploy/applications/{name}/syncwindows'
.replaceAll('{name}', name);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}