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
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2021-10-29 11:24:17 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-10-29 11:24:17 +00:00
|
|
|
- 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
|