id: api-adafruit-io

info:
  name: Adafruit IO API Test
  author: dwisiswant0
  severity: info
  reference:
    - https://io.adafruit.com/api/docs/
  metadata:
    max-request: 1
  tags: token-spray,adafruit

self-contained: true

http:
  - method: GET
    path:
      - "https://io.adafruit.com/api/v2/user"

    headers:
      X-AIO-Key: "{{token}}"
    matchers:
      - type: word
        part: body
        words:
          - '"username":'
          - '"id":'
        condition: and

# digest: 4a0a00473045022100bd2cde5742fc5e144ec6165cbc4dac66a0c51f4c574e845586f7ad8a47b196cb02206243f827c0ea95f3c051255499e838a938ac1a03275a636a90746a583327cd9e:922c64590222798bb761d5b6d8e72950
