Description: Statistics on workstations Method: GET Resource: workstation /stat Parameters: Response: JSON returning schema {
"$schema" : "http://json-schema.org/draft-04/schema#" ,
"description" : "Statistics" ,
"type" : "object" ,
"properties" : {
"data" : {
"description" : "Not used" ,
"type" : "array" ,
"items" : {}
},
"meta" : {
"description" : "Statistics" ,
"type" : "object" ,
"properties" : {
"CHANGE_DATE" : {
"description" : "Modification date" ,
"type" : "object" ,
"properties" : {
"from" : {
"description" : "The first modification date" ,
"type" : "string"
},
"to" : {
"description" : "The last modification date" ,
"type" : "string"
}
}
},
"totalCount" : {
"description" : "Total number of items" ,
"type" : "integer"
}
}
}
}
}
|
Example: GET /xapi/workstation/stat?filter[CAPTURE_DATE][to]= 1494951762 &filter[CAPTURE_DATE][from]= 1494951000
|
Response {
"data" : [],
"meta" : {
"CHANGE_DATE" : {
"from" : "2017-03-24 10:40:03" ,
"to" : "2017-05-24 12:10:22"
},
"totalCount" : 539693
}
}
|
|