32 lines
863 B
YAML
32 lines
863 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
|
|
|
|
# digest: 4a0a00473045022100a87556e1aa966f9ea65e586971ad651a52304f66fa81672e1e9c71ff0e7ab6760220070d5d0cb80302cd2752145928b61272ad9443169f9ec996fd8124627c3bc140:922c64590222798bb761d5b6d8e72950
|