naftiko: 1.0.0-alpha2 info: label: API Reference — LicenseService description: 'API Reference — LicenseService. 3 operations. Lead operation: LicenseService. Self-contained Naftiko capability covering one Stackrox business surface.' tags: - Stackrox - LicenseService created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: STACKROX_API_KEY: STACKROX_API_KEY capability: consumes: - type: http namespace: stackrox-licenseservice baseUri: https://{central-host} description: API Reference — LicenseService business capability. Self-contained, no shared references. resources: - name: v1-licenses-add path: /v1/licenses/add operations: - name: addlicense method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-licenses-expiration path: /v1/licenses/expiration operations: - name: getactivelicenseexpiration method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-licenses-list path: /v1/licenses/list operations: - name: getlicenses method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: active in: query type: boolean - name: statuses in: query type: array authentication: type: apikey key: Authorization value: '{{env.STACKROX_API_KEY}}' placement: header exposes: - type: rest namespace: stackrox-licenseservice-rest port: 8080 description: REST adapter for API Reference — LicenseService. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/licenses/add name: v1-licenses-add description: REST surface for v1-licenses-add. operations: - method: POST name: addlicense description: addlicense call: stackrox-licenseservice.addlicense with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/licenses/expiration name: v1-licenses-expiration description: REST surface for v1-licenses-expiration. operations: - method: GET name: getactivelicenseexpiration description: getactivelicenseexpiration call: stackrox-licenseservice.getactivelicenseexpiration outputParameters: - type: object mapping: $. - path: /v1/v1/licenses/list name: v1-licenses-list description: REST surface for v1-licenses-list. operations: - method: GET name: getlicenses description: getlicenses call: stackrox-licenseservice.getlicenses with: active: rest.active statuses: rest.statuses outputParameters: - type: object mapping: $. - type: mcp namespace: stackrox-licenseservice-mcp port: 9090 transport: http description: MCP adapter for API Reference — LicenseService. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: addlicense description: addlicense hints: readOnly: false destructive: false idempotent: false call: stackrox-licenseservice.addlicense with: body: tools.body outputParameters: - type: object mapping: $. - name: getactivelicenseexpiration description: getactivelicenseexpiration hints: readOnly: true destructive: false idempotent: true call: stackrox-licenseservice.getactivelicenseexpiration outputParameters: - type: object mapping: $. - name: getlicenses description: getlicenses hints: readOnly: true destructive: false idempotent: true call: stackrox-licenseservice.getlicenses with: active: tools.active statuses: tools.statuses outputParameters: - type: object mapping: $.