naftiko: 1.0.0-alpha2 info: label: HubSpot CRM Tickets API — Batch description: 'HubSpot CRM Tickets API — Batch. 4 operations. Lead operation: Hubspot Batch Archive Tickets. Self-contained Naftiko capability covering one Hubspot business surface.' tags: - Hubspot - Batch created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: HUBSPOT_API_KEY: HUBSPOT_API_KEY capability: consumes: - type: http namespace: crm-tickets-batch baseUri: https://api.hubapi.com description: HubSpot CRM Tickets API — Batch business capability. Self-contained, no shared references. resources: - name: crm-v3-objects-tickets-batch-archive path: /crm/v3/objects/tickets/batch/archive operations: - name: batcharchivetickets method: POST description: Hubspot Batch Archive Tickets outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: crm-v3-objects-tickets-batch-create path: /crm/v3/objects/tickets/batch/create operations: - name: batchcreatetickets method: POST description: Hubspot Batch Create Tickets outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: crm-v3-objects-tickets-batch-read path: /crm/v3/objects/tickets/batch/read operations: - name: batchreadtickets method: POST description: Hubspot Batch Read Tickets outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: crm-v3-objects-tickets-batch-update path: /crm/v3/objects/tickets/batch/update operations: - name: batchupdatetickets method: POST description: Hubspot Batch Update Tickets 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.HUBSPOT_API_KEY}}' exposes: - type: rest namespace: crm-tickets-batch-rest port: 8080 description: REST adapter for HubSpot CRM Tickets API — Batch. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/crm/v3/objects/tickets/batch/archive name: crm-v3-objects-tickets-batch-archive description: REST surface for crm-v3-objects-tickets-batch-archive. operations: - method: POST name: batcharchivetickets description: Hubspot Batch Archive Tickets call: crm-tickets-batch.batcharchivetickets with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/crm/v3/objects/tickets/batch/create name: crm-v3-objects-tickets-batch-create description: REST surface for crm-v3-objects-tickets-batch-create. operations: - method: POST name: batchcreatetickets description: Hubspot Batch Create Tickets call: crm-tickets-batch.batchcreatetickets with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/crm/v3/objects/tickets/batch/read name: crm-v3-objects-tickets-batch-read description: REST surface for crm-v3-objects-tickets-batch-read. operations: - method: POST name: batchreadtickets description: Hubspot Batch Read Tickets call: crm-tickets-batch.batchreadtickets with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/crm/v3/objects/tickets/batch/update name: crm-v3-objects-tickets-batch-update description: REST surface for crm-v3-objects-tickets-batch-update. operations: - method: POST name: batchupdatetickets description: Hubspot Batch Update Tickets call: crm-tickets-batch.batchupdatetickets with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: crm-tickets-batch-mcp port: 9090 transport: http description: MCP adapter for HubSpot CRM Tickets API — Batch. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: hubspot-batch-archive-tickets description: Hubspot Batch Archive Tickets hints: readOnly: false destructive: false idempotent: false call: crm-tickets-batch.batcharchivetickets with: body: tools.body outputParameters: - type: object mapping: $. - name: hubspot-batch-create-tickets description: Hubspot Batch Create Tickets hints: readOnly: false destructive: false idempotent: false call: crm-tickets-batch.batchcreatetickets with: body: tools.body outputParameters: - type: object mapping: $. - name: hubspot-batch-read-tickets description: Hubspot Batch Read Tickets hints: readOnly: false destructive: false idempotent: false call: crm-tickets-batch.batchreadtickets with: body: tools.body outputParameters: - type: object mapping: $. - name: hubspot-batch-update-tickets description: Hubspot Batch Update Tickets hints: readOnly: false destructive: false idempotent: false call: crm-tickets-batch.batchupdatetickets with: body: tools.body outputParameters: - type: object mapping: $.