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=LFA60ZP77VOV &action=upload&zone=zone &filename=file &folder=folder
Download:
https://bunnyapi.com/?key=LFA60ZP77VOV &action=download&zone=zone &filename=file &folder=folder
Delete:
https://bunnyapi.com/?key=LFA60ZP77VOV &action=delete&zone=zone &filename=file &folder=folder
Delete Fnewer:
https://bunnyapi.com/?key=LFA60ZP77VOV &action=removeall&zone=zone &folder=folder
Clear URL Cache:
https://bunnyapi.com/?key=LFA60ZP77VOV &action=clearcache&filename=https://bunnyapi.com/file
Filesize:
https://bunnyapi.com/?key=LFA60ZP77VOV &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=LFA60ZP77VOV &action=count&zone=zone &folder=folder
List: [&type=zone|files|folders&json=true&limit=50&offset=50 ]
https://bunnyapi.com/?key=LFA60ZP77VOV &action=bunnylist&zone=zone &folder=folder
Size:
https://bunnyapi.com/?key=LFA60ZP77VOV &action=size&zone=zone &folder=folder
$hostname
Add:
https://bunnyapi.com/?key=LFA60ZP77VOV &action=addhost&zone=zone &hostname=cdn.bunnyapi.com
Get:
https://bunnyapi.com/?key=LFA60ZP77VOV &action=gethost&zone=zone
List: [&source=bunnycdn&json=true ]
https://bunnyapi.com/?key=LFA60ZP77VOV &action=hostlist&zone=zone
Remove:
https://bunnyapi.com/?key=LFA60ZP77VOV &action=removehost&hostname=cdn.bunnyapi.com
SSL: [&ssl=true|false ]
https://bunnyapi.com/?key=LFA60ZP77VOV &action=addssl&zone=zone &hostname=cdn.bunnyapi.com&ssl=true
Block IP:
https://bunnyapi.com/?key=LFA60ZP77VOV &action=ipblock&zone=zone &ipaddr=0.0.0.0
Unblock IP:
https://bunnyapi.com/?key=LFA60ZP77VOV &action=ipunblock&zone=zone &ipaddr=0.0.0.0
IP Block List:
https://bunnyapi.com/?key=LFA60ZP77VOV &action=iplist
$pullzone
List: [&json=true ]
https://bunnyapi.com/?key=LFA60ZP77VOV &action=pullzonelist
Logs:
https://bunnyapi.com/?key=LFA60ZP77VOV &action=pullzonelogs&zone=zone
Purge:
https://bunnyapi.com/?key=LFA60ZP77VOV &action=purge&zone=zone
$storagezone
Add:
https://bunnyapi.com/?key=LFA60ZP77VOV &action=addstoragezone&zone=zone &name=bunnycdn
Delete:
https://bunnyapi.com/?key=LFA60ZP77VOV &action=deletestoragezone&zone=zone &name=bunnycdn
List: [&show=logs&json=true ]
https://bunnyapi.com/?key=LFA60ZP77VOV &action=storagezonelist
Get Storage Region:
https://bunnyapi.com/?key=LFA60ZP77VOV &action=getstorageregion&zone=zone
Set Storage Region: [&host=main|ny|la|sg|syd ]
https://bunnyapi.com/?key=LFA60ZP77VOV &action=setstorageregion&zone=zone
$api
Calls : [date=2020&limit=30,filter=upload|download|delete ]
https://bunnyapi.com/?key=LFA60ZP77VOV &action=apicalls
Charges : [date=2020&limit=30&status=pending|paid ]
https://bunnyapi.com/?key=LFA60ZP77VOV &action=apicharges
$account
Statistics:
https://bunnyapi.com/?key=LFA60ZP77VOV &action=stats&zone=zone
Meta:
https://bunnyapi.com/?key=LFA60ZP77VOV &action=meta
BunnyAPI: [&email=myemail@email.com&api=accountapi&update=accountapi ]
https://bunnyapi.com/?key=LFA60ZP77VOV &action=bunnyapi
BunnyAPI Status: [&status=enable|disable ]
https://bunnyapi.com/?key=LFA60ZP77VOV &action=bunnystatus
New BunnyAPI Key:
https://bunnyapi.com/?key=LFA60ZP77VOV &action=newbunny
New BunnyAPI Email:
https://bunnyapi.com/?key=LFA60ZP77VOV &action=bunnyemail&email=newemail@email.com