naftiko: 1.0.0-alpha2 info: label: Konnect API - Go SDK — API Package Documentation description: 'Konnect API - Go SDK — API Package Documentation. 6 operations. Lead operation: Create API Package Document. Self-contained Naftiko capability covering one Kong business surface.' tags: - Kong - API Package Documentation created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: KONG_API_KEY: KONG_API_KEY capability: consumes: - type: http namespace: konnect-platform-api-package-documentation baseUri: https://global.api.konghq.com description: Konnect API - Go SDK — API Package Documentation business capability. Self-contained, no shared references. resources: - name: v3-api-packages-packageId-documents path: /v3/api-packages/{packageId}/documents operations: - name: createapipackagedocument method: POST description: Create API Package Document outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: listapipackagedocuments method: GET description: List API Package Documents outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v3-api-packages-packageId-documents-documentId path: /v3/api-packages/{packageId}/documents/{documentId} operations: - name: fetchapipackagedocument method: GET description: Get an API Package Document outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateapipackagedocument method: PATCH description: Update API Package Document outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: deleteapipackagedocument method: DELETE description: Delete API Package Documentation outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v3-api-packages-packageId-documents-documentId-move path: /v3/api-packages/{packageId}/documents/{documentId}/move operations: - name: moveapipackagedocument method: POST description: Move API Package Documentation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.KONG_API_KEY}}' exposes: - type: rest namespace: konnect-platform-api-package-documentation-rest port: 8080 description: REST adapter for Konnect API - Go SDK — API Package Documentation. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v3/api-packages/{packageid}/documents name: v3-api-packages-packageid-documents description: REST surface for v3-api-packages-packageId-documents. operations: - method: POST name: createapipackagedocument description: Create API Package Document call: konnect-platform-api-package-documentation.createapipackagedocument with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listapipackagedocuments description: List API Package Documents call: konnect-platform-api-package-documentation.listapipackagedocuments outputParameters: - type: object mapping: $. - path: /v1/v3/api-packages/{packageid}/documents/{documentid} name: v3-api-packages-packageid-documents-documentid description: REST surface for v3-api-packages-packageId-documents-documentId. operations: - method: GET name: fetchapipackagedocument description: Get an API Package Document call: konnect-platform-api-package-documentation.fetchapipackagedocument outputParameters: - type: object mapping: $. - method: PATCH name: updateapipackagedocument description: Update API Package Document call: konnect-platform-api-package-documentation.updateapipackagedocument with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteapipackagedocument description: Delete API Package Documentation call: konnect-platform-api-package-documentation.deleteapipackagedocument outputParameters: - type: object mapping: $. - path: /v1/v3/api-packages/{packageid}/documents/{documentid}/move name: v3-api-packages-packageid-documents-documentid-move description: REST surface for v3-api-packages-packageId-documents-documentId-move. operations: - method: POST name: moveapipackagedocument description: Move API Package Documentation call: konnect-platform-api-package-documentation.moveapipackagedocument with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: konnect-platform-api-package-documentation-mcp port: 9090 transport: http description: MCP adapter for Konnect API - Go SDK — API Package Documentation. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-api-package-document description: Create API Package Document hints: readOnly: false destructive: false idempotent: false call: konnect-platform-api-package-documentation.createapipackagedocument with: body: tools.body outputParameters: - type: object mapping: $. - name: list-api-package-documents description: List API Package Documents hints: readOnly: true destructive: false idempotent: true call: konnect-platform-api-package-documentation.listapipackagedocuments outputParameters: - type: object mapping: $. - name: get-api-package-document description: Get an API Package Document hints: readOnly: true destructive: false idempotent: true call: konnect-platform-api-package-documentation.fetchapipackagedocument outputParameters: - type: object mapping: $. - name: update-api-package-document description: Update API Package Document hints: readOnly: false destructive: false idempotent: true call: konnect-platform-api-package-documentation.updateapipackagedocument with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-api-package-documentation description: Delete API Package Documentation hints: readOnly: false destructive: true idempotent: true call: konnect-platform-api-package-documentation.deleteapipackagedocument outputParameters: - type: object mapping: $. - name: move-api-package-documentation description: Move API Package Documentation hints: readOnly: false destructive: false idempotent: false call: konnect-platform-api-package-documentation.moveapipackagedocument with: body: tools.body outputParameters: - type: object mapping: $.