Difference between revisions of "GetTime"

From Gvp-public
Jump to navigation Jump to search
(Created page with "{{Api_Method_Spec| Description=Return the time information from server in Timestamp format. The timestamp were in UTC format. |Parameters= {{Api_Parameter| ParamName=token |...")
 
Line 14: Line 14:
  
 
|Returns=
 
|Returns=
Returns a JSON object containing an array of [[LiveChannel]].
+
Returns a JSON object containing current timestamp.
  
 
'''Example:'''
 
'''Example:'''

Revision as of 13:20, 6 March 2015

Description

Return the time information from server in Timestamp format. The timestamp were in UTC format.

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.


Returns

Returns a JSON object containing current timestamp.

Example:

{

"StatusCode": 0,
"Severity": 1,
"StatusMessage": "OK",
"Content": 1406728241

}


Exceptions

  • None


Caching

This method is not cached.


Known issues

  • None


Version history

API Version Number Change description Changes author
1.0 Initial method design Harley Cabral


See also