25 lines
484 B
YAML
25 lines
484 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:
|
||
|
- "Authorization required"
|
||
|
negative: true
|