# List application sync status ListAppSync returns a list of application sync status Endpoint: POST /gitops/api/v1/applications/sync Version: 1.0 Security: x-api-key ## Request fields (application/json): - `accountIdentifier` (string) Account Identifier for the Entity. - `projectIdentifier` (string) Project Identifier for the Entity. - `orgIdentifier` (string) Organization Identifier for the Entity. - `agentIdentifier` (string) Agent identifier for entity. - `applicationName` (string) - `searchTerm` (string) - `pageSize` (integer) - `pageIndex` (integer) - `endTime` (integer) - `startTime` (integer) - `operationPhase` (array) Enum: "OPERATION_PHASE_UNSET", "RUNNING", "FAILED", "SUCCEEDED" - `serviceRef` (string) - `envRef` (string) ## Response 200 fields (application/json): - `content` (array) - `content.accountIdentifier` (string) Account Identifier for the Entity. - `content.projectIdentifier` (string) Project Identifier for the Entity. - `content.orgIdentifier` (string) Organization Identifier for the Entity. - `content.agentIdentifier` (string) Agent identifier for entity. - `content.applicationName` (string) - `content.syncStatus` (object) - `content.syncStatus.status` (string) - `content.syncStatus.comparedTo` (object) - `content.syncStatus.comparedTo.source` (object) - `content.syncStatus.comparedTo.source.repoURL` (string) - `content.syncStatus.comparedTo.source.path` (string) Path is a directory path within the Git repository, and is only valid for applications sourced from Git. - `content.syncStatus.comparedTo.source.targetRevision` (string) TargetRevision defines the revision of the source to sync the application to. In case of Git, this can be commit, tag, or branch. If omitted, will equal to HEAD. In case of Helm, this is a semver tag for the Chart's version. - `content.syncStatus.comparedTo.source.helm` (object) - `content.syncStatus.comparedTo.source.helm.valueFiles` (array) - `content.syncStatus.comparedTo.source.helm.parameters` (array) - `content.syncStatus.comparedTo.source.helm.parameters.name` (string) - `content.syncStatus.comparedTo.source.helm.parameters.value` (string) - `content.syncStatus.comparedTo.source.helm.parameters.forceString` (boolean) - `content.syncStatus.comparedTo.source.helm.releaseName` (string) - `content.syncStatus.comparedTo.source.helm.values` (string) - `content.syncStatus.comparedTo.source.helm.fileParameters` (array) - `content.syncStatus.comparedTo.source.helm.fileParameters.path` (string) - `content.syncStatus.comparedTo.source.helm.version` (string) - `content.syncStatus.comparedTo.source.helm.passCredentials` (boolean) - `content.syncStatus.comparedTo.source.helm.ignoreMissingValueFiles` (boolean) - `content.syncStatus.comparedTo.source.helm.skipCrds` (boolean) - `content.syncStatus.comparedTo.source.helm.valuesObject` (object) - `content.syncStatus.comparedTo.source.helm.namespace` (string) Namespace is an optional namespace to template with. If left empty, defaults to the app's destination namespace. - `content.syncStatus.comparedTo.source.helm.kubeVersion` (string) KubeVersion specifies the Kubernetes API version to pass to Helm when templating manifests. By default, Argo CD uses the Kubernetes version of the target cluster. - `content.syncStatus.comparedTo.source.helm.apiVersions` (array) APIVersions specifies the Kubernetes resource API versions to pass to Helm when templating manifests. By default, Argo CD uses the API versions of the target cluster. The format is [group/]version/kind. - `content.syncStatus.comparedTo.source.helm.skipTests` (boolean) SkipTests skips test manifest installation step (Helm's --skip-tests). - `content.syncStatus.comparedTo.source.helm.skipSchemaValidation` (boolean) - `content.syncStatus.comparedTo.source.kustomize` (object) - `content.syncStatus.comparedTo.source.kustomize.namePrefix` (string) - `content.syncStatus.comparedTo.source.kustomize.nameSuffix` (string) - `content.syncStatus.comparedTo.source.kustomize.images` (array) - `content.syncStatus.comparedTo.source.kustomize.commonLabels` (object) - `content.syncStatus.comparedTo.source.kustomize.commonAnnotations` (object) - `content.syncStatus.comparedTo.source.kustomize.forceCommonLabels` (boolean) - `content.syncStatus.comparedTo.source.kustomize.forceCommonAnnotations` (boolean) - `content.syncStatus.comparedTo.source.kustomize.namespace` (string) - `content.syncStatus.comparedTo.source.kustomize.replicas` (array) - `content.syncStatus.comparedTo.source.kustomize.replicas.count` (string) - `content.syncStatus.comparedTo.source.kustomize.patches` (array) - `content.syncStatus.comparedTo.source.kustomize.patches.patch` (string) - `content.syncStatus.comparedTo.source.kustomize.patches.target` (object) - `content.syncStatus.comparedTo.source.kustomize.patches.target.resId` (object) - `content.syncStatus.comparedTo.source.kustomize.patches.target.resId.gvk` (object) - `content.syncStatus.comparedTo.source.kustomize.patches.target.resId.gvk.group` (string) - `content.syncStatus.comparedTo.source.kustomize.patches.target.resId.gvk.kind` (string) - `content.syncStatus.comparedTo.source.kustomize.patches.target.annotationSelector` (string) - `content.syncStatus.comparedTo.source.kustomize.patches.target.labelSelector` (string) - `content.syncStatus.comparedTo.source.kustomize.patches.options` (object) - `content.syncStatus.comparedTo.source.kustomize.components` (array) - `content.syncStatus.comparedTo.source.kustomize.labelWithoutSelector` (boolean) - `content.syncStatus.comparedTo.source.ksonnet` (object) - `content.syncStatus.comparedTo.source.ksonnet.environment` (string) - `content.syncStatus.comparedTo.source.directory` (object) - `content.syncStatus.comparedTo.source.directory.recurse` (boolean) - `content.syncStatus.comparedTo.source.directory.jsonnet` (object) - `content.syncStatus.comparedTo.source.directory.jsonnet.extVars` (array) - `content.syncStatus.comparedTo.source.directory.jsonnet.extVars.code` (boolean) - `content.syncStatus.comparedTo.source.directory.jsonnet.tlas` (array) - `content.syncStatus.comparedTo.source.directory.jsonnet.libs` (array) - `content.syncStatus.comparedTo.source.directory.exclude` (string) - `content.syncStatus.comparedTo.source.directory.include` (string) - `content.syncStatus.comparedTo.source.plugin` (object) - `content.syncStatus.comparedTo.source.plugin.env` (array) - `content.syncStatus.comparedTo.source.chart` (string) Chart is a Helm chart name, and must be specified for applications sourced from a Helm repo. - `content.syncStatus.comparedTo.source.ref` (string) Ref is reference to another source within sources field. This field will not be used if used with a tag. - `content.syncStatus.comparedTo.source.name` (string) Name is used to refer to a source and is displayed in the UI. It is used in multi-source Applications. - `content.syncStatus.comparedTo.destination` (object) - `content.syncStatus.comparedTo.destination.server` (string) - `content.syncStatus.comparedTo.sources` (array) - `content.syncStatus.comparedTo.ignoreDifferences` (array) - `content.syncStatus.comparedTo.ignoreDifferences.jsonPointers` (array) - `content.syncStatus.comparedTo.ignoreDifferences.jqPathExpressions` (array) - `content.syncStatus.comparedTo.ignoreDifferences.managedFieldsManagers` (array) - `content.syncStatus.revision` (string) - `content.syncStatus.revisions` (array) - `content.createdAt` (string) - `content.lastModifiedAt` (string) - `content.operationState` (object) - `content.operationState.operation` (object) - `content.operationState.operation.sync` (object) SyncOperation contains details about a sync operation. - `content.operationState.operation.sync.revision` (string) Revision is the revision (Git) or chart version (Helm) which to sync the application to If omitted, will use the revision specified in app spec. - `content.operationState.operation.sync.prune` (boolean) - `content.operationState.operation.sync.dryRun` (boolean) - `content.operationState.operation.sync.syncStrategy` (object) - `content.operationState.operation.sync.syncStrategy.apply` (object) - `content.operationState.operation.sync.syncStrategy.apply.force` (boolean) Force indicates whether or not to supply the --force flag to . The --force flag deletes and re-create the resource, when PATCH encounters conflict and has retried for 5 times. - `content.operationState.operation.sync.syncStrategy.hook` (object) SyncStrategyHook will perform a sync using hooks annotations. If no hook annotation is specified falls back to . - `content.operationState.operation.sync.syncStrategy.hook.force` (boolean) - `content.operationState.operation.sync.resources` (array) - `content.operationState.operation.sync.manifests` (array) - `content.operationState.operation.sync.syncOptions` (array) - `content.operationState.operation.sync.revisions` (array) Revisions is the list of revision (Git) or chart version (Helm) which to sync each source in sources field for the application to If omitted, will use the revision specified in app spec. - `content.operationState.operation.sync.autoHealAttemptsCount` (string) - `content.operationState.operation.initiatedBy` (object) - `content.operationState.operation.initiatedBy.username` (string) - `content.operationState.operation.initiatedBy.automated` (boolean) Automated is set to true if operation was initiated automatically by the application controller. - `content.operationState.operation.info` (array) - `content.operationState.operation.retry` (object) - `content.operationState.operation.retry.limit` (string) Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed. - `content.operationState.operation.retry.backoff` (object) - `content.operationState.operation.retry.backoff.duration` (string) - `content.operationState.operation.retry.backoff.factor` (string) - `content.operationState.operation.retry.backoff.maxDuration` (string) - `content.operationState.phase` (string) - `content.operationState.message` (string) Message holds any pertinent messages when attempting to perform operation (typically errors). - `content.operationState.syncResult` (object) - `content.operationState.syncResult.managedNamespaceMetadata` (object) - `content.operationState.syncResult.managedNamespaceMetadata.labels` (object) - `content.operationState.syncResult.managedNamespaceMetadata.annotations` (object) - `content.operationState.startedAt` (object) Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. +protobuf.options.marshal=false +protobuf.as=Timestamp +protobuf.options.(gogoproto.goproto_stringer)=false - `content.operationState.startedAt.seconds` (string) Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. - `content.operationState.startedAt.nanos` (integer) Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context. - `content.operationState.finishedAt` (object) Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. +protobuf.options.marshal=false +protobuf.as=Timestamp +protobuf.options.(gogoproto.goproto_stringer)=false - `content.operationState.retryCount` (string) - `content.operationState.startedAtTs` (string) - `content.operationState.finishedAtTs` (string) - `content.reqIdentifier` (string) - `content.lastKnownRevisionId` (string) - `content.syncedBy` (object) - `content.syncedBy.id` (string) - `content.syncedBy.email` (string) - `content.autoSyncCount` (integer) - `content.serviceRef` (string) - `content.envRef` (string) - `totalPages` (integer) - `totalItems` (integer) - `pageItemCount` (integer) - `pageSize` (integer) - `pageIndex` (integer) - `empty` (boolean) ## Response default fields (application/json): - `error` (string) - `code` (integer) - `message` (string) - `details` (array) - `details.type_url` (string) A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in ). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme , , or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. As of May 2023, there are no widely used type server implementations and no plans to implement one. Schemes other than , (or the empty scheme) might be used with implementation specific semantics. - `details.value` (string) Must be a valid serialized protocol buffer of the above specified type.