33 lines
758 B
YAML
33 lines
758 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
|
|
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: 4a0a00473045022100c50a581654d857a35a2fb9ebc7b2fab2867fc09f99679fd67fc1fe517655aa33022034c075dcfab67ff1836e5e772207cd79a24dd04ba66a5d240c9063fc3e2d4483:922c64590222798bb761d5b6d8e72950
|