Newer Version Available

This content describes an older version of this product. View Latest

Create a Repository File with Content

This example calls addRepositoryItem(repositoryId, repositoryFolderId, file, filedata) to create a file with binary content in a Google Drive repository folder. After the file is created, we show the file’s ID, name, description, external URL, and download URL.