API ReferenceFiles
Start a file sync
Issues a one-time upload URL for syncing an external data source into a VU.CITY file. The file must have syncing enabled in the Hub. Accepts files up to 5 GB; the returned URL expires one hour after issue.
Authorization
oauth2ClientCredentials sync:createAuthorizationBearer <token>
Machine-to-machine only. There is no user-facing authorization step.
In: header
Scope: sync:create
Path Parameters
fileId*string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v0/files/file_01hq3n8k4e2r7yfp5m6z9x0abc/sync"{ "data": { "upload_url": "https://uploads.vu.city/files/file_01hq3n8k4e2r7yfp5m6z9x0abc/..." }}