Harness · Schema

ApplicationSyncRequest is a request to apply the config state to live state

DevOpsGitOpsInternal Developer PortalLifecycleSoftware DeliveryCI/CDContinuous DeliveryContinuous Integration

Properties

Name Type Description
name string
revision string
dryRun boolean
prune boolean
strategy object
resources array
manifests array
infos array
retryStrategy object
syncOptions object
appNamespace string
project string
sourcePositions array
revisions array
View JSON Schema on GitHub

JSON Schema

harness-applications-application-sync-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-applications-application-sync-request-schema.json",
  "title": "ApplicationSyncRequest is a request to apply the config state to live state",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/harness-applications-api-openapi.yml#/components/schemas/applicationsApplicationSyncRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "revision": {
      "type": "string"
    },
    "dryRun": {
      "type": "boolean"
    },
    "prune": {
      "type": "boolean"
    },
    "strategy": {
      "$ref": "#/$defs/applicationsSyncStrategy"
    },
    "resources": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/applicationsSyncOperationResource"
      }
    },
    "manifests": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "infos": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/applicationsInfo"
      }
    },
    "retryStrategy": {
      "$ref": "#/$defs/applicationsRetryStrategy"
    },
    "syncOptions": {
      "$ref": "#/$defs/applicationsSyncOptions"
    },
    "appNamespace": {
      "type": "string"
    },
    "project": {
      "type": "string"
    },
    "sourcePositions": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "int64"
      }
    },
    "revisions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "$defs": {
    "applicationsBackoff": {
      "type": "object",
      "properties": {
        "duration": {
          "type": "string",
          "title": "Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. \"2m\", \"1h\")"
        },
        "factor": {
          "type": "string",
          "format": "int64",
          "title": "Factor is a factor to multiply the base duration after each failed retry"
        },
        "maxDuration": {
          "type": "string",
          "title": "MaxDuration is the maximum amount of time allowed for the backoff strategy"
        }
      },
      "title": "Backoff is the backoff strategy to use on subsequent retries for failing syncs"
    },
    "applicationsInfo": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      }
    },
    "applicationsRetryStrategy": {
      "type": "object",
      "properties": {
        "limit": {
          "type": "string",
          "format": "int64",
          "description": "Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed."
        },
        "backoff": {
          "$ref": "#/$defs/applicationsBackoff"
        },
        "refresh": {
          "type": "boolean",
          "title": "Refresh indicates if the latest revision should be used on retry instead of the initial one (default: false)"
        }
      },
      "title": "RetryStrategy contains information about the strategy to apply when a sync failed"
    },
    "applicationsSyncOperationResource": {
      "type": "object",
      "properties": {
        "group": {
          "type": "string"
        },
        "kind": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "namespace": {
          "type": "string"
        }
      },
      "description": "SyncOperationResource contains resources to sync."
    },
    "applicationsSyncOptions": {
      "type": "object",
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "applicationsSyncStrategy": {
      "type": "object",
      "properties": {
        "apply": {
          "$ref": "#/$defs/applicationsSyncStrategyApply"
        },
        "hook": {
          "$ref": "#/$defs/applicationsSyncStrategyHook"
        }
      },
      "title": "SyncStrategy controls the manner in which a sync is performed"
    },
    "applicationsSyncStrategyApply": {
      "type": "object",
      "properties": {
        "force": {
          "type": "boolean",
          "description": "Force indicates whether or not to supply the --force flag to `kubectl apply`.\nThe --force flag deletes and re-create the resource, when PATCH encounters conflict and has\nretried for 5 times."
        }
      },
      "title": "SyncStrategyApply uses `kubectl apply` to perform the apply"
    },
    "applicationsSyncStrategyHook": {
      "type": "object",
      "properties": {
        "force": {
          "type": "boolean",
          "title": "Embed SyncStrategyApply type to inherit any `apply` options\n+"
        }
      },
      "description": "SyncStrategyHook will perform a sync using hooks annotations.\nIf no hook annotation is specified falls back to `kubectl apply`."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/harness-applications-application-sync-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.