23 lines
462 B
YAML
23 lines
462 B
YAML
id: api-pagerduty
|
|
|
|
info:
|
|
name: Pagerduty API Test
|
|
author: zzeitlin
|
|
reference: https://developer.pagerduty.com/api-reference
|
|
severity: info
|
|
tags: token-spray,pagerduty
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "https://api.pagerduty.com/schedules"
|
|
headers:
|
|
Accept: application/vnd.pagerduty+json;version=2
|
|
Authorization: Token token={{token}}
|
|
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 401
|
|
negative: true
|