The Collector Details API

Using the Collector Details API, you can view the details of a collector.
METHOD GET
URI
https://<historianservername>/historian-rest-api/v1/collector/details
SAMPLE QUERY PARAM GET URL
https://<historianservername>/historian-rest-api/v1/collector/details
SAMPLE RESPONSE
{
"ErrorCode":0,
"ErrorMessage":null,
"Data":
[
{
"Name":"<value>",
"ComputerName":"<value>",
"Status":"Running",
"ReportRate":0,
"MaximumEventRate":0,
"MinimumEventRate":0,
"OutOfOrderEvents":0,
"Overruns":0,
"OverrunsPercent":0,
"TotalEventsCollected":0,
"TotalEventsReported":0,
"LastDataValue":"\\\"1970-01-01T00:00:00.000Z\\\"",
"Redundency":"",
"Comments":"<username>--test2--\\\"2020-12-15T07:19:42.000Z\\\";",
"Version":"9.0.4326.0",
"CollectorCompression":0,
"TagsCount":0
}
]
}
SAMPLE cURL COMMAND
curl -i -H "Accept: application/json" -H "Authorization: Bearer <TOKEN>” 
https://<historianservername>/historian-rest-api/v1/collector/details

Response Parameters

Parameter Data Type Required? Description
ErrorCode Integer Yes For example, ErrorCode = 0 implies the operation was successful.
ErrorMessage String Yes For example, NULL.