hosting

GET /v1/sites/{siteId}/cdn/firewall-rules

List a site's custom edge firewall rules.

ყველა hosting ენდპოინტი

ავტორიზაცია

API გასაღები გაგზავნეთ როგორც მატარებელი ტოკენი (bearer token). გასაღებს უნდა ჰქონდეს sites.view ნებართვა; ამის გარეშე გასაღები უარყოფილი იქნება 403 და არა 404 სტატუსით.

ეს ბოლო წერტილი არ იღებს ორგანიზაციის იდენტიფიკატორს. თქვენი გასაღები უკვე აიდენტიფიცირებს იმ ორგანიზაციას, რომელსაც ის ეკუთვნის, და პასუხი შემოფარგლულია მისით.

სცადეთ

შეSubstituted any value inside angle brackets with your own and the key placeholder with a key from your dashboard.

curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/cdn/firewall-rules \
  -H "Authorization: Bearer zdk_live_…"

შესული ხართ? თქვენი სამართავ პანელში არსებული API კონსოლი ავტომატურად ამატებს თქვენი რეალური ორგანიზაციის ID-სა და საკუთარ გასაღებს და ატარებს მოთხოვნას ცოცხალ API-ს წინააღმდეგ, რათა იხილოთ რეალური პასუხი. გაAღით ეს ენდპოინტი API კონსოლში

დეტალები

The zone's custom block/challenge rules, **in evaluation order**. Rules written in the customer's own provider dashboard are included and flagged `foreign: true`; they are editable here, because it is their account. `expression` is the provider's own matching syntax, passed through unchanged. A neutral matching language that every adapter half-implemented would be a rule that silently matches nothing. Requires `sites.view`.

პარამეტრები

სახელიტიპისავალდებულორა არის ეს
siteId (path)UuidდიახSite ID (UUIDv7).

პასუხი

სახელიტიპისავალდებულორა არის ეს
supportedbooleanდიახ
rulesCdnFirewallRule[]დიახIn evaluation order. The provider's custom-rules phase is terminating — the first match decides.

შეცდომები, რომლებიც ამ ენდპოინტს შეუძლია დააბრუნოს

401 · 403 · 404 · 429 · 503