Difference between revisions of "GetSubtitle"

From Gvp-public
Jump to navigation Jump to search
(Created page with "{{Api_Method_Spec| Description=Returns the subtitle object with all text part and his respective time to be showed. The method can be used by logged or anonymous user. |Para...")
 
 
Line 39: Line 39:
 
:    <span style="color: #a11;">"StatusMessage"</span>: <span style="color: #164;">"OK"</span>,
 
:    <span style="color: #a11;">"StatusMessage"</span>: <span style="color: #164;">"OK"</span>,
 
:    <span style="color: #a11;">"Content"</span>:  
 
:    <span style="color: #a11;">"Content"</span>:  
::    [ <span style="color: #219;">Array of [[SubtitleJSON]] objects</span> ]
+
::    { <span style="color: #219;">[[SubtitleJSON]] objects</span> }
 
}
 
}
  

Latest revision as of 14:00, 18 June 2014

Description

Returns the subtitle object with all text part and his respective time to be showed.

The method can be used by logged or anonymous user.

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.
  • movieId (int, required)
The id of the Movie that wants to retrieve the subtitle object.
  • subtitleId (int, required)
The id of the Movie that wants to retrieve the subtitle object.


Returns

Returns a JSON object containing a SubtitleJSON in JSON format.

Example:

{

"StatusCode": 0,
"Severity": 1,
"StatusMessage": "OK",
"Content":
{ SubtitleJSON objects }

}


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