naftiko: 1.0.0-alpha2 info: label: Lever API — Feedback description: 'Lever API — Feedback. 5 operations. Lead operation: List feedback forms. Self-contained Naftiko capability covering one Lever business surface.' tags: - Lever - Feedback created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LEVER_API_KEY: LEVER_API_KEY capability: consumes: - type: http namespace: lever-feedback baseUri: https://api.lever.co/v1 description: Lever API — Feedback business capability. Self-contained, no shared references. resources: - name: opportunities-opportunity-feedback path: /opportunities/{opportunity}/feedback operations: - name: get method: GET description: List feedback forms outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Create feedback form outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: opportunities-opportunity-feedback-feedback path: /opportunities/{opportunity}/feedback/{feedback} operations: - name: get method: GET description: Retrieve feedback form outputRawFormat: json outputParameters: - name: result type: object value: $. - name: put method: PUT description: Update feedback form outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: delete method: DELETE description: Delete feedback form outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.LEVER_API_KEY}}' exposes: - type: rest namespace: lever-feedback-rest port: 8080 description: REST adapter for Lever API — Feedback. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/opportunities/{opportunity}/feedback name: opportunities-opportunity-feedback description: REST surface for opportunities-opportunity-feedback. operations: - method: GET name: get description: List feedback forms call: lever-feedback.get outputParameters: - type: object mapping: $. - method: POST name: post description: Create feedback form call: lever-feedback.post with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/opportunities/{opportunity}/feedback/{feedback} name: opportunities-opportunity-feedback-feedback description: REST surface for opportunities-opportunity-feedback-feedback. operations: - method: GET name: get description: Retrieve feedback form call: lever-feedback.get outputParameters: - type: object mapping: $. - method: PUT name: put description: Update feedback form call: lever-feedback.put with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Delete feedback form call: lever-feedback.delete outputParameters: - type: object mapping: $. - type: mcp namespace: lever-feedback-mcp port: 9090 transport: http description: MCP adapter for Lever API — Feedback. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-feedback-forms description: List feedback forms hints: readOnly: true destructive: false idempotent: true call: lever-feedback.get outputParameters: - type: object mapping: $. - name: create-feedback-form description: Create feedback form hints: readOnly: false destructive: false idempotent: false call: lever-feedback.post with: body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-feedback-form description: Retrieve feedback form hints: readOnly: true destructive: false idempotent: true call: lever-feedback.get outputParameters: - type: object mapping: $. - name: update-feedback-form description: Update feedback form hints: readOnly: false destructive: false idempotent: true call: lever-feedback.put with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-feedback-form description: Delete feedback form hints: readOnly: false destructive: true idempotent: true call: lever-feedback.delete outputParameters: - type: object mapping: $.