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