35 lines
942 B
YAML
35 lines
942 B
YAML
id: api-clockify
|
|
|
|
info:
|
|
name: Clockify API Test
|
|
author: daffainfo
|
|
severity: info
|
|
description: Clockify's REST-based API can be used to push/pull data to/from it & integrate it with other systems
|
|
reference:
|
|
- https://clockify.me/developers-api
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/clockify
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,clockify
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET https://api.clockify.me/api/v1/user HTTP/1.1
|
|
Host: api.clockify.me
|
|
X-Api-Key: {{token}}
|
|
Content-Type: application/json
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"id":'
|
|
- '"email":'
|
|
- '"name":'
|
|
condition: and
|
|
|
|
# digest: 4a0a004730450221008e7f991b307ddcb8b49287eb2361e0cb9d4e3c50608458ae422bf1d51647b43602205e29d04c3149340dcfebc19bf35ae9f24950dcd85de1a73bc1e0bfa31cfe6233:922c64590222798bb761d5b6d8e72950
|