Update api-newrelic.yaml

patch-1
Dhiyaneshwaran 2022-10-04 03:03:58 +05:30 committed by GitHub
parent 4190f248aa
commit 2872812bcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 9 deletions

View File

@ -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