GetSubtitle

From Gvp-public
Jump to navigation Jump to search

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