29 lines
667 B
YAML
29 lines
667 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
|
|
tags: token-spray,cooperhewitt
|
|
metadata:
|
|
max-request: 1
|
|
|
|
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
|