Argo CD · Capability

Argo CD — ApplicationService

Argo CD — ApplicationService. 32 operations. Lead operation: Argo CD List Returns List of Applications. Self-contained Naftiko capability covering one Argo Cd business surface.

Run with Naftiko Argo CdApplicationService

What You Can Do

GET
Applicationservicelist — Argo CD List Returns List of Applications
/v1/api/v1/applications
POST
Applicationservicecreate — Argo CD Create Creates an Application
/v1/api/v1/applications
POST
Applicationservicegetmanifestswithfiles — Argo CD GetManifestsWithFiles Returns Application Manifests Using Provided Files to Generate Them
/v1/api/v1/applications/manifestswithfiles
GET
Applicationserviceserversidediff — Argo CD ServerSideDiff Performs Server-side Diff Calculation Using Dry-run Apply
/v1/api/v1/applications/{appname}/server-side-diff
PUT
Applicationserviceupdate — Argo CD Update Updates an Application
/v1/api/v1/applications/{application-metadata-name}
GET
Applicationservicemanagedresources — Argo CD ManagedResources Returns List of Managed Resources
/v1/api/v1/applications/{applicationname}/managed-resources
GET
Applicationserviceresourcetree — Argo CD ResourceTree Returns Resource Tree
/v1/api/v1/applications/{applicationname}/resource-tree
GET
Applicationserviceget — Argo CD Get Returns an Application by Name
/v1/api/v1/applications/{name}
DELETE
Applicationservicedelete — Argo CD Delete Deletes an Application
/v1/api/v1/applications/{name}
PATCH
Applicationservicepatch — Argo CD Patch Patch an Application
/v1/api/v1/applications/{name}
GET
Applicationservicelistresourceevents — Argo CD ListResourceEvents Returns a List of Event Resources
/v1/api/v1/applications/{name}/events
GET
Applicationservicelistlinks — Argo CD ListLinks Returns the List of All Application Deep Links
/v1/api/v1/applications/{name}/links
GET
Applicationservicepodlogs2 — Argo CD PodLogs Returns Stream of Log Entries for the Specified Pod. Pod
/v1/api/v1/applications/{name}/logs
GET
Applicationservicegetmanifests — Argo CD GetManifests Returns Application Manifests
/v1/api/v1/applications/{name}/manifests
DELETE
Applicationserviceterminateoperation — Argo CD TerminateOperation Terminates the Currently Running Operation
/v1/api/v1/applications/{name}/operation
GET
Applicationservicepodlogs — Argo CD PodLogs Returns Stream of Log Entries for the Specified Pod. Pod
/v1/api/v1/applications/{name}/pods/{podname}/logs
GET
Applicationservicegetresource — Argo CD GetResource Returns Single Application Resource
/v1/api/v1/applications/{name}/resource
POST
Applicationservicepatchresource — Argo CD PatchResource Patch Single Application Resource
/v1/api/v1/applications/{name}/resource
DELETE
Applicationservicedeleteresource — Argo CD DeleteResource Deletes a Single Application Resource
/v1/api/v1/applications/{name}/resource
GET
Applicationservicelistresourceactions — Argo CD ListResourceActions Returns List of Resource Actions
/v1/api/v1/applications/{name}/resource/actions
POST
Applicationservicerunresourceaction — Argo CD RunResourceAction Runs a Resource Action
/v1/api/v1/applications/{name}/resource/actions
POST
Applicationservicerunresourceactionv2 — Argo CD RunResourceActionV2 Runs a Resource Action with Parameters
/v1/api/v1/applications/{name}/resource/actions/v2
GET
Applicationservicelistresourcelinks — Argo CD ListResourceLinks Returns the List of All Resource Deep Links
/v1/api/v1/applications/{name}/resource/links
GET
Applicationservicerevisionchartdetails — Argo CD Get the Chart Metadata (description, Maintainers, Home) for a Specific Revision of the Application
/v1/api/v1/applications/{name}/revisions/{revision}/chartdetails
GET
Applicationservicerevisionmetadata — Argo CD Get the Meta-data (author, Date, Tags, Message) for a Specific Revision of the Application
/v1/api/v1/applications/{name}/revisions/{revision}/metadata
GET
Applicationservicegetocimetadata — Argo CD Get the Chart Metadata (description, Maintainers, Home) for a Specific Revision of the Application
/v1/api/v1/applications/{name}/revisions/{revision}/ocimetadata
POST
Applicationservicerollback — Argo CD Rollback Syncs an Application to its Target State
/v1/api/v1/applications/{name}/rollback
PUT
Applicationserviceupdatespec — Argo CD UpdateSpec Updates an Application Spec
/v1/api/v1/applications/{name}/spec
POST
Applicationservicesync — Argo CD Sync Syncs an Application to its Target State
/v1/api/v1/applications/{name}/sync
GET
Applicationservicegetapplicationsyncwindows — Argo CD Get Returns Sync Windows of the Application
/v1/api/v1/applications/{name}/syncwindows
GET
Applicationservicewatch — Argo CD Watch Returns Stream of Application Change Events
/v1/api/v1/stream/applications
GET
Applicationservicewatchresourcetree — Argo CD Watch Returns Stream of Application Resource Tree
/v1/api/v1/stream/applications/{applicationname}/resource-tree

