naftiko: 1.0.0-alpha2 info: label: Apache Flink REST API — Datasets description: 'Apache Flink REST API — Datasets. 2 operations. Lead operation: List cluster datasets. Self-contained Naftiko capability covering one Flink business surface.' tags: - Flink - Datasets created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FLINK_API_KEY: FLINK_API_KEY capability: consumes: - type: http namespace: rest-datasets baseUri: http://localhost:8081 description: Apache Flink REST API — Datasets business capability. Self-contained, no shared references. resources: - name: datasets path: /datasets operations: - name: listdatasets method: GET description: List cluster datasets outputRawFormat: json outputParameters: - name: result type: object value: $. - name: datasets-datasetid path: /datasets/{datasetid} operations: - name: deletedataset method: DELETE description: Delete a cluster dataset outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: datasetid in: path type: string required: true exposes: - type: rest namespace: rest-datasets-rest port: 8080 description: REST adapter for Apache Flink REST API — Datasets. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/datasets name: datasets description: REST surface for datasets. operations: - method: GET name: listdatasets description: List cluster datasets call: rest-datasets.listdatasets outputParameters: - type: object mapping: $. - path: /v1/datasets/{datasetid} name: datasets-datasetid description: REST surface for datasets-datasetid. operations: - method: DELETE name: deletedataset description: Delete a cluster dataset call: rest-datasets.deletedataset with: datasetid: rest.datasetid outputParameters: - type: object mapping: $. - type: mcp namespace: rest-datasets-mcp port: 9090 transport: http description: MCP adapter for Apache Flink REST API — Datasets. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-cluster-datasets description: List cluster datasets hints: readOnly: true destructive: false idempotent: true call: rest-datasets.listdatasets outputParameters: - type: object mapping: $. - name: delete-cluster-dataset description: Delete a cluster dataset hints: readOnly: false destructive: true idempotent: true call: rest-datasets.deletedataset with: datasetid: tools.datasetid outputParameters: - type: object mapping: $.