30 lines
699 B
YAML
30 lines
699 B
YAML
id: api-wakatime
|
|
|
|
info:
|
|
name: WakaTime CI API Test
|
|
author: zzeitlin
|
|
severity: info
|
|
reference:
|
|
- https://wakatime.com/developers
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,wakatime
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://wakatime.com/api/v1/users/current/projects/?api_key={{token}}"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"data":'
|
|
- '"seconds":'
|
|
- '"is_up_to_date":'
|
|
condition: and
|
|
|
|
# digest: 4a0a0047304502206fc4d8d636e94129a8c3434ed6f2cff88bd024b989c9acd80d62f7a6a843d255022100bd8d15cd927a4514a51dc7983a24c10e4def97701d9e8f78802627eeb8ebcf71:922c64590222798bb761d5b6d8e72950
|