naftiko: 1.0.0-alpha2 info: label: GitBook API — Change Request Content description: 'GitBook API — Change Request Content. 3 operations. Lead operation: GitBook Get change request content. Self-contained Naftiko capability covering one Gitbook business surface.' tags: - Gitbook - Change Request Content created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITBOOK_API_KEY: GITBOOK_API_KEY capability: consumes: - type: http namespace: gitbook-change-request-content baseUri: https://api.gitbook.com/v1 description: GitBook API — Change Request Content business capability. Self-contained, no shared references. resources: - name: spaces-spaceId-change-requests-changeRequestId-content path: /spaces/{spaceId}/change-requests/{changeRequestId}/content operations: - name: getchangerequestcontent method: GET description: GitBook Get change request content outputRawFormat: json outputParameters: - name: result type: object value: $. - name: spaces-spaceId-change-requests-changeRequestId-content-page-pageId path: /spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId} operations: - name: getpageinchangerequest method: GET description: GitBook Get a page in a change request outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatepageinchangerequest method: PUT description: GitBook Update a page in a change request 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.GITBOOK_API_KEY}}' exposes: - type: rest namespace: gitbook-change-request-content-rest port: 8080 description: REST adapter for GitBook API — Change Request Content. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/spaces/{spaceid}/change-requests/{changerequestid}/content name: spaces-spaceid-change-requests-changerequestid-content description: REST surface for spaces-spaceId-change-requests-changeRequestId-content. operations: - method: GET name: getchangerequestcontent description: GitBook Get change request content call: gitbook-change-request-content.getchangerequestcontent outputParameters: - type: object mapping: $. - path: /v1/spaces/{spaceid}/change-requests/{changerequestid}/content/page/{pageid} name: spaces-spaceid-change-requests-changerequestid-content-page-pageid description: REST surface for spaces-spaceId-change-requests-changeRequestId-content-page-pageId. operations: - method: GET name: getpageinchangerequest description: GitBook Get a page in a change request call: gitbook-change-request-content.getpageinchangerequest outputParameters: - type: object mapping: $. - method: PUT name: updatepageinchangerequest description: GitBook Update a page in a change request call: gitbook-change-request-content.updatepageinchangerequest with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: gitbook-change-request-content-mcp port: 9090 transport: http description: MCP adapter for GitBook API — Change Request Content. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: gitbook-get-change-request-content description: GitBook Get change request content hints: readOnly: true destructive: false idempotent: true call: gitbook-change-request-content.getchangerequestcontent outputParameters: - type: object mapping: $. - name: gitbook-get-page-change-request description: GitBook Get a page in a change request hints: readOnly: true destructive: false idempotent: true call: gitbook-change-request-content.getpageinchangerequest outputParameters: - type: object mapping: $. - name: gitbook-update-page-change-request description: GitBook Update a page in a change request hints: readOnly: false destructive: false idempotent: true call: gitbook-change-request-content.updatepageinchangerequest with: body: tools.body outputParameters: - type: object mapping: $.