naftiko: 1.0.0-alpha2 info: label: Rely.io Public API — Blueprints description: 'Rely.io Public API — Blueprints. 5 operations. Lead operation: List Blueprints. Self-contained Naftiko capability covering one Rely business surface.' tags: - Rely - Blueprints created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: RELY_API_KEY: RELY_API_KEY capability: consumes: - type: http namespace: rely-blueprints baseUri: https://api.rely.io description: Rely.io Public API — Blueprints business capability. Self-contained, no shared references. resources: - name: api-v1-blueprints path: /api/v1/blueprints operations: - name: listblueprints method: GET description: List Blueprints outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createblueprint method: POST description: Create Blueprint outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v1-blueprints-blueprintId path: /api/v1/blueprints/{blueprintId} operations: - name: getblueprint method: GET description: Get Blueprint outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateblueprint method: PUT description: Update Blueprint outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteblueprint method: DELETE description: Delete Blueprint outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.RELY_API_KEY}}' exposes: - type: rest namespace: rely-blueprints-rest port: 8080 description: REST adapter for Rely.io Public API — Blueprints. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v1/blueprints name: api-v1-blueprints description: REST surface for api-v1-blueprints. operations: - method: GET name: listblueprints description: List Blueprints call: rely-blueprints.listblueprints outputParameters: - type: object mapping: $. - method: POST name: createblueprint description: Create Blueprint call: rely-blueprints.createblueprint with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v1/blueprints/{blueprintid} name: api-v1-blueprints-blueprintid description: REST surface for api-v1-blueprints-blueprintId. operations: - method: GET name: getblueprint description: Get Blueprint call: rely-blueprints.getblueprint outputParameters: - type: object mapping: $. - method: PUT name: updateblueprint description: Update Blueprint call: rely-blueprints.updateblueprint with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteblueprint description: Delete Blueprint call: rely-blueprints.deleteblueprint outputParameters: - type: object mapping: $. - type: mcp namespace: rely-blueprints-mcp port: 9090 transport: http description: MCP adapter for Rely.io Public API — Blueprints. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-blueprints description: List Blueprints hints: readOnly: true destructive: false idempotent: true call: rely-blueprints.listblueprints outputParameters: - type: object mapping: $. - name: create-blueprint description: Create Blueprint hints: readOnly: false destructive: false idempotent: false call: rely-blueprints.createblueprint with: body: tools.body outputParameters: - type: object mapping: $. - name: get-blueprint description: Get Blueprint hints: readOnly: true destructive: false idempotent: true call: rely-blueprints.getblueprint outputParameters: - type: object mapping: $. - name: update-blueprint description: Update Blueprint hints: readOnly: false destructive: false idempotent: true call: rely-blueprints.updateblueprint with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-blueprint description: Delete Blueprint hints: readOnly: false destructive: true idempotent: true call: rely-blueprints.deleteblueprint outputParameters: - type: object mapping: $.