Update api-newrelic.yaml
parent
4190f248aa
commit
2872812bcd
|
@ -7,22 +7,23 @@ 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
|
||||
metadata:
|
||||
verified: true
|
||||
tags: token-spray,newrelic
|
||||
|
||||
self-contained: true
|
||||
requests:
|
||||
- method: GET
|
||||
path:
|
||||
- "https://api.newrelic.com/v2/applications.json"
|
||||
headers:
|
||||
Api-Key: {{token}}
|
||||
- raw:
|
||||
- |
|
||||
GET https://api.newrelic.com/v2/applications.json HTTP/1.1
|
||||
Host: api.newrelic.com
|
||||
Api-Key: {{token}}
|
||||
|
||||
matchers:
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- 'id'
|
||||
- 'name'
|
||||
- 'language'
|
||||
- 'health_status'
|
||||
- '"applications"'
|
||||
- '"application.servers"'
|
||||
- '"application.application_hosts"'
|
||||
condition: and
|
||||
|
|
Loading…
Reference in New Issue