naftiko: 1.0.0-alpha2 info: label: Unsplash API — Stats description: 'Unsplash API — Stats. 2 operations. Lead operation: Get Platform Monthly Statistics. Self-contained Naftiko capability covering one Unsplash business surface.' tags: - Unsplash - Stats created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: UNSPLASH_API_KEY: UNSPLASH_API_KEY capability: consumes: - type: http namespace: unsplash-stats baseUri: https://api.unsplash.com description: Unsplash API — Stats business capability. Self-contained, no shared references. resources: - name: stats-month path: /stats/month operations: - name: getstatsmonth method: GET description: Get Platform Monthly Statistics outputRawFormat: json outputParameters: - name: result type: object value: $. - name: stats-totals path: /stats/totals operations: - name: getstatstotals method: GET description: Get Platform Total Statistics outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.UNSPLASH_API_KEY}}' exposes: - type: rest namespace: unsplash-stats-rest port: 8080 description: REST adapter for Unsplash API — Stats. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/stats/month name: stats-month description: REST surface for stats-month. operations: - method: GET name: getstatsmonth description: Get Platform Monthly Statistics call: unsplash-stats.getstatsmonth outputParameters: - type: object mapping: $. - path: /v1/stats/totals name: stats-totals description: REST surface for stats-totals. operations: - method: GET name: getstatstotals description: Get Platform Total Statistics call: unsplash-stats.getstatstotals outputParameters: - type: object mapping: $. - type: mcp namespace: unsplash-stats-mcp port: 9090 transport: http description: MCP adapter for Unsplash API — Stats. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-platform-monthly-statistics description: Get Platform Monthly Statistics hints: readOnly: true destructive: false idempotent: true call: unsplash-stats.getstatsmonth outputParameters: - type: object mapping: $. - name: get-platform-total-statistics description: Get Platform Total Statistics hints: readOnly: true destructive: false idempotent: true call: unsplash-stats.getstatstotals outputParameters: - type: object mapping: $.