SetUserSubtitleDefault

From Gvp-public
Jump to navigation Jump to search

Description

Set the default subtitle for the user. This value can be used to choose a subtitle by default when some content is showed. Can be set one of those available or no one.

This method only can be used by logged user.

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.
  • languageId (int, required)
A language id that represent the language the user wants to set by default for any contents that has this language available.


Returns

Returns a JSON object containing true for success.

Example:

{

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

}


Exceptions


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