naftiko: 1.0.0-alpha2 info: label: Workday Staffing API — Positions description: 'Workday Staffing API — Positions. 2 operations. Lead operation: Get Positions. Self-contained Naftiko capability covering one Workday business surface.' tags: - Workday - Positions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WORKDAY_API_KEY: WORKDAY_API_KEY capability: consumes: - type: http namespace: staffing-positions baseUri: https://wd2-impl-services1.workday.com/ccx/api/staffing/v1/{tenant} description: Workday Staffing API — Positions business capability. Self-contained, no shared references. resources: - name: positions path: /positions operations: - name: getpositions method: GET description: Get Positions outputRawFormat: json outputParameters: - name: result type: object value: $. - name: positions-ID path: /positions/{ID} operations: - name: getpositionbyid method: GET description: Get Position by Id outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.WORKDAY_API_KEY}}' exposes: - type: rest namespace: staffing-positions-rest port: 8080 description: REST adapter for Workday Staffing API — Positions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/positions name: positions description: REST surface for positions. operations: - method: GET name: getpositions description: Get Positions call: staffing-positions.getpositions outputParameters: - type: object mapping: $. - path: /v1/positions/{id} name: positions-id description: REST surface for positions-ID. operations: - method: GET name: getpositionbyid description: Get Position by Id call: staffing-positions.getpositionbyid outputParameters: - type: object mapping: $. - type: mcp namespace: staffing-positions-mcp port: 9090 transport: http description: MCP adapter for Workday Staffing API — Positions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-positions description: Get Positions hints: readOnly: true destructive: false idempotent: true call: staffing-positions.getpositions outputParameters: - type: object mapping: $. - name: get-position-id description: Get Position by Id hints: readOnly: true destructive: false idempotent: true call: staffing-positions.getpositionbyid outputParameters: - type: object mapping: $.