Update api-newrelic.yaml
parent
559fea6b1e
commit
f58428b445
|
@ -1,12 +1,13 @@
|
|||
id: api-newrelic
|
||||
|
||||
info:
|
||||
name: New Relic Rest API
|
||||
author: 0xlittleboy
|
||||
severity: info
|
||||
reference:
|
||||
- https://docs.newrelic.com/docs/apis/rest-api-v2/application-examples-v2/list-your-app-id-metric-timeslice-data-v2
|
||||
tags: token-spray,newrelic
|
||||
name: New Relic Rest API
|
||||
author: 0xlittleboy
|
||||
severity: info
|
||||
description: Forex currency market data
|
||||
reference:
|
||||
- https://docs.newrelic.com/docs/apis/rest-api-v2/application-examples-v2/list-your-app-id-metric-timeslice-data-v2
|
||||
tags: token-spray,newrelic
|
||||
|
||||
self-contained: true
|
||||
requests:
|
||||
|
@ -14,14 +15,14 @@ requests:
|
|||
path:
|
||||
- "https://api.newrelic.com/v2/applications.json"
|
||||
headers:
|
||||
X-Api-Key: {{token}}
|
||||
Api-Key: {{token}}
|
||||
|
||||
matchers:
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- 'id'
|
||||
- 'name'
|
||||
- 'language'
|
||||
- 'health_status'
|
||||
condition: and
|
||||
matchers:
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- 'id'
|
||||
- 'name'
|
||||
- 'language'
|
||||
- 'health_status'
|
||||
condition: and
|
||||
|
|
Loading…
Reference in New Issue