MCP Tools

argo-cd-list-returns-list

Argo CD List Returns List of Applications

read-only idempotent
argo-cd-create-creates-application

Argo CD Create Creates an Application

argo-cd-getmanifestswithfiles-returns-application

Argo CD GetManifestsWithFiles Returns Application Manifests Using Provided Files to Generate Them

argo-cd-serversidediff-performs-server

Argo CD ServerSideDiff Performs Server-side Diff Calculation Using Dry-run Apply

read-only idempotent
argo-cd-update-updates-application

Argo CD Update Updates an Application

idempotent
argo-cd-managedresources-returns-list

Argo CD ManagedResources Returns List of Managed Resources

read-only idempotent
argo-cd-resourcetree-returns-resource

Argo CD ResourceTree Returns Resource Tree

read-only idempotent
argo-cd-get-returns-application

Argo CD Get Returns an Application by Name

read-only idempotent
argo-cd-delete-deletes-application

Argo CD Delete Deletes an Application

idempotent
argo-cd-patch-patch-application

Argo CD Patch Patch an Application

idempotent
argo-cd-listresourceevents-returns-list

Argo CD ListResourceEvents Returns a List of Event Resources

read-only idempotent
argo-cd-listlinks-returns-list

Argo CD ListLinks Returns the List of All Application Deep Links

read-only idempotent
argo-cd-podlogs-returns-stream

Argo CD PodLogs Returns Stream of Log Entries for the Specified Pod. Pod

read-only idempotent
argo-cd-getmanifests-returns-application

Argo CD GetManifests Returns Application Manifests

read-only idempotent
argo-cd-terminateoperation-terminates-currently

Argo CD TerminateOperation Terminates the Currently Running Operation

idempotent
argo-cd-podlogs-returns-stream-2

Argo CD PodLogs Returns Stream of Log Entries for the Specified Pod. Pod

read-only idempotent
argo-cd-getresource-returns-single

Argo CD GetResource Returns Single Application Resource

read-only idempotent
argo-cd-patchresource-patch-single

Argo CD PatchResource Patch Single Application Resource

argo-cd-deleteresource-deletes-single

Argo CD DeleteResource Deletes a Single Application Resource

idempotent
argo-cd-listresourceactions-returns-list

Argo CD ListResourceActions Returns List of Resource Actions

read-only idempotent
argo-cd-runresourceaction-runs-resource

Argo CD RunResourceAction Runs a Resource Action

argo-cd-runresourceactionv2-runs-resource

Argo CD RunResourceActionV2 Runs a Resource Action with Parameters

argo-cd-listresourcelinks-returns-list

Argo CD ListResourceLinks Returns the List of All Resource Deep Links

