32 lines
808 B
YAML
32 lines
808 B
YAML
id: api-iucn
|
|
|
|
info:
|
|
name: IUCN API Test
|
|
author: daffainfo
|
|
severity: info
|
|
description: IUCN Red List of Threatened Species
|
|
reference:
|
|
- http://apiv3.iucnredlist.org/api/v3/docs
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/iucn
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,iucn
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "http://apiv3.iucnredlist.org/api/v3/country/list?token={{token}}"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 'taxonid'
|
|
- 'scientific_name'
|
|
- 'subspecies'
|
|
condition: and
|
|
|
|
# digest: 4b0a0048304602210086fb411f642b17a59f67769808ea358c3f404818bb006330ef59fc5ed9dfa2a0022100a27a4c9be6fcd40ca2eada84e5ca5c2111e6a325ea7b929f020efcb5f9171647:922c64590222798bb761d5b6d8e72950
|