30 lines
668 B
YAML
30 lines
668 B
YAML
id: api-cooperhewitt
|
|
|
|
info:
|
|
name: Cooper Hewitt API
|
|
author: daffainfo
|
|
severity: info
|
|
description: Smithsonian Design Museum
|
|
reference:
|
|
- https://collection.cooperhewitt.org/api/methods/
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/cooper-hewitt
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,cooperhewitt
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://api.collection.cooperhewitt.org/rest/?method=api.spec.formats&access_token={{token}}"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"stat":'
|
|
- '"formats":'
|
|
- '"default_format":'
|
|
condition: and
|