read-only idempotent
argo-cd-get-chart-metadata

Argo CD Get the Chart Metadata (description, Maintainers, Home) for a Specific Revision of the Application

read-only idempotent
argo-cd-get-meta-data

Argo CD Get the Meta-data (author, Date, Tags, Message) for a Specific Revision of the Application

read-only idempotent
argo-cd-get-chart-metadata-2

Argo CD Get the Chart Metadata (description, Maintainers, Home) for a Specific Revision of the Application

read-only idempotent
argo-cd-rollback-syncs-application

Argo CD Rollback Syncs an Application to its Target State

read-only
argo-cd-updatespec-updates-application

Argo CD UpdateSpec Updates an Application Spec

idempotent
argo-cd-sync-syncs-application

Argo CD Sync Syncs an Application to its Target State

read-only
argo-cd-get-returns-sync

Argo CD Get Returns Sync Windows of the Application

read-only idempotent
argo-cd-watch-returns-stream

Argo CD Watch Returns Stream of Application Change Events

read-only idempotent
argo-cd-watch-returns-stream-2

Argo CD Watch Returns Stream of Application Resource Tree

read-only idempotent

Capability Spec

argo-cd-applicationservice.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Argo CD — ApplicationService
  description: 'Argo CD — ApplicationService. 32 operations. Lead operation: Argo CD List Returns List of Applications. Self-contained
    Naftiko capability covering one Argo Cd business surface.'
  tags:
  - Argo Cd
  - ApplicationService
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ARGO_CD_API_KEY: ARGO_CD_API_KEY
capability:
  consumes:
  - type: http
    namespace: argo-cd-applicationservice
    baseUri: ''
    description: Argo CD — ApplicationService business capability. Self-contained, no shared references.
    resources:
    - name: api-v1-applications
      path: /api/v1/applications
      operations:
      - name: applicationservicelist
        method: GET
        description: Argo CD List Returns List of Applications
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: query
          type: string
          description: the application's name.
        - name: refresh
          in: query
          type: string
          description: forces application reconciliation if set to 'hard'.
        - name: projects
          in: query
          type: array
          description: the project names to restrict returned list applications.
        - name: resourceVersion
          in: query
          type: string
          description: when specified with a watch call, shows changes that occur after that particular version of a resource.
        - name: selector
          in: query
          type: string
          description: the selector to restrict returned list to applications only with matched labels.
        - name: repo
          in: query
          type: string
          description: the repoURL to restrict returned list applications.
        - name: appNamespace
          in: query
          type: string
          description: the application's namespace.
        - name: project
          in: query
          type: array
          description: the project names to restrict returned list applications (legacy name for backwards-compatibility).
      - name: applicationservicecreate
        method: POST
        description: Argo CD Create Creates an Application
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: string
          required: true
        - name: upsert
          in: query
          type: boolean
        - name: validate
          in: query
          type: boolean
    - name: api-v1-applications-manifestsWithFiles
      path: /api/v1/applications/manifestsWithFiles
      operations:
      - name: applicationservicegetmanifestswithfiles
        method: POST
        description: Argo CD GetManifestsWithFiles Returns Application Manifests Using Provided Files to Generate Them
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: string
          description: (streaming inputs)
          required: true
    - name: api-v1-applications-appName-server-side-diff
      path: /api/v1/applications/{appName}/server-side-diff
      operations:
      - name: applicationserviceserversidediff
        method: GET
        description: Argo CD ServerSideDiff Performs Server-side Diff Calculation Using Dry-run Apply
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: appName
          in: path
          type: string
          required: true
        - name: appNamespace
          in: query
          type: string
        - name: project
          in: query
          type: string
        - name: targetManifests
          in: query
          type: array
    - name: api-v1-applications-application.metadata.name
      path: /api/v1/applications/{application.metadata.name}
      operations:
      - name: applicationserviceupdate
        method: PUT
        description: Argo CD Update Updates an Application
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: application.metadata.name
          in: path
          type: string
          description: Name must be unique within a namespace. Is required when creating resources, although
          required: true
        - name: body
          in: body
          type: string
          required: true
        - name: validate
          in: query
          type: boolean
        - name: project
          in: query
          type: string
    - name: api-v1-applications-applicationName-managed-resources
      path: /api/v1/applications/{applicationName}/managed-resources
      operations:
      - name: applicationservicemanagedresources
        method: GET
        description: Argo CD ManagedResources Returns List of Managed Resources
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: applicationName
          in: path
          type: string
          required: true
        - name: namespace
          in: query
          type: string
        - name: name
          in: query
          type: string
        - name: version
          in: query
          type: string
        - name: group
          in: query
          type: string
        - name: kind
          in: query
          type: string
        - name: appNamespace
          in: query
          type: string
        - name: project
          in: query
          type: string
    - name: api-v1-applications-applicationName-resource-tree
      path: /api/v1/applications/{applicationName}/resource-tree
      operations:
      - name: applicationserviceresourcetree
        method: GET
        description: Argo CD ResourceTree Returns Resource Tree
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: applicationName
          in: path
          type: string
          required: true
        - name: namespace
          in: query
          type: string
        - name: name
          in: query
          type: string
        - name: version
          in: query
          type: string
        - name: group
          in: query
          type: string
        - name: kind
          in: query
          type: string
        - name: appNamespace
          in: query
          type: string
        - name: project
          in: query
          type: string
    - name: api-v1-applications-name
      path: /api/v1/applications/{name}
      operations:
      - name: applicationserviceget
        method: GET
        description: Argo CD Get Returns an Application by Name
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: the application's name
          required: true
        - name: refresh
          in: query
          type: string
          description: forces application reconciliation if set to 'hard'.
        - name: projects
          in: query
          type: array
          description: the project names to restrict returned list applications.
        - name: resourceVersion
          in: query
          type: string
          description: when specified with a watch call, shows changes that occur after that particular version of a resource.
        - name: selector
          in: query
          type: string
          description: the selector to restrict returned list to applications only with matched labels.
        - name: repo
          in: query
          type: string
          description: the repoURL to restrict returned list applications.
        - name: appNamespace
          in: query
          type: string
          description: the application's namespace.
        - name: project
          in: query
          type: array
          description: the project names to restrict returned list applications (legacy name for backwards-compatibility).
      - name: applicationservicedelete
        method: DELETE
        description: Argo CD Delete Deletes an Application
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
        - name: cascade
          in: query
          type: boolean
        - name: propagationPolicy
          in: query
          type: string
        - name: appNamespace
          in: query
          type: string
        - name: project
          in: query
          type: string
      - name: applicationservicepatch
        method: PATCH
        description: Argo CD Patch Patch an Application
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: string
          required: true
    - name: api-v1-applications-name-events
      path: /api/v1/applications/{name}/events
      operations:
      - name: applicationservicelistresourceevents
        method: GET
        description: Argo CD ListResourceEvents Returns a List of Event Resources
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
        - name: resourceNamespace
          in: query
          type: string
        - name: resourceName
          in: query
          type: string
        - name: resourceUID
          in: query
          type: string
        - name: appNamespace
          in: query
          type: string
        - name: project
          in: query
          type: string
    - name: api-v1-applications-name-links
      path: /api/v1/applications/{name}/links
      operations:
      - name: applicationservicelistlinks
        method: GET
        description: Argo CD ListLinks Returns the List of All Application Deep Links
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
        - name: namespace
          in: query
          type: string
        - name: project
          in: query
          type: string
    - name: api-v1-applications-name-logs
      path: /api/v1/applications/{name}/logs
      operations:
      - name: applicationservicepodlogs2
        method: GET
        description: Argo CD PodLogs Returns Stream of Log Entries for the Specified Pod. Pod
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
        - name: namespace
          in: query
          type: string
        - name: podName
          in: query
          type: string
        - name: container
          in: query
          type: string
        - name: sinceSeconds
          in: query
          type: string
        - name: sinceTime.seconds
          in: query
          type: string
          description: Represents seconds of UTC time since Unix epoch
        - name: sinceTime.nanos
          in: query
          type: integer
          description: Non-negative fractions of a second at nanosecond resolution. Negative
        - name: tailLines
          in: query
          type: string
        - name: follow
          in: query
          type: boolean
        - name: untilTime
          in: query
          type: string
        - name: filter
          in: query
          type: string
        - name: kind
          in: query
          type: string
        - name: group
          in: query
          type: string
        - name: resourceName
          in: query
          type: string
        - name: previous
          in: query
          type: boolean
        - name: appNamespace
          in: query
          type: string
        - name: project
          in: query
          type: string
        - name: matchCase
          in: query
          type: boolean
    - name: api-v1-applications-name-manifests
      path: /api/v1/applications/{name}/manifests
      operations:
      - name: applicationservicegetmanifests
        method: GET
        description: Argo CD GetManifests Returns Application Manifests
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
        - name: revision
          in: query
          type: string
        - name: appNamespace
          in: query
          type: string
        - name: project
          in: query
          type: string
        - name: sourcePositions
          in: query
          type: array
        - name: revisions
          in: query
          type: array
        - name: noCache
          in: query
          type: boolean
    - name: api-v1-applications-name-operation
      path: /api/v1/applications/{name}/operation
      operations:
      - name: applicationserviceterminateoperation
        method: DELETE
        description: Argo CD TerminateOperation Terminates the Currently Running Operation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
        - name: appNamespace
          in: query
          type: string
        - name: project
          in: query
          type: string
    - name: api-v1-applications-name-pods-podName-logs
      path: /api/v1/applications/{name}/pods/{podName}/logs
      operations:
      - name: applicationservicepodlogs
        method: GET
        description: Argo CD PodLogs Returns Stream of Log Entries for the Specified Pod. Pod
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
        - name: podName
          in: path
          type: string
          required: true
        - name: namespace
          in: query
          type: string
        - name: container
          in: query
          type: string
        - name: sinceSeconds
          in: query
          type: string
        - name: sinceTime.seconds
          in: query
          type: string
          description: Represents seconds of UTC time since Unix epoch
        - name: sinceTime.nanos
          in: query
          type: integer
          description: Non-negative fractions of a second at nanosecond resolution. Negative
        - name: tailLines
          in: query
          type: string
        - name: follow
          in: query
          type: boolean
        - name: untilTime
          in: query
          type: string
        - name: filter
          in: query
          type: string
        - name: kind
          in: query
          type: string
        - name: group
          in: query
          type: string
        - name: resourceName
          in: query
          type: string
        - name: previous
          in: query
          type: boolean
        - name: appNamespace
          in: query
          type: string
        - name: project
          in: query
          type: string
        - name: matchCase
          in: query
          type: boolean
    - name: api-v1-applications-name-resource
      path: /api/v1/applications/{name}/resource
      operations:
      - name: applicationservicegetresource
        method: GET
        description: Argo CD GetResource Returns Single Application Resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
        - name: namespace
          in: query
          type: string
        - name: resourceName
          in: query
          type: string
        - name: version
          in: query
          type: string
        - name: group
          in: query
          type: string
        - name: kind
          in: query
          type: string
        - name: appNamespace
          in: query
          type: string
        - name: project
          in: query
          type: string
      - name: applicationservicepatchresource
        method: POST
        description: Argo CD PatchResource Patch Single Application Resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: string
          required: true
        - name: namespace
          in: query
          type: string
        - name: resourceName
          in: query
          type: string
        - name: version
          in: query
          type: string
        - name: group
          in: query
          type: string
        - name: kind
          in: query
          type: string
        - name: patchType
          in: query
          type: string
        - name: appNamespace
          in: query
          type: string
        - name: project
          in: query
          type: string
      - name: applicationservicedeleteresource
        method: DELETE
        description: Argo CD DeleteResource Deletes a Single Application Resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
        - name: namespace
          in: query
          type: string
        - name: resourceName
          in: query
          type: string
        - name: version
          in: query
          type: string
        - name: group
          in: query
          type: string
        - name: kind
          in: query
          type: string
        - name: force
          in: query
          type: boolean
        - name: orphan
          in: query
          type: boolean
        - name: appNamespace
          in: query
          type: string
        - name: project
          in: query
          type: string
    - name: api-v1-applications-name-resource-actions
      path: /api/v1/applications/{name}/resource/actions
      operations:
      - name: applicationservicelistresourceactions
        method: GET
        description: Argo CD ListResourceActions Returns List of Resource Actions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
        - name: namespace
          in: query
          type: string
        - name: resourceName
          in: query
          type: string
        - name: version
          in: query
          type: string
        - name: group
          in: query
          type: string
        - name: kind
          in: query
          type: string
        - name: appNamespace
          in: query
          type: string
        - name: project
          in: query
          type: string
      - name: applicationservicerunresourceaction
        method: POST
        description: Argo CD RunResourceAction Runs a Resource Action
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: string
          required: true
        - name: namespace
          in: query
          type: string
        - name: resourceName
          in: query
          type: string
        - name: version
          in: query
          type: string
        - name: group
          in: query
          type: string
        - name: kind
          in: query
          type: string
        - name: appNamespace
          in: query
          type: string
        - name: project
          in: query
          type: string
    - name: api-v1-applications-name-resource-actions-v2
      path: /api/v1/applications/{name}/resource/actions/v2
      operations:
      - name: applicationservicerunresourceactionv2
        method: POST
        description: Argo CD RunResourceActionV2 Runs a Resource Action with Parameters
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: string
          required: true
    - name: api-v1-applications-name-resource-links
      path: /api/v1/applications/{name}/resource/links
      operations:
      - name: applicationservicelistresourcelinks
        method: GET
        description: Argo CD ListResourceLinks Returns the List of All Resource Deep Links
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
        - name: namespace
          in: query
          type: string
        - name: resourceName
          in: query
          type: string
        - name: version
          in: query
          type: string
        - name: group
          in: query
          type: string
        - name: kind
          in: query
          type: string
        - name: appNamespace
          in: query
          type: string
        - name: project
          in: query
          type: string
    - name: api-v1-applications-name-revisions-revision-chartdetails
      path: /api/v1/applications/{name}/revisions/{revision}/chartdetails
      operations:
      - name: applicationservicerevisionchartdetails
        method: GET
        description: Argo CD Get the Chart Metadata (description, Maintainers, Home) for a Specific Revision of the Application
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: the application's name
          required: true
        - name: revision
          in: path
          type: string
          description: the revision of the app
          required: true
        - name: appNamespace
          in: query
          type: string
          description: the application's namespace.
        - name: project
          in: query
          type: string
        - name: sourceIndex
          in: query
          type: integer
          description: source index (for multi source apps).
        - name: versionId
          in: query
          type: integer
          description: versionId from historical data (for multi source apps).
    - name: api-v1-applications-name-revisions-revision-metadata
      path: /api/v1/applications/{name}/revisions/{revision}/metadata
      operations:
      - name: applicationservicerevisionmetadata
        method: GET
        description: Argo CD Get the Meta-data (author, Date, Tags, Message) for a Specific Revision of the Application
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: the application's name
          required: true
        - name: revision
          in: path
          type: string
          description: the revision of the app
          required: true
        - name: appNamespace
          in: query
          type: string
          description: the application's namespace.
        - name: project
          in: query
          type: string
        - name: sourceIndex
          in: query
          type: integer
          description: source index (for multi source apps).
        - name: versionId
          in: query
          type: integer
          description: versionId from historical data (for multi source apps).
    - name: api-v1-applications-name-revisions-revision-ocimetadata
      path: /api/v1/applications/{name}/revisions/{revision}/ocimetadata
      operations:
      - name: applicationservicegetocimetadata
        method: GET
        description: Argo CD Get the Chart Metadata (description, Maintainers, Home) for a Specific Revision of the Application
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: the application's name
          required: true
        - name: revision
          in: path
          type: string
          description: the revision of the app
          required: true
        - name: appNamespace
          in: query
          type: string
          description: the application's namespace.
        - name: project
          in: query
          type: string
        - name: sourceIndex
          in: query
          type: integer
          description: source index (for multi source apps).
        - name: versionId
          in: query
          type: integer
          description: versionId from historical data (for multi source apps).
    - name: api-v1-applications-name-rollback
      path: /api/v1/applications/{name}/rollback
      operations:
      - name: applicationservicerollback
        method: POST
        description: Argo CD Rollback Syncs an Application to its Target State
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: string
          required: true
    - name: api-v1-applications-name-spec
      path: /api/v1/applications/{name}/spec
      operations:
      - name: applicationserviceupdatespec
        method: PUT
        description: Argo CD UpdateSpec Updates an Application Spec
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: string
          required: true
        - name: validate
          in: query
          type: boolean
        - name: appNamespace
          in: query
          type: string
        - name: project
          in: query
          type: string
    - name: api-v1-applications-name-sync
      path: /api/v1/applications/{name}/sync
      operations:
      - name: applicationservicesync
        method: POST
        description: Argo CD Sync Syncs an Application to its Target State
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: string
          required: true
    - name: api-v1-applications-name-syncwindows
      path: /api/v1/applications/{name}/syncwindows
      operations:
      - name: applicationservicegetapplicationsyncwindows
        method: GET
        description: Argo CD Get Returns Sync Windows of the Application
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
        - name: appNamespace
          in: query
          type: string
        - name: project
          in: query
          type: string
    - name: api-v1-stream-applications
      path: /api/v1/stream/applications
      operations:
      - name: applicationservicewatch
        method: GET
        description: Argo CD Watch Returns Stream of Application Change Events
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: query
          type: string
          description: the application's name.
        - name: refresh
          in: query
          type: string
          description: forces application reconciliation if set to 'hard'.
        - name: projects
          in: query
          type: array
          description: the project names to restrict returned list applications.
        - name: resourceVersion
          in: query
          type: string
          description: when specified with a watch call, shows changes that occur after that particular version of a resource.
        - name: selector
          in: query
          type: string
          description: the selector to restrict returned list to applications only with matched labels.
        - name: repo
          in: query
          type: string
          description: the repoURL to restrict returned list applications.
        - name: appNamespace
          in: query
          type: string
          description: the application's namespace.
        - name: project
          in: query
          type: array
          description: the project names to restrict returned list applications (legacy name for backwards-compatibility).
    - name: api-v1-stream-applications-applicationName-resource-tree
      path: /api/v1/stream/applications/{applicationName}/resource-tree
      operations:
      - name: applicationservicewatchresourcetree
        method: GET
        description: Argo CD Watch Returns Stream of Application Resource Tree
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: applicationName
          in: path
          type: string
          required: true
        - name: namespace
          in: query
          type: string
        - name: name
          in: query
          type: string
        - name: version
          in: query
          type: string
        - name: group
          in: query
          type: string
        - name: kind
          in: query
          type: string
        - name: appNamespace
          in: query
          type: string
        - name: project
          in: query
          type: string
  exposes:
  - type: rest
    namespace: argo-cd-applicationservice-rest
    port: 8080
    description: REST adapter for Argo CD — ApplicationService. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/v1/applications
      name: api-v1-applications
      description: REST surface for api-v1-applications.
      operations:
      - method: GET
        name: applicationservicelist
        description: Argo CD List Returns List of Applications
        call: argo-cd-applicationservice.applicationservicelist
        with:
          name: rest.name
          refresh: rest.refresh
          projects: rest.projects
          resourceVersion: rest.resourceVersion
          selector: rest.selector
          repo: rest.repo
          appNamespace: rest.appNamespace
          project: rest.project
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
  

# --- truncated at 32 KB (71 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/argo-cd/refs/heads/main/capabilities/argo-cd-applicationservice.yaml