naftiko: 1.0.0-alpha2 info: label: Workday Integration Workday Moments API — Moments description: 'Workday Integration Workday Moments API — Moments. 2 operations. Lead operation: Workday Integration Retrieve a collection of moments. Self-contained Naftiko capability covering one Workday Integration business surface.' tags: - Workday Integration - Moments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WORKDAY_INTEGRATION_API_KEY: WORKDAY_INTEGRATION_API_KEY capability: consumes: - type: http namespace: moments-moments baseUri: https://{baseUrl}/ccx/api/moments/v1/{tenant} description: Workday Integration Workday Moments API — Moments business capability. Self-contained, no shared references. resources: - name: moments path: /moments operations: - name: getmoments method: GET description: Workday Integration Retrieve a collection of moments outputRawFormat: json outputParameters: - name: result type: object value: $. - name: moments-ID path: /moments/{ID} operations: - name: getmomentbyid method: GET description: Workday Integration Retrieve a specific Moment outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.WORKDAY_INTEGRATION_API_KEY}}' exposes: - type: rest namespace: moments-moments-rest port: 8080 description: REST adapter for Workday Integration Workday Moments API — Moments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/moments name: moments description: REST surface for moments. operations: - method: GET name: getmoments description: Workday Integration Retrieve a collection of moments call: moments-moments.getmoments outputParameters: - type: object mapping: $. - path: /v1/moments/{id} name: moments-id description: REST surface for moments-ID. operations: - method: GET name: getmomentbyid description: Workday Integration Retrieve a specific Moment call: moments-moments.getmomentbyid outputParameters: - type: object mapping: $. - type: mcp namespace: moments-moments-mcp port: 9090 transport: http description: MCP adapter for Workday Integration Workday Moments API — Moments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: workday-integration-retrieve-collection-moments description: Workday Integration Retrieve a collection of moments hints: readOnly: true destructive: false idempotent: true call: moments-moments.getmoments outputParameters: - type: object mapping: $. - name: workday-integration-retrieve-specific-moment description: Workday Integration Retrieve a specific Moment hints: readOnly: true destructive: false idempotent: true call: moments-moments.getmomentbyid outputParameters: - type: object mapping: $.