naftiko: 1.0.0-alpha2 info: label: Spot by NetApp API — Elastigroup GCP description: 'Spot by NetApp API — Elastigroup GCP. 5 operations. Lead operation: List Elastigroups GCP. Self-contained Naftiko capability covering one Spot By Netapp business surface.' tags: - Spot By Netapp - Elastigroup GCP created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SPOT_BY_NETAPP_API_KEY: SPOT_BY_NETAPP_API_KEY capability: consumes: - type: http namespace: spot-by-netapp-elastigroup-gcp baseUri: https://api.spotinst.io description: Spot by NetApp API — Elastigroup GCP business capability. Self-contained, no shared references. resources: - name: gcp-gce-group path: /gcp/gce/group operations: - name: listelastigroupsgcp method: GET description: List Elastigroups GCP outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountId in: query type: string - name: createelastigroupgcp method: POST description: Create Elastigroup GCP outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: gcp-gce-group-groupId path: /gcp/gce/group/{groupId} operations: - name: getelastigroupgcp method: GET description: Get Elastigroup GCP outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: groupId in: path type: string required: true - name: updateelastigroupgcp method: PUT description: Update Elastigroup GCP outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: groupId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deleteelastigroupgcp method: DELETE description: Delete Elastigroup GCP outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: groupId in: path type: string required: true authentication: type: bearer token: '{{env.SPOT_BY_NETAPP_API_KEY}}' exposes: - type: rest namespace: spot-by-netapp-elastigroup-gcp-rest port: 8080 description: REST adapter for Spot by NetApp API — Elastigroup GCP. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/gcp/gce/group name: gcp-gce-group description: REST surface for gcp-gce-group. operations: - method: GET name: listelastigroupsgcp description: List Elastigroups GCP call: spot-by-netapp-elastigroup-gcp.listelastigroupsgcp with: accountId: rest.accountId outputParameters: - type: object mapping: $. - method: POST name: createelastigroupgcp description: Create Elastigroup GCP call: spot-by-netapp-elastigroup-gcp.createelastigroupgcp with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/gcp/gce/group/{groupid} name: gcp-gce-group-groupid description: REST surface for gcp-gce-group-groupId. operations: - method: GET name: getelastigroupgcp description: Get Elastigroup GCP call: spot-by-netapp-elastigroup-gcp.getelastigroupgcp with: groupId: rest.groupId outputParameters: - type: object mapping: $. - method: PUT name: updateelastigroupgcp description: Update Elastigroup GCP call: spot-by-netapp-elastigroup-gcp.updateelastigroupgcp with: groupId: rest.groupId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteelastigroupgcp description: Delete Elastigroup GCP call: spot-by-netapp-elastigroup-gcp.deleteelastigroupgcp with: groupId: rest.groupId outputParameters: - type: object mapping: $. - type: mcp namespace: spot-by-netapp-elastigroup-gcp-mcp port: 9090 transport: http description: MCP adapter for Spot by NetApp API — Elastigroup GCP. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-elastigroups-gcp description: List Elastigroups GCP hints: readOnly: true destructive: false idempotent: true call: spot-by-netapp-elastigroup-gcp.listelastigroupsgcp with: accountId: tools.accountId outputParameters: - type: object mapping: $. - name: create-elastigroup-gcp description: Create Elastigroup GCP hints: readOnly: false destructive: false idempotent: false call: spot-by-netapp-elastigroup-gcp.createelastigroupgcp with: body: tools.body outputParameters: - type: object mapping: $. - name: get-elastigroup-gcp description: Get Elastigroup GCP hints: readOnly: true destructive: false idempotent: true call: spot-by-netapp-elastigroup-gcp.getelastigroupgcp with: groupId: tools.groupId outputParameters: - type: object mapping: $. - name: update-elastigroup-gcp description: Update Elastigroup GCP hints: readOnly: false destructive: false idempotent: true call: spot-by-netapp-elastigroup-gcp.updateelastigroupgcp with: groupId: tools.groupId body: tools.body outputParameters: - type: object mapping: $. - name: delete-elastigroup-gcp description: Delete Elastigroup GCP hints: readOnly: false destructive: true idempotent: true call: spot-by-netapp-elastigroup-gcp.deleteelastigroupgcp with: groupId: tools.groupId outputParameters: - type: object mapping: $.