naftiko: 1.0.0-alpha2 info: label: Dokploy API — licenseKey description: 'Dokploy API — licenseKey. 6 operations. Lead operation: licenseKey.activate. Self-contained Naftiko capability covering one Dokploy business surface.' tags: - Dokploy - licenseKey created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: DOKPLOY_API_KEY: DOKPLOY_API_KEY DOKPLOY_URL: DOKPLOY_URL capability: consumes: - type: http namespace: dokploy-license-key baseUri: ${DOKPLOY_URL}/api description: Dokploy API — licenseKey business capability. Self-contained, no shared references. resources: - name: activate path: /licenseKey.activate operations: - name: licenseKey-activate method: POST description: licenseKey-activate outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body required: true - name: validate path: /licenseKey.validate operations: - name: licenseKey-validate method: POST description: licenseKey-validate outputRawFormat: json outputParameters: - name: result type: object value: $. - name: deactivate path: /licenseKey.deactivate operations: - name: licenseKey-deactivate method: POST description: licenseKey-deactivate outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getEnterpriseSettings path: /licenseKey.getEnterpriseSettings operations: - name: licenseKey-getEnterpriseSettings method: GET description: licenseKey-getEnterpriseSettings outputRawFormat: json outputParameters: - name: result type: object value: $. - name: haveValidLicenseKey path: /licenseKey.haveValidLicenseKey operations: - name: licenseKey-haveValidLicenseKey method: GET description: licenseKey-haveValidLicenseKey outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateEnterpriseSettings path: /licenseKey.updateEnterpriseSettings operations: - name: licenseKey-updateEnterpriseSettings method: POST description: licenseKey-updateEnterpriseSettings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body required: true exposes: - type: rest namespace: dokploy-license-key-rest port: 8080 description: REST adapter for Dokploy API — licenseKey. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/licenseKey.activate name: activate description: REST surface for activate. operations: - method: POST name: licenseKey-activate description: licenseKey-activate call: dokploy-license-key.licenseKey-activate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/licenseKey.validate name: validate description: REST surface for validate. operations: - method: POST name: licenseKey-validate description: licenseKey-validate call: dokploy-license-key.licenseKey-validate outputParameters: - type: object mapping: $. - path: /v1/licenseKey.deactivate name: deactivate description: REST surface for deactivate. operations: - method: POST name: licenseKey-deactivate description: licenseKey-deactivate call: dokploy-license-key.licenseKey-deactivate outputParameters: - type: object mapping: $. - path: /v1/licenseKey.getEnterpriseSettings name: getEnterpriseSettings description: REST surface for getEnterpriseSettings. operations: - method: GET name: licenseKey-getEnterpriseSettings description: licenseKey-getEnterpriseSettings call: dokploy-license-key.licenseKey-getEnterpriseSettings outputParameters: - type: object mapping: $. - path: /v1/licenseKey.haveValidLicenseKey name: haveValidLicenseKey description: REST surface for haveValidLicenseKey. operations: - method: GET name: licenseKey-haveValidLicenseKey description: licenseKey-haveValidLicenseKey call: dokploy-license-key.licenseKey-haveValidLicenseKey outputParameters: - type: object mapping: $. - path: /v1/licenseKey.updateEnterpriseSettings name: updateEnterpriseSettings description: REST surface for updateEnterpriseSettings. operations: - method: POST name: licenseKey-updateEnterpriseSettings description: licenseKey-updateEnterpriseSettings call: dokploy-license-key.licenseKey-updateEnterpriseSettings with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: dokploy-license-key-mcp port: 9090 transport: http description: MCP adapter for Dokploy API — licenseKey. One tool per consumed operation, routed inline through this capability’s consumes block. tools: - name: licenseKey-activate description: licenseKey-activate hints: readOnly: false destructive: false idempotent: false call: dokploy-license-key.licenseKey-activate with: body: tools.body outputParameters: - type: object mapping: $. - name: licenseKey-validate description: licenseKey-validate hints: readOnly: false destructive: false idempotent: false call: dokploy-license-key.licenseKey-validate outputParameters: - type: object mapping: $. - name: licenseKey-deactivate description: licenseKey-deactivate hints: readOnly: false destructive: false idempotent: false call: dokploy-license-key.licenseKey-deactivate outputParameters: - type: object mapping: $. - name: licenseKey-getEnterpriseSettings description: licenseKey-getEnterpriseSettings hints: readOnly: true destructive: false idempotent: true call: dokploy-license-key.licenseKey-getEnterpriseSettings outputParameters: - type: object mapping: $. - name: licenseKey-haveValidLicenseKey description: licenseKey-haveValidLicenseKey hints: readOnly: true destructive: false idempotent: true call: dokploy-license-key.licenseKey-haveValidLicenseKey outputParameters: - type: object mapping: $. - name: licenseKey-updateEnterpriseSettings description: licenseKey-updateEnterpriseSettings hints: readOnly: false destructive: false idempotent: false call: dokploy-license-key.licenseKey-updateEnterpriseSettings with: body: tools.body outputParameters: - type: object mapping: $.