33 lines
844 B
YAML
33 lines
844 B
YAML
id: api-leanix
|
|
|
|
info:
|
|
name: LeanIX API Test
|
|
author: dwisiswant0
|
|
severity: info
|
|
reference:
|
|
- https://docs.leanix.net/docs/rest-api
|
|
metadata:
|
|
max-request: 2
|
|
tags: token-spray,leanix
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://us.leanix.net/services/integration-api/v1/examples/starterExample"
|
|
- "https://eu.leanix.net/services/integration-api/v1/examples/starterExample"
|
|
|
|
headers:
|
|
Authorization: Bearer {{token}}
|
|
stop-at-first-match: true
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"input":'
|
|
- '"connectorType":'
|
|
condition: and
|
|
|
|
# digest: 4a0a00473045022034bb46557674be80dabd1e3c611fc2bfa97944426d95ce77402dd9ba5cb9daef022100879675a2ab38426dc5c60254b72a28c557fdf6d4d83670aa2b47d494d4c8d5ff:922c64590222798bb761d5b6d8e72950
|