24 lines
483 B
YAML
24 lines
483 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
|
|
|
|
self-contained: true
|
|
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
|