naftiko: 1.0.0-alpha2 info: label: HubSpot CMS HubDB API — Rows description: 'HubSpot CMS HubDB API — Rows. 5 operations. Lead operation: Hubspot List Hubdb Table Rows. Self-contained Naftiko capability covering one Hubspot business surface.' tags: - Hubspot - Rows created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: HUBSPOT_API_KEY: HUBSPOT_API_KEY capability: consumes: - type: http namespace: cms-hubdb-rows baseUri: https://api.hubapi.com description: HubSpot CMS HubDB API — Rows business capability. Self-contained, no shared references. resources: - name: cms-v3-hubdb-tables-tableIdOrName-rows path: /cms/v3/hubdb/tables/{tableIdOrName}/rows operations: - name: listhubdbtablerows method: GET description: Hubspot List Hubdb Table Rows outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: tableIdOrName in: path type: string description: The ID or name of the HubDB table. required: true - name: sort in: query type: string description: Column to sort results by. - name: after in: query type: string description: The cursor for pagination to get the next page of results. - name: limit in: query type: integer description: The maximum number of results to return per page. - name: properties in: query type: string description: A comma-separated list of column names to return. - name: addhubdbtablerow method: POST description: Hubspot Add a Row to a Hubdb Table outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: tableIdOrName in: path type: string description: The ID or name of the HubDB table to add a row to. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: cms-v3-hubdb-tables-tableIdOrName-rows-rowId path: /cms/v3/hubdb/tables/{tableIdOrName}/rows/{rowId} operations: - name: gethubdbtablerow method: GET description: Hubspot Get a Hubdb Table Row outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: tableIdOrName in: path type: string description: The ID or name of the HubDB table. required: true - name: rowId in: path type: string description: The ID of the row to retrieve. required: true - name: updatehubdbtablerow method: PATCH description: Hubspot Update a Hubdb Table Row outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: tableIdOrName in: path type: string description: The ID or name of the HubDB table. required: true - name: rowId in: path type: string description: The ID of the row to update. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletehubdbtablerow method: DELETE description: Hubspot Delete a Hubdb Table Row outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: tableIdOrName in: path type: string description: The ID or name of the HubDB table. required: true - name: rowId in: path type: string description: The ID of the row to delete. required: true authentication: type: bearer token: '{{env.HUBSPOT_API_KEY}}' exposes: - type: rest namespace: cms-hubdb-rows-rest port: 8080 description: REST adapter for HubSpot CMS HubDB API — Rows. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/cms/v3/hubdb/tables/{tableidorname}/rows name: cms-v3-hubdb-tables-tableidorname-rows description: REST surface for cms-v3-hubdb-tables-tableIdOrName-rows. operations: - method: GET name: listhubdbtablerows description: Hubspot List Hubdb Table Rows call: cms-hubdb-rows.listhubdbtablerows with: tableIdOrName: rest.tableIdOrName sort: rest.sort after: rest.after limit: rest.limit properties: rest.properties outputParameters: - type: object mapping: $. - method: POST name: addhubdbtablerow description: Hubspot Add a Row to a Hubdb Table call: cms-hubdb-rows.addhubdbtablerow with: tableIdOrName: rest.tableIdOrName body: rest.body outputParameters: - type: object mapping: $. - path: /v1/cms/v3/hubdb/tables/{tableidorname}/rows/{rowid} name: cms-v3-hubdb-tables-tableidorname-rows-rowid description: REST surface for cms-v3-hubdb-tables-tableIdOrName-rows-rowId. operations: - method: GET name: gethubdbtablerow description: Hubspot Get a Hubdb Table Row call: cms-hubdb-rows.gethubdbtablerow with: tableIdOrName: rest.tableIdOrName rowId: rest.rowId outputParameters: - type: object mapping: $. - method: PATCH name: updatehubdbtablerow description: Hubspot Update a Hubdb Table Row call: cms-hubdb-rows.updatehubdbtablerow with: tableIdOrName: rest.tableIdOrName rowId: rest.rowId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletehubdbtablerow description: Hubspot Delete a Hubdb Table Row call: cms-hubdb-rows.deletehubdbtablerow with: tableIdOrName: rest.tableIdOrName rowId: rest.rowId outputParameters: - type: object mapping: $. - type: mcp namespace: cms-hubdb-rows-mcp port: 9090 transport: http description: MCP adapter for HubSpot CMS HubDB API — Rows. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: hubspot-list-hubdb-table-rows description: Hubspot List Hubdb Table Rows hints: readOnly: true destructive: false idempotent: true call: cms-hubdb-rows.listhubdbtablerows with: tableIdOrName: tools.tableIdOrName sort: tools.sort after: tools.after limit: tools.limit properties: tools.properties outputParameters: - type: object mapping: $. - name: hubspot-add-row-hubdb-table description: Hubspot Add a Row to a Hubdb Table hints: readOnly: false destructive: false idempotent: false call: cms-hubdb-rows.addhubdbtablerow with: tableIdOrName: tools.tableIdOrName body: tools.body outputParameters: - type: object mapping: $. - name: hubspot-get-hubdb-table-row description: Hubspot Get a Hubdb Table Row hints: readOnly: true destructive: false idempotent: true call: cms-hubdb-rows.gethubdbtablerow with: tableIdOrName: tools.tableIdOrName rowId: tools.rowId outputParameters: - type: object mapping: $. - name: hubspot-update-hubdb-table-row description: Hubspot Update a Hubdb Table Row hints: readOnly: false destructive: false idempotent: true call: cms-hubdb-rows.updatehubdbtablerow with: tableIdOrName: tools.tableIdOrName rowId: tools.rowId body: tools.body outputParameters: - type: object mapping: $. - name: hubspot-delete-hubdb-table-row description: Hubspot Delete a Hubdb Table Row hints: readOnly: false destructive: true idempotent: true call: cms-hubdb-rows.deletehubdbtablerow with: tableIdOrName: tools.tableIdOrName rowId: tools.rowId outputParameters: - type: object mapping: $.