BunnyCDN Tools
Bunnycdn Add Update Edge Rule
Aident Loadout के माध्यम से BunnyCDN Tools के साथ Bunnycdn Add Update Edge Rule का उपयोग करें। चलाने से पहले इनपुट, आउटपुट, सेटअप, मूल्य और जोखिम देखें।
राइट Actionजोखिम स्तर 2/5API कुंजी कनेक्शन
प्रदाता विवरण
Tool to add or update edge rules in a BunnyCDN pull zone for advanced traffic control. Edge rules allow conditional request processing based on triggers like URL patterns, headers, country codes, or IP addresses. Each rule can perform actions like forcing SSL, redirecting, setti…
मूल्य और सीमाएँ
- मूल्य
- मुफ़्त Action
- एकीकृत भुगतान
- अभी समर्थित नहीं
इनपुट
- The unique GUID of the edge rule. Provide this to update an existing rule. Leave empty to create a new rule. The API returns this GUID when creating a rule.Guidstring
- Whether the edge rule is currently active. Set to true to enable the rule immediately, false to create it in disabled state.Enabledbooleanआवश्यक
- Whether the edge rule is read-only and cannot be modified or deleted. Typically used for system-generated rules.ReadOnlyboolean
- List of trigger conditions that determine when this edge rule executes. At least one trigger is required. Common use: URL trigger with pattern '/*' matches all requests.Triggersarrayआवश्यक
- The main action type of the edge rule. Common values: force_ssl (redirect HTTP to HTTPS), redirect (URL redirects), block_request (block access), set_response_header (add/modify response headers), override_cache_time (set cache TTL). See the ActionType enum for all 17 supported…ActionTypestringआवश्यक
- Execution priority order. Lower numbers execute first. Use this to control the sequence of multiple edge rules. If not specified, the rule is added at the end.OrderIndexinteger
- Human-readable description of what this edge rule does. Helps identify the rule's purpose when managing multiple rules.Descriptionstring
- Additional actions to execute when the edge rule triggers. Allows combining multiple actions (e.g., set header AND override cache time) in one rule.ExtraActionsarray
- The ID of the Pull Zone where the Edge Rule will be created or updated. Use BUNNYCDN_GET_PULL_ZONE_LIST to get valid IDs.pull_zone_idintegerआवश्यक
- First action parameter. Meaning depends on ActionType: for redirect = destination URL, for set_response_header = header name, for override_cache_time = TTL in seconds, for set_status_code = status code (e.g., '404').ActionParameter1string
- Second action parameter. Meaning depends on ActionType: for redirect = redirect type ('301' or '302'), for set_response_header = header value.ActionParameter2string
- Third action parameter. Meaning depends on ActionType. Rarely used, reserved for future action types.ActionParameter3string
देखा जा सकने वाला आउटपुट
- Data from the action executiondataआवश्यक
- Error if any occurred during the execution of the actionerrorstring
- Whether or not the action execution was successful or notsuccessfulbooleanआवश्यक
इस Action का उपयोग करने वाली Skills
संबंधित उपयोग के मामले
अभी कोई सत्यापित संबंधित उपयोग मामला लिंक नहीं है।