2021-10-24 05:32:29 +00:00
|
|
|
id: api-netlify
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Netlify API Test
|
|
|
|
author: dwisiswant0
|
|
|
|
severity: info
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://docs.netlify.com/api/get-started/
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,netlify
|
2021-10-24 05:32:29 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-10-24 05:32:29 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "https://api.netlify.com/api/v1/sites"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-10-24 05:32:29 +00:00
|
|
|
headers:
|
|
|
|
Authorization: Bearer {{token}}
|
|
|
|
matchers:
|
2021-11-10 09:35:20 +00:00
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"id":'
|
|
|
|
- '"premium":'
|
|
|
|
- '"claimed":'
|
|
|
|
condition: and
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a0047304502207e42d56f08b8711aa9e2dc68c1f03484bcbffd91ca75cb894339fcf576a0f8b3022100b30d2ae584362d29f0e05772a69ed14161d80a266266ac43269a1be95e9eb013:922c64590222798bb761d5b6d8e72950
|