Skip to main content

Fetch analytics

End point: /analytics/fetch

FieldTypeRequiredDescription
room_idsarrayYesArray of room Ids'
fromnumberNoFrom point. Default 0
limitnumberNoLimit of records. Default 20
order_bystringNoOrdering DESC or ASC. Default: DESC

Example:

{
"room_ids": ["room01"],
"from": 0,
"limit": 20,
"order_by": "DESC"
}

Response

FieldTypePositionDescription
statusbooleanrootThe status of the request
msgstringrootResponse message
resultobject<result>root

Result

FieldTypeDescription
total_analyticsnumberTotal number of analytics for the query
fromnumberRequested from point
limitnumberRequested limit of records
order_bystringRecord order
analytics_listArray<analytics-info>

Analytics info

FieldTypeDescription
room_idstringRoom Id
file_idstringFile Id
file_namestringFile name
file_sizenumberFile size
creation_timenumberCreation time in unix format
room_creation_timenumberRoom creation time in unix format