naftiko: 1.0.0-alpha2 info: label: Citrix Secure Private Access API — Application Domains description: 'Citrix Secure Private Access API — Application Domains. 2 operations. Lead operation: Citrix Get domain certificate for an application. Self-contained Naftiko capability covering one Citrix business surface.' tags: - Citrix - Application Domains 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-application-domains baseUri: https://api.cloud.com/accessSecurity description: Citrix Secure Private Access API — Application Domains business capability. Self-contained, no shared references. resources: - name: application-applicationId-domain-encodedURL path: /application/{applicationId}/domain/{encodedURL} operations: - name: getapplicationdomaincertificate method: GET description: Citrix Get domain certificate for an application outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: encodedURL in: path type: string description: URL-encoded domain name required: true - name: associatedomaincertificate method: PUT description: Citrix Associate certificate with application domain outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: encodedURL in: path type: string description: URL-encoded domain name required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.CITRIX_API_KEY}}' exposes: - type: rest namespace: secure-private-access-application-domains-rest port: 8080 description: REST adapter for Citrix Secure Private Access API — Application Domains. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/application/{applicationid}/domain/{encodedurl} name: application-applicationid-domain-encodedurl description: REST surface for application-applicationId-domain-encodedURL. operations: - method: GET name: getapplicationdomaincertificate description: Citrix Get domain certificate for an application call: secure-private-access-application-domains.getapplicationdomaincertificate with: encodedURL: rest.encodedURL outputParameters: - type: object mapping: $. - method: PUT name: associatedomaincertificate description: Citrix Associate certificate with application domain call: secure-private-access-application-domains.associatedomaincertificate with: encodedURL: rest.encodedURL body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: secure-private-access-application-domains-mcp port: 9090 transport: http description: MCP adapter for Citrix Secure Private Access API — Application Domains. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: citrix-get-domain-certificate-application description: Citrix Get domain certificate for an application hints: readOnly: true destructive: false idempotent: true call: secure-private-access-application-domains.getapplicationdomaincertificate with: encodedURL: tools.encodedURL outputParameters: - type: object mapping: $. - name: citrix-associate-certificate-application-domain description: Citrix Associate certificate with application domain hints: readOnly: false destructive: false idempotent: true call: secure-private-access-application-domains.associatedomaincertificate with: encodedURL: tools.encodedURL body: tools.body outputParameters: - type: object mapping: $.