Argo CD · Capability

Consolidate Services — ApplicationService

Consolidate Services — ApplicationService. 32 operations. Lead operation: List returns list of applications. Self-contained Naftiko capability covering one Argocd business surface.

Run with Naftiko ArgocdApplicationService

What You Can Do

GET
Applicationservicelist — List returns list of applications
/v1/api/v1/applications
POST
Applicationservicecreate — Create creates an application
/v1/api/v1/applications
POST
Applicationservicegetmanifestswithfiles — GetManifestsWithFiles returns application manifests using provided files to generate them
/v1/api/v1/applications/manifestswithfiles
GET
Applicationserviceserversidediff — ServerSideDiff performs server-side diff calculation using dry-run apply
/v1/api/v1/applications/{appname}/server-side-diff
PUT
Applicationserviceupdate — Update updates an application
/v1/api/v1/applications/{application-metadata-name}
GET
Applicationservicemanagedresources — ManagedResources returns list of managed resources
/v1/api/v1/applications/{applicationname}/managed-resources
GET
Applicationserviceresourcetree — ResourceTree returns resource tree
/v1/api/v1/applications/{applicationname}/resource-tree
GET
Applicationserviceget — Get returns an application by name
/v1/api/v1/applications/{name}
DELETE
Applicationservicedelete — Delete deletes an application
/v1/api/v1/applications/{name}
PATCH
Applicationservicepatch — Patch patch an application
/v1/api/v1/applications/{name}
GET
Applicationservicelistresourceevents — ListResourceEvents returns a list of event resources
/v1/api/v1/applications/{name}/events
GET
Applicationservicelistlinks — ListLinks returns the list of all application deep links
/v1/api/v1/applications/{name}/links
GET
Applicationservicepodlogs2 — PodLogs returns stream of log entries for the specified pod. Pod
/v1/api/v1/applications/{name}/logs
GET
Applicationservicegetmanifests — GetManifests returns application manifests
/v1/api/v1/applications/{name}/manifests
DELETE
Applicationserviceterminateoperation — TerminateOperation terminates the currently running operation
/v1/api/v1/applications/{name}/operation
GET
Applicationservicepodlogs — PodLogs returns stream of log entries for the specified pod. Pod
/v1/api/v1/applications/{name}/pods/{podname}/logs
GET
Applicationservicegetresource — GetResource returns single application resource
/v1/api/v1/applications/{name}/resource
POST
Applicationservicepatchresource — PatchResource patch single application resource
/v1/api/v1/applications/{name}/resource
DELETE
Applicationservicedeleteresource — DeleteResource deletes a single application resource
/v1/api/v1/applications/{name}/resource
GET
Applicationservicelistresourceactions — ListResourceActions returns list of resource actions
/v1/api/v1/applications/{name}/resource/actions
POST
Applicationservicerunresourceaction — RunResourceAction runs a resource action
/v1/api/v1/applications/{name}/resource/actions
POST
Applicationservicerunresourceactionv2 — RunResourceActionV2 runs a resource action with parameters
/v1/api/v1/applications/{name}/resource/actions/v2
GET
Applicationservicelistresourcelinks — ListResourceLinks returns the list of all resource deep links
/v1/api/v1/applications/{name}/resource/links
GET
Applicationservicerevisionchartdetails — Get the chart metadata (description, maintainers, home) for a specific revision of the application
/v1/api/v1/applications/{name}/revisions/{revision}/chartdetails
GET
Applicationservicerevisionmetadata — 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 — Get the chart metadata (description, maintainers, home) for a specific revision of the application
/v1/api/v1/applications/{name}/revisions/{revision}/ocimetadata
POST
Applicationservicerollback — Rollback syncs an application to its target state
/v1/api/v1/applications/{name}/rollback
PUT
Applicationserviceupdatespec — UpdateSpec updates an application spec
/v1/api/v1/applications/{name}/spec
POST
Applicationservicesync — Sync syncs an application to its target state
/v1/api/v1/applications/{name}/sync
GET
Applicationservicegetapplicationsyncwindows — Get returns sync windows of the application
/v1/api/v1/applications/{name}/syncwindows
GET
Applicationservicewatch — Watch returns stream of application change events
/v1/api/v1/stream/applications
GET
Applicationservicewatchresourcetree — Watch returns stream of application resource tree
/v1/api/v1/stream/applications/{applicationname}/resource-tree

