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