REST API call for retrieving Component Stats (including values)

REST API call for retrieving Component Stats (including values)

book

Article ID: KB0087598

calendar_today

Updated On:

Products Versions
TIBCO Silver Fabric -
Not Applicable -

Description

Resolution:
Below is the REST API call which can be used to retrieve this detail:-

http://hostname:port/livecluster/rest/v1/sf/components/{component-name}/statistics/{statistic-name}/%5B{from}%5D-%5B{to}%5D

Below is an example of the result for the above API:-

{"result":{"name":"statisticValue","value":{"duration":{"fromDate":"2016-04-15-04:00","toDate":"2016-04-15-04:00"},"name":"Archives deployed","value":13.0}},"status":200}
REST API call

Issue/Introduction

REST API call for retrieving Component Stats (including values)