Hanzo
OpenapiDeploy

Returns one application's argocd ApplicationSyncWindowState — the answer to "is…

Returns one application's argocd ApplicationSyncWindowState — the answer to "is anything blocking a sync of this application right now?".

GET /v1/deploy/applications/{name}/syncwindows

Addresshttps://api.hanzo.ai/v1/deploy/applications/{name}/syncwindows
MethodGET
Operationget_deploy_applications_by_name_syncwindows
AuthAuthorization: Bearer $HANZO_API_KEY

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.

Request

1 field.

FieldInTypeRequiredDescription
namepathstringyesName is the application to read, from the path.

Response

StatusBodyMeaning
200argoSyncWindowsok

200 body — 3 fields.

FieldInTypeAlwaysDescription
activeWindowsbodyobject[]ActiveWindows are the sync windows in force right now.
assignedWindowsbodyobject[]AssignedWindows are the windows configured for this application at all, whether or not currently in force.
canSyncbodybooleanCanSync is whether a sync would be permitted at this moment. Always true — with no windows there is nothing to deny it.

Failure carries the platform error shape — see Errors.

Examples

hanzo deploy applications syncwindows <name>

Deploy API · All Hanzo APIs · Interactive reference

How is this guide?

On this page