Overview

A REST API integration is, actually, a custom integration completely fitting the customer's needs. Different from other types of integration, this one is characterized by the fact that the customer itself chooses how and when to populate the data, with the following life cycle:

What is needed to configure an integration?

The only thing that is needed to configure an integration of this type, and only on integration creation, is the streams to use. These are declared with the columns they will expect (e.g. a stream with 3 fields: foo, bar, baz; and then another stream with more fields).

Is there any limitation on databases and data types?

On stream configuration, there is a list of supported fields:

To ease the upload of streams with a large amount of columns you can copy paste from a text file your column name and type.

Screen Shot 2023-01-27 at 5.59.48 PM.png

Below is a code example on how to create a csv that contains your table schema so that you can copy the text from a text editor and paste it inside Datagran in the Column Schema field.

import pandas as pd

# Read in the CSV file with a comma delimiter
df = pd.read_csv('test.csv', sep=',')

# create another csv file with a different name
df.to_csv('data_new.csv', sep=',', header=False, index=False)