34 lines
755 B
YAML
34 lines
755 B
YAML
id: api-particle
|
|
|
|
info:
|
|
name: Particle Cloud API Test
|
|
author: dwisiswant0
|
|
severity: info
|
|
reference:
|
|
- https://docs.particle.io/reference
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,particle
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://api.particle.io/v1/user?access_token={{token}}"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"account_info":'
|
|
- '"username":'
|
|
condition: and
|
|
|
|
# digest: 4b0a00483046022100bdc80c6ab6f6f31007268b2006a018595e619f909ad03619f5f8d7906defc63d022100aaf67b853ba2ebbf005b13d1efc075e07e700f2a3bcdd4686f9d1e1a21cb2bd4:922c64590222798bb761d5b6d8e72950
|