30 lines
521 B
YAML
30 lines
521 B
YAML
id: api-netlify
|
|
|
|
info:
|
|
name: Netlify API Test
|
|
author: dwisiswant0
|
|
severity: info
|
|
reference:
|
|
- https://docs.netlify.com/api/get-started/
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,netlify
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://api.netlify.com/api/v1/sites"
|
|
|
|
headers:
|
|
Authorization: Bearer {{token}}
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"id":'
|
|
- '"premium":'
|
|
- '"claimed":'
|
|
condition: and
|