2021-11-19 23:18:12 +00:00
|
|
|
id: api-harvardart
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Harvard Art Museums API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: Harvard Art
|
2021-11-19 23:18:12 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/harvardartmuseums/api-docs
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/harvard-art-museums
|
2021-11-19 23:18:12 +00:00
|
|
|
tags: token-spray,harvardart
|
|
|
|
|
|
|
|
self-contained: true
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "https://api.harvardartmuseums.org/color/34838442?apikey={{token}}"
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"colorid"'
|
|
|
|
- '"name"'
|
|
|
|
- '"hex"'
|
|
|
|
condition: and
|