Constructors

Methods

  • Get a single row by ID from the published version of a table. Note: This endpoint can be accessed without any authentication, if the table is set to be allowed for public access. Get a table row

    Parameters

    • tableIdOrName: string

      The ID or name of the table

    • rowId: string

      The ID of the row

    • Optionalarchived: boolean
    • Optional_options: Configuration

    Returns Promise<HubDbTableRowV3>

  • Returns a set of rows in the published version of the specified table. Row results can be filtered and sorted. Filtering and sorting options will be sent as query parameters to the API request. For example, by adding the query parameters column1__gt=5&sort=-column1, API returns the rows with values for column column1 greater than 5 and in the descending order of column1 values. Refer to the overview section for detailed filtering and sorting options. Note: This endpoint can be accessed without any authentication, if the table is set to be allowed for public access. Get rows for a table

    Parameters

    • tableIdOrName: string

      The ID or name of the table to query.

    • Optionalsort: string[]

      Specifies the column names to sort the results by. See the above description for more details.

    • Optionalafter: string

      The cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results.

    • Optionallimit: number

      The maximum number of results to return. Default is `1000`.

    • Optionalproperties: string[]

      Specify the column names to get results containing only the required columns instead of all column details.

    • Optionaloffset: number
    • Optionalarchived: boolean
    • Optional_options: Configuration

    Returns Promise<UnifiedCollectionResponseWithTotalBaseHubDbTableRowV3>

  • Returns a set of rows in the published version of the specified table. Row results can be filtered and sorted. Filtering and sorting options will be sent as query parameters to the API request. For example, by adding the query parameters column1__gt=5&sort=-column1, API returns the rows with values for column column1 greater than 5 and in the descending order of column1 values. Refer to the overview section for detailed filtering and sorting options. Note: This endpoint can be accessed without any authentication, if the table is set to be allowed for public access. Get rows for a table

    Parameters

    • tableIdOrName: string

      The ID or name of the table to query.

    • Optionalsort: string[]

      Specifies the column names to sort the results by. See the above description for more details.

    • Optionalafter: string

      The cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results.

    • Optionallimit: number

      The maximum number of results to return. Default is `1000`.

    • Optionalproperties: string[]

      Specify the column names to get results containing only the required columns instead of all column details.

    • Optionaloffset: number
    • Optionalarchived: boolean
    • Optional_options: Configuration

    Returns Promise<HttpInfo<UnifiedCollectionResponseWithTotalBaseHubDbTableRowV3>>

  • Get a single row by ID from the published version of a table. Note: This endpoint can be accessed without any authentication, if the table is set to be allowed for public access. Get a table row

    Parameters

    • tableIdOrName: string

      The ID or name of the table

    • rowId: string

      The ID of the row

    • Optionalarchived: boolean
    • Optional_options: Configuration

    Returns Promise<HttpInfo<HubDbTableRowV3>>

  • Permanently deletes a row from a table's draft version. Permanently deletes a row

    Parameters

    • tableIdOrName: string

      The ID or name of the table

    • rowId: string

      The ID of the row

    • Optional_options: Configuration

    Returns Promise<void>

  • Permanently deletes a row from a table's draft version. Permanently deletes a row

    Parameters

    • tableIdOrName: string

      The ID or name of the table

    • rowId: string

      The ID of the row

    • Optional_options: Configuration

    Returns Promise<HttpInfo<void>>

  • Returns rows in the draft version of the specified table. Row results can be filtered and sorted. Filtering and sorting options will be sent as query parameters to the API request. For example, by adding the query parameters column1__gt=5&sort=-column1, API returns the rows with values for column column1 greater than 5 and in the descending order of column1 values. Refer to the overview section for detailed filtering and sorting options. Get rows from draft table

    Parameters

    • tableIdOrName: string

      The ID or name of the table to query.

    • Optionalsort: string[]

      Specifies the column names to sort the results by.

    • Optionalafter: string

      The cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results.

    • Optionallimit: number

      The maximum number of results to return. Default is `1000`.

    • Optionalproperties: string[]

      Specify the column names to get results containing only the required columns instead of all column details. If you want to include multiple columns in the result, use this query param as many times.

    • Optionaloffset: number
    • Optionalarchived: boolean
    • Optional_options: Configuration

    Returns Promise<UnifiedCollectionResponseWithTotalBaseHubDbTableRowV3>

  • Returns rows in the draft version of the specified table. Row results can be filtered and sorted. Filtering and sorting options will be sent as query parameters to the API request. For example, by adding the query parameters column1__gt=5&sort=-column1, API returns the rows with values for column column1 greater than 5 and in the descending order of column1 values. Refer to the overview section for detailed filtering and sorting options. Get rows from draft table

    Parameters

    • tableIdOrName: string

      The ID or name of the table to query.

    • Optionalsort: string[]

      Specifies the column names to sort the results by.

    • Optionalafter: string

      The cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results.

    • Optionallimit: number

      The maximum number of results to return. Default is `1000`.

    • Optionalproperties: string[]

      Specify the column names to get results containing only the required columns instead of all column details. If you want to include multiple columns in the result, use this query param as many times.

    • Optionaloffset: number
    • Optionalarchived: boolean
    • Optional_options: Configuration

    Returns Promise<HttpInfo<UnifiedCollectionResponseWithTotalBaseHubDbTableRowV3>>

  • Replace a single row in the draft version of a table. All column values must be specified. If a column has a value in the target table and this request doesn't define that value, it will be deleted. See the "Create a row" endpoint for instructions on how to format the JSON row definitions. Replaces an existing row

    Parameters

    Returns Promise<HubDbTableRowV3>

  • Replace a single row in the draft version of a table. All column values must be specified. If a column has a value in the target table and this request doesn't define that value, it will be deleted. See the "Create a row" endpoint for instructions on how to format the JSON row definitions. Replaces an existing row

    Parameters

    Returns Promise<HttpInfo<HubDbTableRowV3>>

  • Sparse updates a single row in the table's draft version. All the column values need not be specified. Only the columns or fields that needs to be modified can be specified. See the "Create a row" endpoint for instructions on how to format the JSON row definitions. Updates an existing row

    Parameters

    Returns Promise<HubDbTableRowV3>

  • Sparse updates a single row in the table's draft version. All the column values need not be specified. Only the columns or fields that needs to be modified can be specified. See the "Create a row" endpoint for instructions on how to format the JSON row definitions. Updates an existing row

    Parameters

    Returns Promise<HttpInfo<HubDbTableRowV3>>