Argo · Schema

SyncRequest

Request body for triggering an application sync operation.

CNCFCI/CDGitOpsKubernetesOpen-SourceProgressive DeliveryWorkflow Engine

Properties

Name Type Description
revision string Specific Git revision to sync to. Defaults to the current target revision.
dryRun boolean Preview sync without applying changes.
prune boolean Delete resources no longer defined in the source.
strategy object Sync strategy configuration.
resources array Specific resources to sync (partial sync).
View JSON Schema on GitHub

JSON Schema

argo-cd-sync-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo/refs/heads/main/json-schema/argo-cd-sync-request-schema.json",
  "title": "SyncRequest",
  "description": "Request body for triggering an application sync operation.",
  "type": "object",
  "properties": {
    "revision": {
      "type": "string",
      "description": "Specific Git revision to sync to. Defaults to the current target revision."
    },
    "dryRun": {
      "type": "boolean",
      "description": "Preview sync without applying changes."
    },
    "prune": {
      "type": "boolean",
      "description": "Delete resources no longer defined in the source."
    },
    "strategy": {
      "type": "object",
      "description": "Sync strategy configuration.",
      "properties": {
        "apply": {
          "type": "object",
          "description": "Use kubectl apply sync strategy.",
          "properties": {
            "force": {
              "type": "boolean",
              "description": "Force resource updates through delete and recreate."
            }
          }
        },
        "hook": {
          "type": "object",
          "description": "Use hook-based sync strategy.",
          "properties": {
            "force": {
              "type": "boolean",
              "description": "Force resource updates."
            }
          }
        }
      }
    },
    "resources": {
      "type": "array",
      "description": "Specific resources to sync (partial sync).",
      "items": {
        "type": "object",
        "properties": {
          "group": {
            "type": "string",
            "description": "Kubernetes API group."
          },
          "kind": {
            "type": "string",
            "description": "Resource kind."
          },
          "name": {
            "type": "string",
            "description": "Resource name."
          },
          "namespace": {
            "type": "string",
            "description": "Resource namespace."
          }
        }
      }
    }
  }
}

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/argo-cd-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.