Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
curl --request PUT \
--url https://api.squared.ai/api/v1/syncs/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"sync": {
"source_id": 123,
"destination_id": 123,
"model_id": 123,
"schedule_type": "<string>",
"configuration": {},
"stream_name": "<string>",
"sync_mode": "<string>",
"sync_interval": 123,
"sync_interval_unit": "<string>",
"cron_expression": "<string>"
}
}'{
"success": true,
"message": "<string>",
"data": {
"id": "<string>",
"type": "syncs",
"attributes": {
"source_id": 123,
"destination_id": 123,
"model_id": 123,
"configuration": {},
"schedule_type": "automated",
"sync_mode": "full_refresh",
"sync_interval": 123,
"sync_interval_unit": "minutes",
"cron_expression": "<string>",
"cursor_field": "<string>",
"stream_name": "<string>",
"status": "<string>"
}
}
}curl --request PUT \
--url https://api.squared.ai/api/v1/syncs/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"sync": {
"source_id": 123,
"destination_id": 123,
"model_id": 123,
"schedule_type": "<string>",
"configuration": {},
"stream_name": "<string>",
"sync_mode": "<string>",
"sync_interval": 123,
"sync_interval_unit": "<string>",
"cron_expression": "<string>"
}
}'{
"success": true,
"message": "<string>",
"data": {
"id": "<string>",
"type": "syncs",
"attributes": {
"source_id": 123,
"destination_id": 123,
"model_id": 123,
"configuration": {},
"schedule_type": "automated",
"sync_mode": "full_refresh",
"sync_interval": 123,
"sync_interval_unit": "minutes",
"cron_expression": "<string>",
"cursor_field": "<string>",
"stream_name": "<string>",
"status": "<string>"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
Was this page helpful?