cURL
curl --request POST \ --url https://api.example.com/api/backup \ --header 'Content-Type: application/json' \ --data ' { "description": "<string>", "includeDocuments": true } '
{ "backupId": "<string>", "filename": "<string>", "size": 123, "cloudinaryUrl": "<string>", "createdAt": "<string>", "description": "<string>" }
curl -X POST "https://api.millenium-potters.com/api/backup/create" \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "description": "Pre-deployment backup", "includeDocuments": true }'
{ "backupId": "backup_2026-03-11T12-00-00-000Z", "filename": "backup_2026-03-11T12-00-00-000Z.json", "size": 15728640, "cloudinaryUrl": "https://res.cloudinary.com/millenium/backups/backup_2026-03-11.json", "createdAt": "2026-03-11T12:00:00Z", "description": "Pre-deployment backup" }
{ "backups": [ { "backupId": "backup_2026-03-11T12-00-00-000Z", "filename": "backup_2026-03-11T12-00-00-000Z.json", "size": 15728640, "cloudinaryUrl": "https://res.cloudinary.com/millenium/...", "createdAt": "2026-03-11T12:00:00Z", "description": "Pre-deployment backup" } ], "total": 15, "cloudinaryStats": { "totalSize": 235929600, "count": 15 } }
401 Unauthorized
403 Forbidden
500 Internal Server Error
404 Not Found