Difference between revisions of "GetUserStorageInfo"

From Gvp-public
Jump to navigation Jump to search
Line 8: Line 8:
 
|ParamRequired=required
 
|ParamRequired=required
 
|ParamDescription=A valid token for identifying the API session context and logged user.
 
|ParamDescription=A valid token for identifying the API session context and logged user.
 +
}}
 +
{{Api_Parameter|
 +
ParamName=targetDeviceId
 +
|ParamType=int
 +
|ParamRequired=optional
 +
|ParamDescription=Allows identifying the user's device (STB) on which the application will be applied, in the case that several DVR devices may exist in the household (does not apply to MiView and Mediaroom)
 
}}
 
}}
  

Revision as of 08:14, 31 October 2014

Description

Retrieves storage status from the external platform, as an UserStorageInfo object. If the external platform provides a Network PVR service, this method will return total, used and available time measured in minutes or hours. In the case of Remote PVR service availability, this method will provide the total, used and available storage measured in bytes from the connected STB hard disk.

Parameters

  • token (String, required)
A valid token for identifying the API session context and logged user.
  • targetDeviceId (int, optional)
Allows identifying the user's device (STB) on which the application will be applied, in the case that several DVR devices may exist in the household (does not apply to MiView and Mediaroom)


Returns

Returns a JSON object with a list of UserStorageInfo.

Example:

{

"Offset": 0,
"Limit": 10,
"Count": 48,
[ Array of UserStorageInfo objects ]

}


Exceptions

  • None.


Caching

This method is not cached.


Known issues

None


Version history

API Version Number Change description Changes author
2.4 Initial method design


See also