naftiko: 1.0.0-alpha2 info: label: API Reference — subpackage_oauth_users description: 'API Reference — subpackage_oauth_users. 1 operations. Lead operation: Identify user OAuth Scope: identify:read. Self-contained Naftiko capability covering one Beehiiv business surface.' tags: - Beehiiv - subpackage_oauth_users created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BEEHIIV_API_KEY: BEEHIIV_API_KEY capability: consumes: - type: http namespace: beehiiv-subpackage-oauth-users baseUri: https://api.beehiiv.com/v2 description: API Reference — subpackage_oauth_users business capability. Self-contained, no shared references. resources: - name: users-identify path: /users/identify operations: - name: identify method: GET description: 'Identify user OAuth Scope: identify:read' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string description: Bearer authentication required: true authentication: type: bearer token: '{{env.BEEHIIV_API_KEY}}' exposes: - type: rest namespace: beehiiv-subpackage-oauth-users-rest port: 8080 description: REST adapter for API Reference — subpackage_oauth_users. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/users/identify name: users-identify description: REST surface for users-identify. operations: - method: GET name: identify description: 'Identify user OAuth Scope: identify:read' call: beehiiv-subpackage-oauth-users.identify with: Authorization: rest.Authorization outputParameters: - type: object mapping: $. - type: mcp namespace: beehiiv-subpackage-oauth-users-mcp port: 9090 transport: http description: MCP adapter for API Reference — subpackage_oauth_users. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: identify-user-badge-intent-info-minimal description: 'Identify user OAuth Scope: identify:read' hints: readOnly: true destructive: false idempotent: true call: beehiiv-subpackage-oauth-users.identify with: Authorization: tools.Authorization outputParameters: - type: object mapping: $.