naftiko: 1.0.0-alpha2 info: label: JFrog Artifactory Build Integration API — Build Promotion description: 'JFrog Artifactory Build Integration API — Build Promotion. 1 operations. Lead operation: Promote Build. Self-contained Naftiko capability covering one Artifactory business surface.' tags: - Artifactory - Build Promotion created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ARTIFACTORY_API_KEY: ARTIFACTORY_API_KEY capability: consumes: - type: http namespace: build-integration-build-promotion baseUri: https://{server}/artifactory description: JFrog Artifactory Build Integration API — Build Promotion business capability. Self-contained, no shared references. resources: - name: api-build-promote-buildName-buildNumber path: /api/build/promote/{buildName}/{buildNumber} operations: - name: promotebuild method: POST description: Promote Build outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.ARTIFACTORY_API_KEY}}' exposes: - type: rest namespace: build-integration-build-promotion-rest port: 8080 description: REST adapter for JFrog Artifactory Build Integration API — Build Promotion. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/build/promote/{buildname}/{buildnumber} name: api-build-promote-buildname-buildnumber description: REST surface for api-build-promote-buildName-buildNumber. operations: - method: POST name: promotebuild description: Promote Build call: build-integration-build-promotion.promotebuild with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: build-integration-build-promotion-mcp port: 9090 transport: http description: MCP adapter for JFrog Artifactory Build Integration API — Build Promotion. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: promote-build description: Promote Build hints: readOnly: false destructive: false idempotent: false call: build-integration-build-promotion.promotebuild with: body: tools.body outputParameters: - type: object mapping: $.