{
  "opencollection": "1.0.0",
  "info": {
    "name": "Argo CD Applications API",
    "version": "v2.x"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Applications",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Argo CD Argo List Applications",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost/api/v1/applications",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "query",
                "description": "Filter by project name."
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Filter applications by name."
              },
              {
                "name": "namespace",
                "value": "",
                "type": "query",
                "description": "Filter applications by destination namespace."
              },
              {
                "name": "appNamespace",
                "value": "",
                "type": "query",
                "description": "The application namespace to filter by."
              }
            ]
          },
          "docs": "Returns a list of all Argo CD applications, optionally filtered by project, namespace, or name. Each application includes its current sync status, health status, source configuration, and destination cluster details."
        },
        {
          "info": {
            "name": "Argo CD Argo Create an Application",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost/api/v1/applications",
            "params": [
              {
                "name": "upsert",
                "value": "",
                "type": "query",
                "description": "If true, perform an upsert rather than a create, updating the application if it already exists."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new Argo CD application from the provided Application manifest. The application must reference a valid project, source repository, and destination cluster. Optionally upsert to update an existing application with the same name."
        },
        {
          "info": {
            "name": "Argo CD Argo Get an Application",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost/api/v1/applications/:name",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the Argo CD application."
              },
              {
                "name": "appNamespace",
                "value": "",
                "type": "query",
                "description": "Application namespace."
              }
            ]
          },
          "docs": "Returns the full specification and current status of a named Argo CD application, including sync status, health status, resource tree, and operation state."
        },
        {
          "info": {
            "name": "Argo CD Argo Update an Application",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://localhost/api/v1/applications/:name",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the Argo CD application."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Replaces the specification of an existing Argo CD application with the provided manifest. Used to update source, destination, sync policy, or other application configuration."
        },
        {
          "info": {
            "name": "Argo CD Argo Delete an Application",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://localhost/api/v1/applications/:name",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the Argo CD application."
              },
              {
                "name": "cascade",
                "value": "",
                "type": "query",
                "description": "Cascade deletion to managed Kubernetes resources."
              },
              {
                "name": "propagationPolicy",
                "value": "",
                "type": "query",
                "description": "Kubernetes resource deletion propagation policy (foreground, background, orphan)."
              }
            ]
          },
          "docs": "Deletes the named Argo CD application. Optionally cascades deletion to all managed Kubernetes resources in the destination cluster."
        },
        {
          "info": {
            "name": "Argo CD Argo Sync an Application",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost/api/v1/applications/:name/sync",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the Argo CD application."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Triggers a synchronization of the named Argo CD application, reconciling the live Kubernetes state with the desired state from the Git source. Supports selective resource sync, dry-run mode, force sync, and prune of removed resources."
        },
        {
          "info": {
            "name": "Argo CD Argo Rollback an Application",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost/api/v1/applications/:name/rollback",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the Argo CD application."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Rolls back the named application to a previous deployed revision. Requires the ID of a history entry from the application's deployment history."
        }
      ]
    }
  ],
  "bundled": true
}