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: 490a00463044022074353ab12e5ea786a9e6c347bbca37ced78e6b21a4b4c678f2d5172357296a6f0220403e17f9d59201f6a891a6569430e1fabaafb2436b31c47f6b3459f40b53e7cb:922c64590222798bb761d5b6d8e72950