adding py
parent
82818e5d49
commit
498be812ab
|
|
@ -52,7 +52,7 @@ def GatherReportingInfo(DTAPIToken, DTENV,friendlyName):
|
||||||
cleanedMetric = cleanedMetric.replace('"','')
|
cleanedMetric = cleanedMetric.replace('"','')
|
||||||
DTAPIURL= env + "/api/config/v1/calculatedMetrics/service/" + cleanedMetric
|
DTAPIURL= env + "/api/config/v1/calculatedMetrics/service/" + cleanedMetric
|
||||||
|
|
||||||
response = make_request(DTAPIURL,headers)
|
response = make_request(DTAPIURL,headers,verify)
|
||||||
|
|
||||||
row.update({'name':response.json()['name']})
|
row.update({'name':response.json()['name']})
|
||||||
for condition in response.json()['conditions']:
|
for condition in response.json()['conditions']:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue