2021-10-29 11:24:17 +00:00
|
|
|
id: api-iucn
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: IUCN API Test
|
|
|
|
author: daffainfo
|
2021-11-06 05:38:20 +00:00
|
|
|
severity: info
|
2021-11-06 04:40:49 +00:00
|
|
|
reference:
|
|
|
|
- http://apiv3.iucnredlist.org/api/v3/docs
|
|
|
|
- https://github.com/daffainfo/all-about-apikey/blob/main/Animals/IUCN.md
|
2021-10-29 11:24:17 +00:00
|
|
|
tags: token-spray,iucn
|
|
|
|
|
|
|
|
self-contained: true
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "http://apiv3.iucnredlist.org/api/v3/country/list?token={{token}}"
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
2021-10-29 17:25:59 +00:00
|
|
|
- 'taxonid'
|
|
|
|
- 'scientific_name'
|
|
|
|
- 'subspecies'
|
|
|
|
condition: and
|