2021-11-13 04:15:49 +00:00
|
|
|
id: api-adoptapet
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: AdoptAPet API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: Resource to help get pets adopted
|
2021-11-13 04:15:49 +00:00
|
|
|
reference:
|
|
|
|
- https://www.adoptapet.com/public/apis/pet_list.html
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/adoptapet
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,adoptapet
|
2021-11-13 04:15:49 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-11-13 04:15:49 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "https://api.adoptapet.com/search/pets_at_shelter?key={{token}}&v=2&output=json&shelter_id=79570&start_number=1&end_number=500"
|
2021-11-13 18:03:07 +00:00
|
|
|
|
2021-11-13 04:15:49 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- 'returned_pets":'
|
|
|
|
- 'total_pets":'
|
|
|
|
condition: and
|