naftiko: 1.0.0-alpha2 info: label: NGINX Plus REST API — HTTP Requests description: 'NGINX Plus REST API — HTTP Requests. 2 operations. Lead operation: NGINX Return HTTP Requests Statistics. Self-contained Naftiko capability covering one Nginx business surface.' tags: - Nginx - HTTP Requests created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: NGINX_API_KEY: NGINX_API_KEY capability: consumes: - type: http namespace: plus-http-http-requests baseUri: '' description: NGINX Plus REST API — HTTP Requests business capability. Self-contained, no shared references. resources: - name: http-requests path: /http/requests operations: - name: gethttprequests method: GET description: NGINX Return HTTP Requests Statistics outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fields in: query type: string description: Limits which fields of client HTTP requests statistics will be output. - name: deletehttprequests method: DELETE description: NGINX Reset HTTP Requests Statistics outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: plus-http-http-requests-rest port: 8080 description: REST adapter for NGINX Plus REST API — HTTP Requests. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/http/requests name: http-requests description: REST surface for http-requests. operations: - method: GET name: gethttprequests description: NGINX Return HTTP Requests Statistics call: plus-http-http-requests.gethttprequests with: fields: rest.fields outputParameters: - type: object mapping: $. - method: DELETE name: deletehttprequests description: NGINX Reset HTTP Requests Statistics call: plus-http-http-requests.deletehttprequests outputParameters: - type: object mapping: $. - type: mcp namespace: plus-http-http-requests-mcp port: 9090 transport: http description: MCP adapter for NGINX Plus REST API — HTTP Requests. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: nginx-return-http-requests-statistics description: NGINX Return HTTP Requests Statistics hints: readOnly: true destructive: false idempotent: true call: plus-http-http-requests.gethttprequests with: fields: tools.fields outputParameters: - type: object mapping: $. - name: nginx-reset-http-requests-statistics description: NGINX Reset HTTP Requests Statistics hints: readOnly: false destructive: true idempotent: true call: plus-http-http-requests.deletehttprequests outputParameters: - type: object mapping: $.