2021-10-25 00:29:54 +00:00
|
|
|
id: api-adafruit-io
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Adafruit IO API Test
|
|
|
|
author: dwisiswant0
|
|
|
|
severity: info
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://io.adafruit.com/api/docs/
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,adafruit
|
2021-10-25 00:29:54 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-10-25 00:29:54 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "https://io.adafruit.com/api/v2/user"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-10-25 00:29:54 +00:00
|
|
|
headers:
|
|
|
|
X-AIO-Key: "{{token}}"
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
2021-11-01 12:22:18 +00:00
|
|
|
- '"username":'
|
|
|
|
- '"id":'
|
2023-10-14 11:27:55 +00:00
|
|
|
condition: and
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022100bd2cde5742fc5e144ec6165cbc4dac66a0c51f4c574e845586f7ad8a47b196cb02206243f827c0ea95f3c051255499e838a938ac1a03275a636a90746a583327cd9e:922c64590222798bb761d5b6d8e72950
|