31 lines
755 B
YAML
31 lines
755 B
YAML
id: api-opsgenie
|
|
|
|
info:
|
|
name: OpsGenie API Test
|
|
author: 0xpugal
|
|
severity: info
|
|
description: Forex currency market data
|
|
reference:
|
|
- https://docs.opsgenie.com/docs/api-overview
|
|
metadata:
|
|
max-request: 1
|
|
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
|
|
# digest: 4a0a0047304502201afbf7cb1688bd149675c576c0dd2b52c770def49d4a249ea99a1745a74f74ff0221008d8c2b40bc381247aa64327cc2f851a4a9ecddbb9f89a17df64f3a70e22f3036:922c64590222798bb761d5b6d8e72950 |