31 lines
645 B
YAML
31 lines
645 B
YAML
id: api-asana
|
|
|
|
info:
|
|
name: Asana API Test
|
|
author: zzeitlin
|
|
severity: info
|
|
description: Programmatic access to all data in your asana system
|
|
reference:
|
|
- https://developers.asana.com/docs/using-terminal
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/asana
|
|
tags: token-spray,asana
|
|
metadata:
|
|
max-request: 1
|
|
|
|
self-contained: true
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://app.asana.com/api/1.0/users/me"
|
|
headers:
|
|
Authorization: Bearer {{token}}
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 'data:'
|
|
- 'email'
|
|
- 'name'
|
|
condition: and
|