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
|
2022-07-25 06:05:11 +00:00
|
|
|
description: IUCN Red List of Threatened Species
|
2021-11-06 04:40:49 +00:00
|
|
|
reference:
|
|
|
|
- http://apiv3.iucnredlist.org/api/v3/docs
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/iucn
|
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
|