github.com/fastly/go-fastly/v6@v6.8.0/fastly/fixtures/erls/list.yaml (about)

     1  ---
     2  version: 1
     3  interactions:
     4  - request:
     5      body: ""
     6      form: {}
     7      headers:
     8        User-Agent:
     9        - FastlyGo/6.2.0 (+github.com/fastly/go-fastly; go1.17.6)
    10      url: https://api.fastly.com/service/7i6HN3TK9wS159v2gPAZ8A/version/171/rate-limiters
    11      method: GET
    12    response:
    13      body: '[{"feature_revision":1,"feature_update_available":false,"name":"test_erl","uri_dictionary_name":null,"http_methods":["GET","POST"],"rps_limit":20,"window_size":10,"client_key":["req.http.Fastly-Client-IP"],"penalty_box_duration":30,"action":"response","response":{"status":429,"content":"Too
    14        many requests","content_type":"application/json"},"response_object_name":null,"logger_type":null,"id":"5U7LrjONAOghcVobCesDyb","service_id":"7i6HN3TK9wS159v2gPAZ8A","version":171,"created_at":"2022-03-23T18:29:07Z","updated_at":"2022-03-23T18:29:07Z"}]'
    15      headers:
    16        Accept-Ranges:
    17        - bytes
    18        Cache-Control:
    19        - no-store
    20        Content-Type:
    21        - application/json
    22        Date:
    23        - Wed, 23 Mar 2022 18:29:07 GMT
    24        Status:
    25        - 200 OK
    26        Strict-Transport-Security:
    27        - max-age=31536000
    28        Vary:
    29        - Accept-Encoding
    30        Via:
    31        - 1.1 varnish, 1.1 varnish
    32        X-Cache:
    33        - MISS, MISS
    34        X-Cache-Hits:
    35        - 0, 0
    36        X-Served-By:
    37        - cache-control-slwdc9037-CONTROL-SLWDC, cache-pao17459-PAO
    38        X-Timer:
    39        - S1648060147.416647,VS0,VE139
    40      status: 200 OK
    41      code: 200
    42      duration: ""