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: 4a0a0047304502204dc8c9796e535808254d0eb5626dc45c1b06b31a8bf085440a59efa7dfdf7abc022100e54314942e38c520cc860c0fdb63002f2bb74bca1f4ff487cbc2d9c6e5a0e6a0:922c64590222798bb761d5b6d8e72950
