Sync
Get all syncs
GET
/
syncs
Authorization
curl --request GET \
--url https://api.fabra.io/syncs \
--header 'X-API-KEY: <x-api-key>'
{
"syncs": [
{
"cursor_field": "updated_at",
"custom_join": "select * from events join additional_properties on events.id = additional_properties.event_id;",
"destination_id": 2,
"display_name": "Event Sync",
"end_customer_id": "abc123",
"field_mappings": [
{
"destination_field_name": "event",
"source_field_name": "event_name"
}
],
"frequency": 123,
"frequency_units": "minutes",
"id": 10,
"namespace": "end_customer_bigquery_dataset",
"object_id": 3,
"primary_key": "event_id",
"source_id": 1,
"table_name": "end_customer_events"
}
]
}
Authorizations
X-API-KEY
string
headerrequiredResponse
200 - application/json
syncs
object[]
curl --request GET \
--url https://api.fabra.io/syncs \
--header 'X-API-KEY: <x-api-key>'
{
"syncs": [
{
"cursor_field": "updated_at",
"custom_join": "select * from events join additional_properties on events.id = additional_properties.event_id;",
"destination_id": 2,
"display_name": "Event Sync",
"end_customer_id": "abc123",
"field_mappings": [
{
"destination_field_name": "event",
"source_field_name": "event_name"
}
],
"frequency": 123,
"frequency_units": "minutes",
"id": 10,
"namespace": "end_customer_bigquery_dataset",
"object_id": 3,
"primary_key": "event_id",
"source_id": 1,
"table_name": "end_customer_events"
}
]
}