id: api-apigee-edge

info:
  name: Apigee Edge API Test
  author: dwisiswant0
  severity: info
  reference:
    - https://apidocs.apigee.com/apis
  metadata:
    max-request: 1
  tags: token-spray,apigee

self-contained: true

http:
  - method: GET
    path:
      - "https://apimonitoring.enterprise.apigee.com/alerts"

    headers:
      Authorization: Bearer {{token}}

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        part: body
        words:
          - '"uuid":'
          - '"name":'
        condition: and
# digest: 4b0a00483046022100f70df3f233ed8c242889eae038d31e18d5a960ca3bd9a6b1090f205912abbe42022100f5a0e728a62aee9b054a510ca4e6056bd859b20b117c846f8e303f6cbb6c22de:922c64590222798bb761d5b6d8e72950