naftiko: 1.0.0-alpha2 info: label: Apache APISIX Admin API — Plugin Metadata description: 'Apache APISIX Admin API — Plugin Metadata. 3 operations. Lead operation: Apache APISIX Get Plugin Metadata. Self-contained Naftiko capability covering one Apache Apisix business surface.' tags: - Apache Apisix - Plugin Metadata created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APACHE_APISIX_API_KEY: APACHE_APISIX_API_KEY capability: consumes: - type: http namespace: admin-plugin-metadata baseUri: http://127.0.0.1:9180/apisix/admin description: Apache APISIX Admin API — Plugin Metadata business capability. Self-contained, no shared references. resources: - name: plugin_metadata-plugin_name path: /plugin_metadata/{plugin_name} operations: - name: getpluginmetadata method: GET description: Apache APISIX Get Plugin Metadata outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createorupdatepluginmetadata method: PUT description: Apache APISIX Create or Update Plugin Metadata outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletepluginmetadata method: DELETE description: Apache APISIX Delete Plugin Metadata outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: X-API-KEY value: '{{env.APACHE_APISIX_API_KEY}}' placement: header exposes: - type: rest namespace: admin-plugin-metadata-rest port: 8080 description: REST adapter for Apache APISIX Admin API — Plugin Metadata. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/plugin-metadata/{plugin-name} name: plugin-metadata-plugin-name description: REST surface for plugin_metadata-plugin_name. operations: - method: GET name: getpluginmetadata description: Apache APISIX Get Plugin Metadata call: admin-plugin-metadata.getpluginmetadata outputParameters: - type: object mapping: $. - method: PUT name: createorupdatepluginmetadata description: Apache APISIX Create or Update Plugin Metadata call: admin-plugin-metadata.createorupdatepluginmetadata with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletepluginmetadata description: Apache APISIX Delete Plugin Metadata call: admin-plugin-metadata.deletepluginmetadata outputParameters: - type: object mapping: $. - type: mcp namespace: admin-plugin-metadata-mcp port: 9090 transport: http description: MCP adapter for Apache APISIX Admin API — Plugin Metadata. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: apache-apisix-get-plugin-metadata description: Apache APISIX Get Plugin Metadata hints: readOnly: true destructive: false idempotent: true call: admin-plugin-metadata.getpluginmetadata outputParameters: - type: object mapping: $. - name: apache-apisix-create-update-plugin description: Apache APISIX Create or Update Plugin Metadata hints: readOnly: false destructive: false idempotent: true call: admin-plugin-metadata.createorupdatepluginmetadata with: body: tools.body outputParameters: - type: object mapping: $. - name: apache-apisix-delete-plugin-metadata description: Apache APISIX Delete Plugin Metadata hints: readOnly: false destructive: true idempotent: true call: admin-plugin-metadata.deletepluginmetadata outputParameters: - type: object mapping: $.