MCP Tools

list-returns-list-applications

List returns list of applications

read-only idempotent
create-creates-application

Create creates an application

getmanifestswithfiles-returns-application-manifests-using

GetManifestsWithFiles returns application manifests using provided files to generate them

serversidediff-performs-server-side-diff

ServerSideDiff performs server-side diff calculation using dry-run apply

read-only idempotent
update-updates-application

Update updates an application

idempotent
managedresources-returns-list-managed-resources

ManagedResources returns list of managed resources

read-only idempotent
resourcetree-returns-resource-tree

ResourceTree returns resource tree

read-only idempotent
get-returns-application-name

Get returns an application by name

read-only idempotent
delete-deletes-application

Delete deletes an application

idempotent
patch-patch-application

Patch patch an application

idempotent
listresourceevents-returns-list-event-resources

ListResourceEvents returns a list of event resources

read-only idempotent
listlinks-returns-list-all-application

ListLinks returns the list of all application deep links

read-only idempotent
podlogs-returns-stream-log-entries

PodLogs returns stream of log entries for the specified pod. Pod

read-only idempotent
getmanifests-returns-application-manifests

GetManifests returns application manifests

read-only idempotent
terminateoperation-terminates-currently-running-operation

TerminateOperation terminates the currently running operation

idempotent
podlogs-returns-stream-log-entries-2

PodLogs returns stream of log entries for the specified pod. Pod

read-only idempotent
getresource-returns-single-application-resource

GetResource returns single application resource

read-only idempotent
patchresource-patch-single-application-resource

PatchResource patch single application resource

deleteresource-deletes-single-application-resource

DeleteResource deletes a single application resource

idempotent
listresourceactions-returns-list-resource-actions

ListResourceActions returns list of resource actions

read-only idempotent
runresourceaction-runs-resource-action

RunResourceAction runs a resource action

runresourceactionv2-runs-resource-action-parameters

RunResourceActionV2 runs a resource action with parameters

listresourcelinks-returns-list-all-resource

ListResourceLinks returns the list of all resource deep links

read-only idempotent
get-chart-metadata-description-maintainers

Get the chart metadata (description, maintainers, home) for a specific revision of the application

read-only idempotent
get-meta-data-author-date

Get the meta-data (author, date, tags, message) for a specific revision of the application

read-only idempotent
get-chart-metadata-description-maintainers-2

Get the chart metadata (description, maintainers, home) for a specific revision of the application

read-only idempotent
rollback-syncs-application-its-target

Rollback syncs an application to its target state

read-only
updatespec-updates-application-spec

UpdateSpec updates an application spec

idempotent
sync-syncs-application-its-target

Sync syncs an application to its target state

read-only
get-returns-sync-windows-application

Get returns sync windows of the application

read-only idempotent
watch-returns-stream-application-change

Watch returns stream of application change events

read-only idempotent
watch-returns-stream-application-resource

Watch returns stream of application resource tree

read-only idempotent

Capability Spec

server-applicationservice.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Consolidate Services — ApplicationService
  description: 'Consolidate Services — ApplicationService. 32 operations. Lead operation: List returns list of applications.
    Self-contained Naftiko capability covering one Argocd business surface.'
  tags:
  - Argocd
  - ApplicationService
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ARGOCD_API_KEY: ARGOCD_API_KEY
capability:
  consumes:
  - type: http
    namespace: server-applicationservice
    baseUri: ''
    description: Consolidate Services — ApplicationService business capability. Self-contained, no shared references.
    resources:
    - name: api-v1-applications
      path: /api/v1/applications
      operations:
      - name: applicationservicelist
        method: GET
        description: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: server-applicationservice-rest
    port: 8080
    description: REST adapter for Consolidate Services — 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: List returns list of applications
        call: server-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
        name: applicationservicecreate
        description: Create creates an application
        call: server-applicationservice.applicationservicecreate
        with:
          body: rest.body
          upsert: rest.upsert
    

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