id: api-webex

info:
  name: Cisco Webex API Test
  author: dwisiswant0
  severity: info
  reference:
    - https://developer.webex.com/docs/getting-started
  metadata:
    max-request: 1
  tags: token-spray,cisco,webex

self-contained: true

http:
  - method: GET
    path:
      - "https://webexapis.com/v1/rooms"

    headers:
      Authorization: Bearer {{token}}
    matchers:
      - type: word
        part: body
        words:
          - 'id'
          - 'title'
          - 'type'
        condition: and
# digest: 490a0046304402204a9d2ad037740ab5ae33f3609b94d40b8b8386a6d47729915497736c202f064e022031affdd72458dd8f7ce22bce574ce77c0c915f5481e971c1694bdffc3514923b:922c64590222798bb761d5b6d8e72950