27 lines
532 B
YAML
27 lines
532 B
YAML
id: api-pagerduty
|
|
|
|
info:
|
|
name: Pagerduty API Test
|
|
author: zzeitlin
|
|
severity: info
|
|
reference:
|
|
- https://developer.pagerduty.com/api-reference
|
|
tags: token-spray,pagerduty
|
|
|
|
self-contained: true
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://api.pagerduty.com/schedules"
|
|
headers:
|
|
Accept: application/vnd.pagerduty+json;version=2
|
|
Authorization: Token token={{token}}
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"schedules":'
|
|
- '"id":'
|
|
condition: and
|