![]() ![]() For more information see our generate_archive documentation and the complementary blog post. ![]() You can use our API to create a ZIP file containing up to 1000 assets, with a maximum size of 100 MB or your account's 'raw' file size limit (whichever is larger).For more details, please refer to our documentation: On any paid Cloudinary account you can choose to store backups of the files in your Cloudinary account in an Amazon S3 bucket or Google Cloud Storage bucket - the naming structure of the backup is different from how you see the files in Media Library, but this is a fast way to get a copy of all files if you can't use one of the above methods.For more details, please refer to the following: The sync command can use the search API to list all files, then download them to your computer or server. Our command line interface tool can be used to perform the same operation with the 'sync' command.The list will include the URL for accessing or downloading the original asset which can be done by using any HTTP library or downloading tool. If you're already using our SDK or API or if the account is very large, you can use the Admin API or Search API to list all resources in your account.Depending on your requirements, the size of your account, and whether you are using Cloudinary's UI or API, you can choose from the following options: This is the primary method used by Cloudinary's Product Gallery Widget to retrieve asset details, and typically the tag represents a product's SKU or other identifier.Cloudinary supports several ways to download many or all of your resources from your account. In such cases, the best solution is likely to use the Admin or Search API to populate your own database of assets, and use that database when building the frontend URLs.Īnother option which may be suitable if your frontend needs to retrieve the list of assets directly from Cloudinary is to add a common tag to assets that will be used together, and use a Client Side Asset List to fetch a list of assets matching that tag. ![]() Before running the code, inside the index.js file, please add your cloud_name, api_key, and api_secret associated with your account in the nfig starting line 4 and the folder in line 11:īecause the Search API and Admin API methods are rate limited and require authentication, they are not suitable for calling directly from frontend code, or to retrieve a list of assets in "real time" to use in your frontend. Here's an example of how to accomplish this (in Node.js). Before running the code, inside the index.js file, please add your cloud_name, api_key, and api_secret associated with your account in the nfig starting line 4 and the folder in line 12:Īlternatively, the Search API can be used to list all resources contained within a specific folder (including sub-folders). ![]() You can use the Admin API to list all resources contained within a specific folder (including sub-folders). Multiple API methods can be used to list the contents of a folder to provide a list of matching assets to populate your own database or perform administrative actions. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |