id: api-visualstudio

info:
  name: Visual Studio API Test
  author: zzeitlin
  severity: info
  reference:
    - https://openapi.appcenter.ms/
  metadata:
    max-request: 1
  tags: token-spray,visualstudio,microsoft

self-contained: true

http:
  - method: GET
    path:
      - "https://api.appcenter.ms/v0.1/apps"

    headers:
      Content-Type: application/json
      X-Api-Token: "{{token}}"
    matchers:
      - type: word
        part: body
        words:
          - '"id":'
          - '"description":'
          - '"owner":'
        condition: and

# digest: 4a0a00473045022020bc75d51d8e12e2dbdd852c96a214335e197dc30535c920095b6b13f487c850022100805050b619bde77d62c60283bad92aba025ded6056670144f8e5b00bd93078b1:922c64590222798bb761d5b6d8e72950
