26 lines
501 B
YAML
26 lines
501 B
YAML
id: api-appveyor
|
|
|
|
info:
|
|
name: AppVeyor API Test
|
|
author: dwisiswant0
|
|
severity: info
|
|
reference:
|
|
- https://www.appveyor.com/docs/api/
|
|
tags: token-spray,appveyor
|
|
|
|
self-contained: true
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "https://ci.appveyor.com/api/roles"
|
|
headers:
|
|
Content-Type: application/json
|
|
Authorization: Bearer {{token}}
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"roleId":'
|
|
- '"created":'
|
|
condition: and |