naftiko: 1.0.0-alpha2 info: label: Citrix Secure Private Access API — Applications description: 'Citrix Secure Private Access API — Applications. 5 operations. Lead operation: Citrix List applications. Self-contained Naftiko capability covering one Citrix business surface.' tags: - Citrix - Applications created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CITRIX_API_KEY: CITRIX_API_KEY capability: consumes: - type: http namespace: secure-private-access-applications baseUri: https://api.cloud.com/accessSecurity description: Citrix Secure Private Access API — Applications business capability. Self-contained, no shared references. resources: - name: applications path: /applications operations: - name: listapplications method: GET description: Citrix List applications outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createapplication method: POST description: Citrix Create an application outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: applications-applicationId path: /applications/{applicationId} operations: - name: getapplication method: GET description: Citrix Get an application outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateapplication method: PUT description: Citrix Update an application outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteapplication method: DELETE description: Citrix Delete an application outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.CITRIX_API_KEY}}' exposes: - type: rest namespace: secure-private-access-applications-rest port: 8080 description: REST adapter for Citrix Secure Private Access API — Applications. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/applications name: applications description: REST surface for applications. operations: - method: GET name: listapplications description: Citrix List applications call: secure-private-access-applications.listapplications outputParameters: - type: object mapping: $. - method: POST name: createapplication description: Citrix Create an application call: secure-private-access-applications.createapplication with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/applications/{applicationid} name: applications-applicationid description: REST surface for applications-applicationId. operations: - method: GET name: getapplication description: Citrix Get an application call: secure-private-access-applications.getapplication outputParameters: - type: object mapping: $. - method: PUT name: updateapplication description: Citrix Update an application call: secure-private-access-applications.updateapplication with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteapplication description: Citrix Delete an application call: secure-private-access-applications.deleteapplication outputParameters: - type: object mapping: $. - type: mcp namespace: secure-private-access-applications-mcp port: 9090 transport: http description: MCP adapter for Citrix Secure Private Access API — Applications. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: citrix-list-applications description: Citrix List applications hints: readOnly: true destructive: false idempotent: true call: secure-private-access-applications.listapplications outputParameters: - type: object mapping: $. - name: citrix-create-application description: Citrix Create an application hints: readOnly: false destructive: false idempotent: false call: secure-private-access-applications.createapplication with: body: tools.body outputParameters: - type: object mapping: $. - name: citrix-get-application description: Citrix Get an application hints: readOnly: true destructive: false idempotent: true call: secure-private-access-applications.getapplication outputParameters: - type: object mapping: $. - name: citrix-update-application description: Citrix Update an application hints: readOnly: false destructive: false idempotent: true call: secure-private-access-applications.updateapplication with: body: tools.body outputParameters: - type: object mapping: $. - name: citrix-delete-application description: Citrix Delete an application hints: readOnly: false destructive: true idempotent: true call: secure-private-access-applications.deleteapplication outputParameters: - type: object mapping: $.