id: api-harvardart

info:
  name: Harvard Art Museums API Test
  author: daffainfo
  severity: info
  description: Harvard Art
  reference:
    - https://github.com/harvardartmuseums/api-docs
    - https://github.com/daffainfo/all-about-apikey/tree/main/harvard-art-museums
  metadata:
    max-request: 1
  tags: token-spray,harvardart

self-contained: true

http:
  - method: GET
    path:
      - "https://api.harvardartmuseums.org/color/34838442?apikey={{token}}"

    matchers:
      - type: word
        part: body
        words:
          - '"colorid"'
          - '"name"'
          - '"hex"'
        condition: and
# digest: 4a0a00473045022100f0f509d78a735c9ff70c6fa2d6409a506c7cc3035fc95355552bed844b5ec8ab022070c174d8b457c0685130219da9d5bdd2317ec059b0e5c3c329c81940e49ae790:922c64590222798bb761d5b6d8e72950