Datasource API

Get Tables

GET https://<env>.ebbot.app/v3/api/services/data-sources/:connectionId/tables

This endpoint allows you to get free cakes.

Path Parameters

NameTypeDescription

connectionId

string

ID of the connection for which to return the parameter tables.

Headers

NameTypeDescription

Authentication

string

Authentication token

{
    success: true,
    data: [
        {
            _id: "string",
            name: "string",
            description: "string",
            bot_id: "string",
            connection_id: "string",
            created_at: "string",
            updated_at: "string"
        }
    ]
}

Get data

GET https://<env>.ebbot.app/v3/api/services/data-sources/:connectionId/tables/:tableId

Path Parameters

NameTypeDescription

tableId

string

ID of the data table

connectionId

string

ID of the connection

Query Parameters

NameTypeDescription

<field>

string

Any field from the table structure can be passed as a parameter to reduce the search scope.

strict

boolean

Specifies the operator used in the query. AND for strict true, OR for false. If not specified defaults to true

page

integer

Returns the results with an offset of page x limit

limit

integer

Limits the number of results returned. If not specified defaults to 10.

Headers

NameTypeDescription

Authentication

string

Authentication token

{
    success: true,
    data: {
        data: [
            {
                _id: "string",
                name: "string",
                keys: "object",
                data: "array",
                description: "string",
                bot_id: "string",
                connection_id: "string",
                created_at: "string",
                updated_at: "string"
            }
        ],
        meta: {
            count: "number",
            page: "number",
            limit: "number"
        }
    }
        
}

Last updated