28 lines
531 B
YAML
28 lines
531 B
YAML
id: api-opsgenie
|
|
|
|
info:
|
|
name: OpsGenie API Test
|
|
author: 0xpugazh
|
|
severity: info
|
|
description: Forex currency market data
|
|
reference:
|
|
- https://docs.opsgenie.com/docs/api-overview
|
|
tags: token-spray,opsgenie
|
|
|
|
self-contained: true
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://api.opsgenie.com/v2/alerts"
|
|
headers:
|
|
Authorization: GenieKey {{token}}
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"data":'
|
|
- '"paging":'
|
|
- '"took":'
|
|
condition: and
|