I’m handing a finished client project (about 1 TB, a few hundred files) from my Frame.io V4 account to my client’s own account. Support confirmed there’s no way to move projects between accounts, so I’m copying it server to server with the V4 API:
GET /v4/accounts/{my_account}/files/{id}?include=media_links.original to get the presigned download_url
POST /v4/accounts/{client_account}/folders/{folder_id}/files/remote_upload with that URL as source_url
I’m an Admin in both accounts and use one OAuth user token through Adobe IMS.
Questions:
Does remote upload accept a Frame.io presigned download_url as source_url? How long does that URL stay valid?
Is there a rate limit or concurrency limit for bulk remote uploads? How many should I run in parallel?
Is there a better supported way to copy a project between two accounts that I’m a member of?
Hi @pharrell
Yes, you should be able to use the download URL as your source URL. You should also be able to use your one OAuth token for both calls. The download URLs are valid for up to 24 hours. The rate limit for the remote upload endpoint is 5 calls per 1 second per account user.
As for a better supported way to copy the project, this workflow is solid. One suggestion that could help depending on project structure is to fetch a list of folder children for a given folder, with media links included.
That way you don’t need to call Show File for each file individually, and can get download URLs for multiple files with one call. This might also be a natural workflow if you’re planning on batching requests since you can just work through the project folder by folder.
One thing to note for this approach is that you should keep pagination in mind if the folder has more files than one response can fit. You can adjust the number returned using the page_size parameter. The default is 50, and the maximum is 500.
Another option that doesn’t use the API is Frame.io Drive with mounted storage. Since you’re in both accounts, you can mount the original and destination projects and copy files between them.
If you’re moving 1 TB you’ll want to make sure the destination account has enough storage available, which is initially determined by plan level. Linking a Help Center on this below in case you want to explore this option a bit more: