id: api-europeana

info:
  name: Europeana API Test
  author: daffainfo
  severity: info
  description: European Museum and Galleries content
  reference:
    - https://pro.europeana.eu/page/search
    - https://github.com/daffainfo/all-about-apikey/tree/main/europeana
  metadata:
    max-request: 1
  tags: token-spray,europeana

self-contained: true

http:
  - method: GET
    path:
      - "https://api.europeana.eu/record/v2/search.json?wskey={{token}}&query=*&rows=0&profile=facets"

    matchers:
      - type: word
        part: body
        words:
          - 'success'
          - 'apikey'
          - 'action'
        condition: and

# digest: 4a0a004730450220403070e888a319ba4a50aadc9e5d82db018198fb50ac63142aeca81fb62dc496022100f98c0738e60b20fb3a4dcfb88eed70705433fc0c6d902f699fc4f7de3d5de1e9:922c64590222798bb761d5b6d8e72950
