Difference between revisions of "GetMediaUrlStb (Blender)"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{Api_Method_Spec| | {{Api_Method_Spec| | ||
− | Description= | + | Description=Gets the multiple media URL for a movie (to be used on mediaroom) |
− | |||
− | + | |Parameters= | |
− | |||
− | |||
− | |||
{{Api_Parameter| | {{Api_Parameter| | ||
ParamName=token | ParamName=token | ||
|ParamType=String | |ParamType=String | ||
|ParamRequired=required | |ParamRequired=required | ||
− | |ParamDescription=A valid token for identifying the API session context. | + | |ParamDescription=A valid token for identifying the API session context. The token can be anonymous or logged. |
}} | }} | ||
{{Api_Parameter| | {{Api_Parameter| | ||
− | ParamName= | + | ParamName=movieId |
|ParamType=int | |ParamType=int | ||
− | |ParamRequired= | + | |ParamRequired=required |
− | |ParamDescription= | + | |ParamDescription=The movie id that represent an movie registered and available on the instance. |
}} | }} | ||
{{Api_Parameter| | {{Api_Parameter| | ||
− | ParamName= | + | ParamName=mediaId |
|ParamType=int | |ParamType=int | ||
− | |ParamRequired= | + | |ParamRequired=required |
− | |ParamDescription= | + | |ParamDescription=An id from media id that represents the media from a movie. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | + | ||
|Returns= | |Returns= | ||
− | Returns a JSON object containing | + | Returns a JSON object containing a [[MediaUrlResult]]. |
− | |||
− | |||
'''Example:''' | '''Example:''' | ||
{ | { | ||
− | : <span style="color: #a11;">" | + | : <span style="color: #a11;">"StatusCode"</span>: <span style="color: #164;">0</span>, |
− | : <span style="color: #a11;">" | + | : <span style="color: #a11;">"Severity"</span>: <span style="color: #164;">1</span>, |
− | : <span style="color: #a11;">" | + | : <span style="color: #a11;">"StatusMessage"</span>: <span style="color: #164;">"OK"</span>, |
− | : <span style="color: #a11;">" | + | : <span style="color: #a11;">"Content"</span>: |
− | :: | + | :: { <span style="color: #219;">Object of [[MediaUrlResult]]</span> } |
} | } | ||
− | |||
|Exceptions= | |Exceptions= | ||
− | * | + | * None |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|Cache= | |Cache= | ||
Line 92: | Line 53: | ||
! Changes author | ! Changes author | ||
{{!}}- valign="top" | {{!}}- valign="top" | ||
− | ! | + | ! 1.0 |
{{!}} Initial method design | {{!}} Initial method design | ||
− | {{!}} | + | {{!}} Harley Cabral |
− | |||
− | |||
− | |||
− | |||
{{!}}} | {{!}}} | ||
|SeeAlso= | |SeeAlso= | ||
}} | }} |
Revision as of 13:45, 12 May 2025
Description
Gets the multiple media URL for a movie (to be used on mediaroom)
Parameters
- token (String, required)
- A valid token for identifying the API session context. The token can be anonymous or logged.
- movieId (int, required)
- The movie id that represent an movie registered and available on the instance.
- mediaId (int, required)
- An id from media id that represents the media from a movie.
Returns
Returns a JSON object containing a MediaUrlResult.
Example:
{
- "StatusCode": 0,
- "Severity": 1,
- "StatusMessage": "OK",
- "Content":
- { Object of MediaUrlResult }
}
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 |