naftiko: 1.0.0-alpha2 info: label: Spot Elastigroup API — Deployments description: 'Spot Elastigroup API — Deployments. 4 operations. Lead operation: Spot Roll Elastigroup (aws). Self-contained Naftiko capability covering one Flexera business surface.' tags: - Flexera - Deployments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FLEXERA_API_KEY: FLEXERA_API_KEY capability: consumes: - type: http namespace: spot-elastigroup-deployments baseUri: https://api.spotinst.io description: Spot Elastigroup API — Deployments business capability. Self-contained, no shared references. resources: - name: aws-ec2-group-groupId-roll path: /aws/ec2/group/{groupId}/roll operations: - name: rollelastigroupaws method: POST description: Spot Roll Elastigroup (aws) 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: listrollsaws method: GET description: Spot List Rolls (aws) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: groupId in: path type: string required: true - name: aws-ec2-group-groupId-roll-rollId path: /aws/ec2/group/{groupId}/roll/{rollId} operations: - name: getrollstatusaws method: GET description: Spot Get Roll Status (aws) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: groupId in: path type: string required: true - name: rollId in: path type: string required: true - name: stoprollaws method: PUT description: Spot Stop Roll (aws) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: groupId in: path type: string required: true - name: rollId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.FLEXERA_API_KEY}}' exposes: - type: rest namespace: spot-elastigroup-deployments-rest port: 8080 description: REST adapter for Spot Elastigroup API — Deployments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/aws/ec2/group/{groupid}/roll name: aws-ec2-group-groupid-roll description: REST surface for aws-ec2-group-groupId-roll. operations: - method: POST name: rollelastigroupaws description: Spot Roll Elastigroup (aws) call: spot-elastigroup-deployments.rollelastigroupaws with: groupId: rest.groupId body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listrollsaws description: Spot List Rolls (aws) call: spot-elastigroup-deployments.listrollsaws with: groupId: rest.groupId outputParameters: - type: object mapping: $. - path: /v1/aws/ec2/group/{groupid}/roll/{rollid} name: aws-ec2-group-groupid-roll-rollid description: REST surface for aws-ec2-group-groupId-roll-rollId. operations: - method: GET name: getrollstatusaws description: Spot Get Roll Status (aws) call: spot-elastigroup-deployments.getrollstatusaws with: groupId: rest.groupId rollId: rest.rollId outputParameters: - type: object mapping: $. - method: PUT name: stoprollaws description: Spot Stop Roll (aws) call: spot-elastigroup-deployments.stoprollaws with: groupId: rest.groupId rollId: rest.rollId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: spot-elastigroup-deployments-mcp port: 9090 transport: http description: MCP adapter for Spot Elastigroup API — Deployments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: spot-roll-elastigroup-aws description: Spot Roll Elastigroup (aws) hints: readOnly: false destructive: false idempotent: false call: spot-elastigroup-deployments.rollelastigroupaws with: groupId: tools.groupId body: tools.body outputParameters: - type: object mapping: $. - name: spot-list-rolls-aws description: Spot List Rolls (aws) hints: readOnly: true destructive: false idempotent: true call: spot-elastigroup-deployments.listrollsaws with: groupId: tools.groupId outputParameters: - type: object mapping: $. - name: spot-get-roll-status-aws description: Spot Get Roll Status (aws) hints: readOnly: true destructive: false idempotent: true call: spot-elastigroup-deployments.getrollstatusaws with: groupId: tools.groupId rollId: tools.rollId outputParameters: - type: object mapping: $. - name: spot-stop-roll-aws description: Spot Stop Roll (aws) hints: readOnly: false destructive: false idempotent: true call: spot-elastigroup-deployments.stoprollaws with: groupId: tools.groupId rollId: tools.rollId body: tools.body outputParameters: - type: object mapping: $.