27 lines
636 B
YAML
27 lines
636 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
|
|
|
|
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
|