id: api-buttercms

info:
  name: ButterCMS API Test
  author: zzeitlin
  severity: info
  reference:
    - https://buttercms.com/docs/api/#introduction
  metadata:
    max-request: 1
  tags: token-spray,buttercms

self-contained: true

http:
  - method: GET
    path:
      - "https://api.buttercms.com/v2/posts/?auth_token={{token}}"

    matchers:
      - type: word
        part: body
        words:
          - '"meta":'
          - '"data":'
          - '"url":'
        condition: and
# digest: 4a0a004730450220552e89d1bf165f2880219492fefb51111af79d2d4051f2789e18dc0e99d82ec90221009d5017bf4e0941576edd6bde92c05e350d79d875952bf6063121b3acb45acb8b:922c64590222798bb761d5b6d8e72950