naftiko: 1.0.0-alpha2 info: label: Cvent REST APIs — Events+ Hub description: 'Cvent REST APIs — Events+ Hub. 2 operations. Lead operation: List Events+ Hubs. Self-contained Naftiko capability covering one business surface.' tags: - Cvent - Events+ Hub created: '2026-05-20' modified: '2026-05-20' binds: - namespace: env keys: CVENT_API_KEY: CVENT_API_KEY capability: consumes: - type: http namespace: rest-events-hub baseUri: https://api-platform.cvent.com/ea description: Cvent REST APIs — Events+ Hub business capability. Self-contained, no shared references. resources: - name: hubs path: /hubs operations: - name: listhubs method: GET description: List Events+ Hubs outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: [] - name: hubs-hubid-members path: /hubs/{hubId}/members operations: - name: gethubmembers method: GET description: Get Events+ Hub Members outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: hubId in: path type: string description: Path parameter hubId. required: true exposes: - type: rest namespace: rest-events-hub-rest port: 8080 description: REST adapter for Cvent REST APIs — Events+ Hub. One resource per consumed operation, prefixed with /v1. resources: - path: /v1/hubs name: hubs description: REST surface for hubs. operations: - method: GET name: listhubs description: List Events+ Hubs call: rest-events-hub.listhubs with: {} outputParameters: - type: object mapping: $. - path: /v1/hubs/{hubId}/members name: hubs-hubid-members description: REST surface for hubs-hubid-members. operations: - method: GET name: gethubmembers description: Get Events+ Hub Members call: rest-events-hub.gethubmembers with: hubId: rest.hubId outputParameters: - type: object mapping: $. - type: mcp namespace: rest-events-hub-mcp port: 9090 transport: http description: MCP adapter for Cvent REST APIs — Events+ Hub. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: cvent-listhubs description: List Events+ Hubs hints: readOnly: true destructive: false idempotent: true call: rest-events-hub.listhubs with: {} outputParameters: - type: object mapping: $. - name: cvent-gethubmembers description: Get Events+ Hub Members hints: readOnly: true destructive: false idempotent: true call: rest-events-hub.gethubmembers with: hubId: tools.hubId outputParameters: - type: object mapping: $.