BunnyCDN
bunnycdnBunnyCDN is a powerful content delivery network (CDN) offering an API to manage and deliver content globally with ease.
Acciones disponibles (20)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Add Storage ZoneBUNNYCDN_ADD_STORAGE_ZONEAcciónTool to add a new storage zone. use when you need dedicated file storage in a specific region.
BUNNYCDN_ADD_STORAGE_ZONEAcciónTool to add a new storage zone. use when you need dedicated file storage in a specific region.
Parámetros de entrada
NamestringObligatorioName of the storage zone to be created.
RegionstringPrimary region for the storage zone.
OriginUrlstringBackup data source URL if a file is missing in the storage zone.
ReplicationRegionsstring[]List of regions for replicating the storage zone.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create DNS RecordBUNNYCDN_CREATE_DNS_RECORDAcciónTool to create a new dns record in a specific dns zone. use after confirming the dns zone id is active.
BUNNYCDN_CREATE_DNS_RECORDAcciónTool to create a new dns record in a specific dns zone. use after confirming the dns zone id is active.
Parámetros de entrada
TagstringTag for CAA records.
TtlintegerObligatorioTime to live for the record in seconds.
NamestringObligatorioThe record name (e.g., 'www' for 'www.example.com').
PortintegerPort number for SRV records.
TypeintegerObligatorioType of DNS record. 0=A,1=AAAA,2=CNAME,3=TXT,4=MX,5=Redirect,6=Flatten,7=PullZone,8=SRV,9=CAA,10=PTR,11=Script,12=NS
FlagsintegerFlags for CAA records.
ValuestringObligatorioThe value of the record (e.g., IP for A record).
WeightintegerWeight of the record (e.g., for SRV records).
CommentstringComment for the DNS record.
zone_idintegerObligatorioThe DNS Zone ID to which the record will be added.
DisabledbooleanWhether the record is disabled.
PriorityintegerPriority for MX records.
ScriptIdintegerScript ID for Script record type.
PullZoneIdintegerPull Zone ID for PullZone record type.
AcceleratedbooleanWhether accelerated routing is enabled.
LatencyZonestringLatency zone for latency-based routing.
MonitorTypeintegerMonitor type. 0=None,1=Ping,2=Http,3=Monitor.
SmartRoutingTypeintegerSmart routing. 0=None,1=Latency,2=Geolocation.
GeolocationLatitudenumberLatitude for geolocation routing.
GeolocationLongitudenumberLongitude for geolocation routing.
EnviromentalVariablesobject[]List of environment variable objects for the record.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Pull ZoneBUNNYCDN_CREATE_PULL_ZONEAcciónTool to create a new pull zone. use after gathering origin details.
BUNNYCDN_CREATE_PULL_ZONEAcciónTool to create a new pull zone. use after gathering origin details.
Parámetros de entrada
NamestringObligatorioName of the pull zone, used to generate the default hostname.
TypeintegerType of pull zone. 0 for standard pull zone.
OriginUrlstringObligatorioOrigin server URL from which BunnyCDN will pull content.
EnableTLS1booleanEnable TLS 1.0.
PricingTierintegerPricing tier for the pull zone. 0=Standard, 1=High Volume.
AWSSigningKeystringAWS signing key.
AddHostHeaderbooleanAdd a host header.
EnableLoggingbooleanEnable logging.
StorageZoneIdintegerID of the storage zone to link, if applicable.
EnableWebpVarybooleanEnable WebP vary.
EnableGeoZoneAFbooleanEnable the Africa region.
EnableGeoZoneANbooleanEnable the Antarctica region.
EnableGeoZoneEUbooleanEnable the EU region.
EnableGeoZoneMEbooleanEnable the Middle East region.
EnableGeoZoneOCbooleanEnable the Oceania region.
EnableGeoZoneSAbooleanEnable the South America region.
EnableGeoZoneUSbooleanEnable the US region.
AWSSigningSecretstringAWS signing secret.
EnableCacheSlicebooleanEnable cache slicing.
AWSSigningEnabledbooleanEnable AWS signing.
EnableGeoZoneASIAbooleanEnable the Asia region.
LogForwardingPortintegerPort for log forwarding.
AddCanonicalHeaderbooleanAdd a canonical header.
EnableHostnameVarybooleanEnable hostname vary.
EnableOriginShieldbooleanEnable origin shield.
IgnoreQueryStringsbooleanIgnore query strings when caching.
LogForwardingTokenstringToken for log forwarding.
AWSSigningRegionNamestringAWS signing region name.
LogForwardingEnabledbooleanEnable log forwarding.
LoggingSaveToStoragebooleanSave logs to storage.
LoggingStorageZoneIdintegerID of the storage zone for logs.
OriginShieldZoneCodestringZone code for origin shield.
EnableCountryCodeVarybooleanEnable country code vary.
LogForwardingHostnamestringHostname for log forwarding.
CacheControlMaxAgeOverrideintegerOverride the max-age directive in the Cache-Control header.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete DNS RecordBUNNYCDN_DELETE_DNS_RECORDAcciónTool to delete a specific dns record by its id. use after confirming the dns zone id and record id.
BUNNYCDN_DELETE_DNS_RECORDAcciónTool to delete a specific dns record by its id. use after confirming the dns zone id and record id.
Parámetros de entrada
zone_idintegerObligatorioUnique identifier of the DNS zone containing the record.
record_idintegerObligatorioUnique identifier of the DNS record to delete.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete DNS ZoneBUNNYCDN_DELETE_DNS_ZONEAcciónTool to delete a specific dns zone by its id. use when you need to permanently remove an existing dns zone after verifying the zone id.
BUNNYCDN_DELETE_DNS_ZONEAcciónTool to delete a specific dns zone by its id. use when you need to permanently remove an existing dns zone after verifying the zone id.
Parámetros de entrada
idintegerObligatorioUnique identifier of the DNS zone to delete.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Pull ZoneBUNNYCDN_DELETE_PULL_ZONEAcciónTool to delete a specific pull zone by its id. use when you need to remove a pull zone after confirming its id.
BUNNYCDN_DELETE_PULL_ZONEAcciónTool to delete a specific pull zone by its id. use when you need to remove a pull zone after confirming its id.
Parámetros de entrada
idintegerObligatorioUnique identifier of the pull zone to delete.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Storage ZoneBUNNYCDN_DELETE_STORAGE_ZONEAcciónTool to delete a storage zone. use when you need to remove a storage zone after confirming its id.
BUNNYCDN_DELETE_STORAGE_ZONEAcciónTool to delete a storage zone. use when you need to remove a storage zone after confirming its id.
Parámetros de entrada
idintegerObligatorioUnique identifier of the storage zone to delete.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get DNS Zone DetailsBUNNYCDN_GET_DNS_ZONE_DETAILSAcciónTool to retrieve details of a specific dns zone by its id. use when you need to verify dns zone configuration after creation or update.
BUNNYCDN_GET_DNS_ZONE_DETAILSAcciónTool to retrieve details of a specific dns zone by its id. use when you need to verify dns zone configuration after creation or update.
Parámetros de entrada
idintegerObligatorioUnique identifier of the DNS zone to retrieve.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get DNS Zone ListBUNNYCDN_GET_DNS_ZONE_LISTAcciónTool to list all dns zones in your bunny cdn account. use when you need an overview of all configured dns zones.
BUNNYCDN_GET_DNS_ZONE_LISTAcciónTool to list all dns zones in your bunny cdn account. use when you need an overview of all configured dns zones.
Parámetros de entrada
pageintegerPage number for paginated results, starting at 1.
perPageintegerNumber of results per page.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Pull ZoneBUNNYCDN_GET_PULL_ZONEAcciónTool to retrieve details of a specific pull zone. use when you need full configuration and usage stats after confirming the pull zone id.
BUNNYCDN_GET_PULL_ZONEAcciónTool to retrieve details of a specific pull zone. use when you need full configuration and usage stats after confirming the pull zone id.
Parámetros de entrada
idintegerObligatorioUnique identifier of the Pull Zone to retrieve.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Pull Zone ListBUNNYCDN_GET_PULL_ZONE_LISTAcciónTool to fetch the list of pull zones. use when you need an overview of all pull zones in your account.
BUNNYCDN_GET_PULL_ZONE_LISTAcciónTool to fetch the list of pull zones. use when you need an overview of all pull zones in your account.
Parámetros de entrada
pageintegerPage number for paginated results, starting at 1.
searchstringFilter pull zones by name or hostname.
perPageintegerNumber of results per page (default 50, max 1000).
includeCertificatebooleanWhether to include SSL certificate information.
Parámetros de salida
dataobject[]ObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Storage Zone DetailsBUNNYCDN_GET_STORAGE_ZONE_DETAILSAcciónTool to retrieve the full details of a storage zone. use when you need configuration and usage metrics for a specific storage zone.
BUNNYCDN_GET_STORAGE_ZONE_DETAILSAcciónTool to retrieve the full details of a storage zone. use when you need configuration and usage metrics for a specific storage zone.
Parámetros de entrada
idintegerObligatorioUnique identifier of the storage zone to retrieve.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Storage Zone ListBUNNYCDN_GET_STORAGE_ZONE_LISTAcciónTool to list all storage zones in your bunny cdn account. use when you need an overview of all configured storage zones.
BUNNYCDN_GET_STORAGE_ZONE_LISTAcciónTool to list all storage zones in your bunny cdn account. use when you need an overview of all configured storage zones.
Parámetros de entrada
pageintegerPage number for paginated results, starting at 1.
perPageintegerNumber of results per page.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Storage Zone RegionBUNNYCDN_GET_STORAGE_ZONE_REGIONAcciónTool to retrieve the region code of a storage zone. use when you have a storage zone id and need only its geographic region.
BUNNYCDN_GET_STORAGE_ZONE_REGIONAcciónTool to retrieve the region code of a storage zone. use when you have a storage zone id and need only its geographic region.
Parámetros de entrada
idintegerObligatorioUnique identifier of the Storage Zone to retrieve.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List DNS RecordsBUNNYCDN_LIST_DNS_RECORDSAcciónTool to list all dns records in a specific dns zone. use when you need to audit or review the dns configuration of a zone.
BUNNYCDN_LIST_DNS_RECORDSAcciónTool to list all dns records in a specific dns zone. use when you need to audit or review the dns configuration of a zone.
Parámetros de entrada
skipintegerNumber of records to skip for pagination (offset).
takeintegerMaximum number of records to return. Defaults to all records if not set.
zoneIdintegerObligatorioNumeric ID of the DNS zone to retrieve records from.
Parámetros de salida
dataobject[]ObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Purge Pull ZoneBUNNYCDN_PURGE_PULL_ZONEAcciónTool to purge the entire cache of a pull zone. use after updating origin or critical content to ensure no stale assets are served.
BUNNYCDN_PURGE_PULL_ZONEAcciónTool to purge the entire cache of a pull zone. use after updating origin or critical content to ensure no stale assets are served.
Parámetros de entrada
idintegerObligatorioUnique identifier of the pull zone to purge.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Purge URLBUNNYCDN_PURGE_URLAcciónTool to purge a specific url from the bunnycdn cache. use when you need to invalidate a resource immediately after updating it.
BUNNYCDN_PURGE_URLAcciónTool to purge a specific url from the bunnycdn cache. use when you need to invalidate a resource immediately after updating it.
Parámetros de entrada
urlstringObligatorioThe full URL of the content to purge from cache.
async_flagbooleanIf true, performs the purge operation asynchronously (non-blocking). Defaults to false (wait for purge to complete).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set Storage Zone RegionBUNNYCDN_SET_STORAGE_ZONE_REGIONAcciónTool to update replication regions of a storage zone. use when you need to adjust geo-replication settings after reviewing current configurations.
BUNNYCDN_SET_STORAGE_ZONE_REGIONAcciónTool to update replication regions of a storage zone. use when you need to adjust geo-replication settings after reviewing current configurations.
Parámetros de entrada
idintegerObligatorioID of the storage zone to update.
ReplicationZonesstring[]ObligatorioList of region codes to replicate storage zone across. Valid codes: DE, UK, SE, CZ, ES, NY, LA, WA, MI, SG, HK, JP, SYD, BR, JH
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Pull ZoneBUNNYCDN_UPDATE_PULL_ZONEAcciónTool to update settings for a specific pull zone. use when you need to modify existing pull zone settings after reviewing current configuration.
BUNNYCDN_UPDATE_PULL_ZONEAcciónTool to update settings for a specific pull zone. use when you need to modify existing pull zone settings after reviewing current configuration.
Parámetros de entrada
idintegerObligatorioID of the pull zone to update
NamestringNew name for the pull zone.
TypeintegerType of pull zone. 0 for standard pull zone.
OriginUrlstringNew origin server URL from which BunnyCDN will pull content.
EnableTLS1booleanEnable TLS 1.0.
PricingTierintegerPricing tier for the pull zone. 0=Standard, 1=High Volume.
AWSSigningKeystringAWS signing key.
AddHostHeaderbooleanAdd a host header.
EnableLoggingbooleanEnable logging.
StorageZoneIdintegerID of the storage zone to link, if applicable.
DisableCookiesbooleanDisable cookies.
EnableWebpVarybooleanEnable WebP vary.
EnableGeoZoneAFbooleanEnable the Africa region.
EnableGeoZoneANbooleanEnable the Antarctica region.
EnableGeoZoneEUbooleanEnable the EU region.
EnableGeoZoneMEbooleanEnable the Middle East region.
EnableGeoZoneOCbooleanEnable the Oceania region.
EnableGeoZoneSAbooleanEnable the South America region.
EnableGeoZoneUSbooleanEnable the US region.
AWSSigningSecretstringAWS signing secret.
BlockedCountriesstring[]List of country codes from which traffic is blocked.
EnableCacheSlicebooleanEnable cache slicing.
AWSSigningEnabledbooleanEnable AWS signing.
EnableGeoZoneASIAbooleanEnable the Asia region.
LogForwardingPortintegerPort to which logs are forwarded.
AddCanonicalHeaderbooleanAdd a canonical header.
EnableHostnameVarybooleanEnable hostname vary.
EnableOriginShieldbooleanEnable origin shield.
IgnoreQueryStringsbooleanIgnore query strings when caching.
LogForwardingTokenstringToken used for log forwarding authentication.
CacheErrorResponsesbooleanCache error responses.
AWSSigningRegionNamestringAWS signing region name.
LogForwardingEnabledbooleanEnable log forwarding.
LoggingSaveToStoragebooleanSave logs to storage.
LoggingStorageZoneIdintegerID of the storage zone where logs are saved.
OriginShieldZoneCodestringZone code for origin shield.
EnableCountryCodeVarybooleanEnable country code vary.
LogForwardingHostnamestringHostname to which logs are forwarded.
BudgetRedirectedCountriesstring[]List of country codes to which traffic is redirected for budget reasons.
EnableQueryStringOrderingbooleanEnable query string ordering.
CacheControlMaxAgeOverrideintegerOverride the max-age directive in the Cache-Control header.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Storage ZoneBUNNYCDN_UPDATE_STORAGE_ZONEAcciónTool to update settings for a specific storage zone. use after reviewing current storage zone settings to apply changes.
BUNNYCDN_UPDATE_STORAGE_ZONEAcciónTool to update settings for a specific storage zone. use after reviewing current storage zone settings to apply changes.
Parámetros de entrada
idintegerObligatorioUnique identifier of the storage zone to update.
OriginUrlstringThe origin URL of the storage zone.
Rewrite404To200booleanRewrite 404 status code to 200 for URLs without extension.
ReplicationZonesstring[]List of replication zones enabled for the storage zone.
Custom404FilePathstringThe path to the custom file that will be returned in case of 404.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not