Project Log API
This (Optional) API is used to obtain the latest statistics on project performance.
Command
"livealert/log/1"
Recommended Frequency
You can use this at a frequency of your choosing.
Inputs
The following values are expected in the JSON body:
Name | Type | Required | Description |
---|---|---|---|
command | String | Must be "livealert/log/1" |
|
rfg_id | String | The identifier of the project. |
|
result | Integer | Optional filter to show only log entries with the given result. |
|
start | Date | Optional date range. If no end date is specified, all the sessions that started after the specified "start" will be returned. |
|
end | Date | Optional date range. Together with "start", "end" defines a specific range of time for obtaining only entries within that range. If "start" is not specified, "end" is ignored. |
Outputs
Name | Type | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
log | JSON[] | JSON array of log entry objects where each entry includes:
|
Example Response
For example, if your tracking ids are "rid" and "trackerId":
"log": [
{
"start" : "2014-08-03T11:37:49" ,
"end" : "2014-08-03T11:37:55" ,
"result" : 3 ,
"loi" : 6 ,
"sesskey" : "53de02ede4b0115crf372867",
"rid":"wer34",
"trackerId":"fdsfjk23"
},
{...},
{...}
]