/
Stats

Stats


Stats API enables user for log user stats. When user play or stop any channel or VOD. On the basis of stats we are calculate user access on system


Create Playback stats log

Version2.0

Since
Not tracked

Parameters
string$userEmail

Exceptions
CApiException
CException
CannotGetSessionHandlerFactoryException When user play any content related to channel and VOD.

Request

Method TypeURLAuthorization
POSThttps://domain.tld/api/user/<userEmail>/<modelName>/<id>/playbackService

Querystrings

Please note that M is for Mandatory and O for Optional.

ParameterM/ODescription
serviceMService to which the user belongs.
userEmailMLogin User Email
modelNameMvod ,channel
idMId of Vod,channel
actionMstart,stop,progress
appOapplication type like HTML5
verOversion of application
platformOplatform of user like andriod,ipad Air
os_verOoperating system version of application
accessOstream
client_ip_addressOIP address of user

JSON Error Codes

Error CodeDescription
800STATS_PARAM_MISSING_MODEL
801STATS_PARAM_INVALID_MODEL
803STATS_PARAM_MISSING_ACTION
804STATS_PARAM_INVALID_ACTION
806STATS_PARAM_INVALID_ACCESS
802STATS_PARAM_MISSING_ID
805STATS_PARAM_INVALID_DURATION
500VOD_PARAM_INVALID_VOD_ID
600CHANNEL_PARAM_INVALID_CH_ID

JSON Response

In case of correct Post callback getting empty 200 ok response

Related content