naftiko: 1.0.0-alpha2 info: label: Appian Deployment REST API — Inspection description: 'Appian Deployment REST API — Inspection. 2 operations. Lead operation: Appian Inspect a package before deployment. Self-contained Naftiko capability covering one Appian business surface.' tags: - Appian - Inspection created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APPIAN_API_KEY: APPIAN_API_KEY capability: consumes: - type: http namespace: deployment-rest-inspection baseUri: https://{domain}/suite/deployment-management/v2 description: Appian Deployment REST API — Inspection business capability. Self-contained, no shared references. resources: - name: inspections path: /inspections operations: - name: createinspection method: POST description: Appian Inspect a package before deployment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: inspections-inspectionUuid path: /inspections/{inspectionUuid} operations: - name: getinspectionresults method: GET description: Appian Get inspection results outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: appian-api-key value: '{{env.APPIAN_API_KEY}}' placement: header exposes: - type: rest namespace: deployment-rest-inspection-rest port: 8080 description: REST adapter for Appian Deployment REST API — Inspection. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/inspections name: inspections description: REST surface for inspections. operations: - method: POST name: createinspection description: Appian Inspect a package before deployment call: deployment-rest-inspection.createinspection with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/inspections/{inspectionuuid} name: inspections-inspectionuuid description: REST surface for inspections-inspectionUuid. operations: - method: GET name: getinspectionresults description: Appian Get inspection results call: deployment-rest-inspection.getinspectionresults outputParameters: - type: object mapping: $. - type: mcp namespace: deployment-rest-inspection-mcp port: 9090 transport: http description: MCP adapter for Appian Deployment REST API — Inspection. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: appian-inspect-package-before-deployment description: Appian Inspect a package before deployment hints: readOnly: false destructive: false idempotent: false call: deployment-rest-inspection.createinspection with: body: tools.body outputParameters: - type: object mapping: $. - name: appian-get-inspection-results description: Appian Get inspection results hints: readOnly: true destructive: false idempotent: true call: deployment-rest-inspection.getinspectionresults outputParameters: - type: object mapping: $.