curl --request POST \
--url https://ardent-sandpiper-70.convex.cloud/api/run/svc/flow_def/action/sync_batch/run \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"args": {
"baggage": {
"trace_id": "<string>",
"traffic_type": "external"
},
"flows": [
{
"files": [
{
"content": "<string>",
"hash": "<string>",
"path": "<string>"
}
],
"flow_path": "<string>"
}
],
"repo_name": "<string>",
"repo_owner": "<string>",
"delete_missing": true
}
}
'{
"status": "success",
"errorMessage": "<string>",
"errorData": {},
"value": {
"files_created": 123,
"files_deleted": 123,
"files_updated": 123,
"flows_synced": 123,
"skipped": true
}
}curl --request POST \
--url https://ardent-sandpiper-70.convex.cloud/api/run/svc/flow_def/action/sync_batch/run \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"args": {
"baggage": {
"trace_id": "<string>",
"traffic_type": "external"
},
"flows": [
{
"files": [
{
"content": "<string>",
"hash": "<string>",
"path": "<string>"
}
],
"flow_path": "<string>"
}
],
"repo_name": "<string>",
"repo_owner": "<string>",
"delete_missing": true
}
}
'{
"status": "success",
"errorMessage": "<string>",
"errorData": {},
"value": {
"files_created": 123,
"files_deleted": 123,
"files_updated": 123,
"flows_synced": 123,
"skipped": true
}
}Token of the format "Bearer {token}" for normal authentication and "Convex {token}" for admin tokens.
Show child attributes