naftiko: 1.0.0-alpha2 info: label: Workday Report Writer Workday Prism Analytics API — Buckets description: 'Workday Report Writer Workday Prism Analytics API — Buckets. 5 operations. Lead operation: Workday Report Writer List File Upload Buckets. Self-contained Naftiko capability covering one Workday Report Writer business surface.' tags: - Workday Report Writer - Buckets created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WORKDAY_REPORT_WRITER_API_KEY: WORKDAY_REPORT_WRITER_API_KEY capability: consumes: - type: http namespace: prism-analytics-buckets baseUri: https://{hostname}/api/prismAnalytics/v3/{tenant} description: Workday Report Writer Workday Prism Analytics API — Buckets business capability. Self-contained, no shared references. resources: - name: buckets path: /buckets operations: - name: listbuckets method: GET description: Workday Report Writer List File Upload Buckets outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createbucket method: POST description: Workday Report Writer Create a File Upload Bucket outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: buckets-bucketId path: /buckets/{bucketId} operations: - name: getbucket method: GET description: Workday Report Writer Get a File Upload Bucket outputRawFormat: json outputParameters: - name: result type: object value: $. - name: buckets-bucketId-complete path: /buckets/{bucketId}/complete operations: - name: completebucket method: POST description: Workday Report Writer Complete a Bucket and Trigger Data Change Task outputRawFormat: json outputParameters: - name: result type: object value: $. - name: buckets-bucketId-files path: /buckets/{bucketId}/files operations: - name: uploadfiletobucket method: POST description: Workday Report Writer Upload a File to a Bucket outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.WORKDAY_REPORT_WRITER_API_KEY}}' exposes: - type: rest namespace: prism-analytics-buckets-rest port: 8080 description: REST adapter for Workday Report Writer Workday Prism Analytics API — Buckets. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/buckets name: buckets description: REST surface for buckets. operations: - method: GET name: listbuckets description: Workday Report Writer List File Upload Buckets call: prism-analytics-buckets.listbuckets outputParameters: - type: object mapping: $. - method: POST name: createbucket description: Workday Report Writer Create a File Upload Bucket call: prism-analytics-buckets.createbucket with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/buckets/{bucketid} name: buckets-bucketid description: REST surface for buckets-bucketId. operations: - method: GET name: getbucket description: Workday Report Writer Get a File Upload Bucket call: prism-analytics-buckets.getbucket outputParameters: - type: object mapping: $. - path: /v1/buckets/{bucketid}/complete name: buckets-bucketid-complete description: REST surface for buckets-bucketId-complete. operations: - method: POST name: completebucket description: Workday Report Writer Complete a Bucket and Trigger Data Change Task call: prism-analytics-buckets.completebucket outputParameters: - type: object mapping: $. - path: /v1/buckets/{bucketid}/files name: buckets-bucketid-files description: REST surface for buckets-bucketId-files. operations: - method: POST name: uploadfiletobucket description: Workday Report Writer Upload a File to a Bucket call: prism-analytics-buckets.uploadfiletobucket with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: prism-analytics-buckets-mcp port: 9090 transport: http description: MCP adapter for Workday Report Writer Workday Prism Analytics API — Buckets. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: workday-report-writer-list-file description: Workday Report Writer List File Upload Buckets hints: readOnly: true destructive: false idempotent: true call: prism-analytics-buckets.listbuckets outputParameters: - type: object mapping: $. - name: workday-report-writer-create-file description: Workday Report Writer Create a File Upload Bucket hints: readOnly: false destructive: false idempotent: false call: prism-analytics-buckets.createbucket with: body: tools.body outputParameters: - type: object mapping: $. - name: workday-report-writer-get-file description: Workday Report Writer Get a File Upload Bucket hints: readOnly: true destructive: false idempotent: true call: prism-analytics-buckets.getbucket outputParameters: - type: object mapping: $. - name: workday-report-writer-complete-bucket description: Workday Report Writer Complete a Bucket and Trigger Data Change Task hints: readOnly: false destructive: false idempotent: false call: prism-analytics-buckets.completebucket outputParameters: - type: object mapping: $. - name: workday-report-writer-upload-file description: Workday Report Writer Upload a File to a Bucket hints: readOnly: false destructive: false idempotent: false call: prism-analytics-buckets.uploadfiletobucket with: body: tools.body outputParameters: - type: object mapping: $.