File management
On this page
Implement custom workflows for your uploaded files.
- Manage files with REST API
- Webhooks for various events
- Arbitrary file metadata management
- S3 bucket integration
- Video processing
- Document conversion
- Unsafe content detection
- Object recognition
- Malware protection
- API clients for popular platforms
Once uploaded, you can manage files using REST API and project storage settings.
How it works
Manage your files using REST API directly or with an API client.
import { listOfFiles, paginate } from '@uploadcare/rest-client'
const uploadcareSimpleAuthSchema = new UploadcareSimpleAuthSchema({
publicKey: 'YOUR_PUBLIC_KEY',
secretKey: 'YOUR_SECRET_KEY'
})
const paginatedListOfFiles = paginate(listOfFiles)
const pages = paginatedListOfFiles(
{},
{ authSchema: uploadcareSimpleAuthSchema }
)
for await (const page of pages) {
for (const file of page.results) {
console.log(`URL: ${file.url}`)
}
}
javascript
Table of Contents
Article | Description |
---|---|
Managing files | Uploadcare provides various methods for managing already uploaded files with its REST API |
Webhooks | Setup webhooks to notify your application about certain events that occur in your project asynchronously |
File metadata | File metadata is additional, arbitrary key-value data associated with uploaded files. For example, you could store a unique file identifier from your system |
S3 bucket integration | Connect an Amazon S3 bucket to one or more of your Uploadcare projects to implement custom file workflows, integrated deeply into your system |
Storage backups | Automatically copy all of you stored files to a custom S3 bucket. Connect the storage once, and the system will do backups on a timely basis |
Video processing | Encode video files to MP4, WEBM, or OGG, and transform them to adjust the viewing experience, create thumbnails, and save bandwidth |
Document conversion | Convert documents and create their thumbnails to improve user experience |
Unsafe content detection | Detect and identify inappropriate, unwanted, NSFW, or offensive user-generated content |
Object recognition | Categorize and tag people, objects, and other content classes in your images |
Malware protection | Automatically detect infected or malicious files to protect your users |
REST API | Low-level access to Uploadcare features, e.g. CRUD files and their metadata, receive webhooks, and run add-ons |
API integrations | You don't have to code most of the low-level API integrations. We have high-level libraries for all popular platforms |