id: api-rijksmuseum

info:
  name: Rijksmuseum API Test
  author: daffainfo
  severity: info
  description: The Rijksmuseum is a Dutch national museum dedicated to arts and history in Amsterdam
  reference:
    - https://data.rijksmuseum.nl/user-generated-content/api/
    - https://github.com/daffainfo/all-about-apikey/tree/main/rijksmuseum
  metadata:
    max-request: 1
  tags: token-spray,rijksmuseum

self-contained: true

http:
  - method: GET
    path:
      - "https://www.rijksmuseum.nl/api/nl/usersets?key={{token}}&format=json&page=2"

    matchers:
      - type: word
        part: body
        words:
          - '"count":'
          - '"userSets":'
          - '"user":'
        condition: and
# digest: 4b0a00483046022100ad37c85f38a73cca99a67295eaefd3bdf776959977f29931d9c14d8f14ea2ef6022100b0a3114540c911afe6ab963f534cd9a3d10701ea55697bd7685f3f3d94eef702:922c64590222798bb761d5b6d8e72950