Bunny.net
App · 3 actions
Inventory Bunny CDN pull zones and report traffic, requests and cache hit rates across your account or for a specific zone.
Actions
| Action | What it does |
|---|---|
| Get a Bunny CDN pull zone | Look up whether a zone is enabled or suspended, along with its public hostnames and TLS status. |
| Get Bunny CDN traffic statistics | Read bytes served, requests and cache hit rate. |
| List Bunny CDN pull zones | Find pull zone IDs, names, status and hostnames. |
Get a Bunny CDN pull zone
Look up whether a zone is enabled or suspended, along with its public hostnames and TLS status.
Inputs
- Zone ID
zone_idnumberRequired - Numeric pull zone ID.At least 1.
Outputs
dataobject- The response from Bunny.net.
Example output
{
"data": {
"Enabled": true,
"Hostnames": [
{
"ForceSSL": true,
"HasCertificate": true,
"Value": "example"
}
],
"Id": 1,
"Name": "example",
"Suspended": true
}
}Get Bunny CDN traffic statistics
Read bytes served, requests and cache hit rate. Leave the dates blank to use Bunny.net's last 30 days.
Inputs
- Zone ID
zone_idnumber - Numeric pull zone ID. Leave blank for account-wide totals.At least 1.
- Start time
start_timedate and time - Start of the reporting period, with the time zone.
- End time
end_timedate and time - End of the reporting period, with the time zone.
Outputs
dataobject- The response from Bunny.net.
Example output
{
"data": {
"BandwidthUsedChart": {},
"CacheHitRate": 1,
"RequestsServedChart": {},
"TotalBandwidthUsed": 1,
"TotalRequestsServed": 1
}
}List Bunny CDN pull zones
Find pull zone IDs, names, status and hostnames. Search by name or page through the account.
Inputs
- Query
querytext - Text to look for in pull zone names.
- Page
pagenumber - Page number. Bunny.net starts at page 0.At least 0.
- Page size
page_sizenumber - Number of pull zones per page (5 to 100).From 5 to 100.
Outputs
dataobject- The response from Bunny.net.
Example output
{
"data": {
"CurrentPage": 1,
"HasMoreItems": true,
"Items": [
{
"Enabled": true,
"Hostnames": [
{
"ForceSSL": true,
"HasCertificate": true,
"Value": "example"
}
],
"Id": 1,
"Name": "example",
"Suspended": true
}
],
"TotalItems": 1
}
}