nuclei-templates/http/token-spray/api-todoist.yaml

34 lines
827 B
YAML

id: api-todoist
info:
name: Todoist API Test
author: daffainfo
severity: info
description: Todo Lists
reference:
- https://developer.todoist.com/rest/v1/#overview
- https://github.com/daffainfo/all-about-apikey/tree/main/todoist
metadata:
max-request: 1
tags: token-spray,todoist
self-contained: true
http:
- raw:
- |
GET https://api.todoist.com/rest/v1/projects HTTP/1.1
Host: api.todoist.com
Authorization: Bearer {{token}}
matchers:
- type: word
part: body
words:
- "id"
- "color"
- "name"
condition: and
# digest: 490a0046304402203dbef347f1a662b07de6be4819a80425658784c023602c004abe26aeaf09e5e602205d2622dc6c1cfa6baa62ba5034f1509620b7eaeec485f8429096f5a4f62f7fb2:922c64590222798bb761d5b6d8e72950