2021-10-28 16:43:40 +00:00
|
|
|
id: api-cooperhewitt
|
2021-10-28 00:14:18 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
name: Cooper Hewitt API
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2021-11-06 04:40:49 +00:00
|
|
|
reference:
|
|
|
|
- https://collection.cooperhewitt.org/api/methods/
|
2022-06-18 03:54:41 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/blob/main/Art%20Design/Cooper%20Hewitt.md
|
2021-10-28 16:43:40 +00:00
|
|
|
tags: token-spray,cooperhewitt
|
2021-10-28 00:14:18 +00:00
|
|
|
|
|
|
|
self-contained: true
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "https://api.collection.cooperhewitt.org/rest/?method=api.spec.formats&access_token={{token}}"
|
|
|
|
|
|
|
|
matchers:
|
2021-11-01 12:22:18 +00:00
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"stat":'
|
|
|
|
- '"formats":'
|
|
|
|
- '"default_format":'
|
|
|
|
condition: and
|