Help
- Curl C# Go Groovy Java Javascript Node.js Objective-C Perl PHP Python Raw Ruby Swift Visual Basic WordPress
$file APIs: 33
Upload: [&folder=folder &rename=newfile.jpg&height=250&width=250&meta=added ]
https://bunnyapi.com/?key=BUCVQFXML7CV &action=upload&zone=zone &filename=file &folder=folder
Download:
https://bunnyapi.com/?key=BUCVQFXML7CV &action=download&zone=zone &filename=file &folder=folder
Delete:
https://bunnyapi.com/?key=BUCVQFXML7CV &action=delete&zone=zone &filename=file &folder=folder
Delete Fnewer:
https://bunnyapi.com/?key=BUCVQFXML7CV &action=removeall&zone=zone &folder=folder
Clear URL Cache:
https://bunnyapi.com/?key=BUCVQFXML7CV &action=clearcache&filename=https://bunnyapi.com/file
Filesize:
https://bunnyapi.com/?key=BUCVQFXML7CV &action=filesize&zone=zone &folder=folder &filename=https://bunnyapi.com/file
$folder
Count: [&type=ext[jpg|png|mp4|mp3|etc.]&exclude=ext[jpg|png|mp4|mp3|etc.] ]
https://bunnyapi.com/?key=BUCVQFXML7CV &action=count&zone=zone &folder=folder
List: [&type=zone|files|folders&json=true&limit=50&offset=50 ]
https://bunnyapi.com/?key=BUCVQFXML7CV &action=bunnylist&zone=zone &folder=folder
Size:
https://bunnyapi.com/?key=BUCVQFXML7CV &action=size&zone=zone &folder=folder
$hostname
Add:
https://bunnyapi.com/?key=BUCVQFXML7CV &action=addhost&zone=zone &hostname=cdn.bunnyapi.com
Get:
https://bunnyapi.com/?key=BUCVQFXML7CV &action=gethost&zone=zone
List: [&source=bunnycdn&json=true ]
https://bunnyapi.com/?key=BUCVQFXML7CV &action=hostlist&zone=zone
Remove:
https://bunnyapi.com/?key=BUCVQFXML7CV &action=removehost&hostname=cdn.bunnyapi.com
SSL: [&ssl=true|false ]
https://bunnyapi.com/?key=BUCVQFXML7CV &action=addssl&zone=zone &hostname=cdn.bunnyapi.com&ssl=true
Block IP:
https://bunnyapi.com/?key=BUCVQFXML7CV &action=ipblock&zone=zone &ipaddr=0.0.0.0
Unblock IP:
https://bunnyapi.com/?key=BUCVQFXML7CV &action=ipunblock&zone=zone &ipaddr=0.0.0.0
IP Block List:
https://bunnyapi.com/?key=BUCVQFXML7CV &action=iplist
$pullzone
List: [&json=true ]
https://bunnyapi.com/?key=BUCVQFXML7CV &action=pullzonelist
Logs:
https://bunnyapi.com/?key=BUCVQFXML7CV &action=pullzonelogs&zone=zone
Purge:
https://bunnyapi.com/?key=BUCVQFXML7CV &action=purge&zone=zone
$storagezone
Add:
https://bunnyapi.com/?key=BUCVQFXML7CV &action=addstoragezone&zone=zone &name=bunnycdn
Delete:
https://bunnyapi.com/?key=BUCVQFXML7CV &action=deletestoragezone&zone=zone &name=bunnycdn
List: [&show=logs&json=true ]
https://bunnyapi.com/?key=BUCVQFXML7CV &action=storagezonelist
Get Storage Region:
https://bunnyapi.com/?key=BUCVQFXML7CV &action=getstorageregion&zone=zone
Set Storage Region: [&host=main|ny|la|sg|syd ]
https://bunnyapi.com/?key=BUCVQFXML7CV &action=setstorageregion&zone=zone
$api
Calls : [date=2020&limit=30,filter=upload|download|delete ]
https://bunnyapi.com/?key=BUCVQFXML7CV &action=apicalls
Charges : [date=2020&limit=30&status=pending|paid ]
https://bunnyapi.com/?key=BUCVQFXML7CV &action=apicharges
$account
Statistics:
https://bunnyapi.com/?key=BUCVQFXML7CV &action=stats&zone=zone
Meta:
https://bunnyapi.com/?key=BUCVQFXML7CV &action=meta
BunnyAPI: [&email=myemail@email.com&api=accountapi&update=accountapi ]
https://bunnyapi.com/?key=BUCVQFXML7CV &action=bunnyapi
BunnyAPI Status: [&status=enable|disable ]
https://bunnyapi.com/?key=BUCVQFXML7CV &action=bunnystatus
New BunnyAPI Key:
https://bunnyapi.com/?key=BUCVQFXML7CV &action=newbunny
New BunnyAPI Email:
https://bunnyapi.com/?key=BUCVQFXML7CV &action=bunnyemail&email=newemail@email.com