ホーム > 開発 > IP コントロール > REST API > APIリスト
getPlayingContentInfo (v1.0)
Estimated reading time: 1 minute
- This API provides information of the currently playing content or the currently selected input.
Syntax
- http://<Base URL>/avContent
Authentication Level
- private
Request
- params' Elements
- Not necessary.
- JSON Example
-
{ "method": "getPlayingContentInfo", "id": 103, "params": [], "version": "1.0" }
Response
- result's Elements
- An object composed of the following pair(s).
In case of “extInput:*” as source
name | type | multiplicity | default | description |
---|---|---|---|---|
uri | string | 1 | URI to identify the content. Refer to here to learn the URI structure in detail.
|
|
source | string | 1 | Source of the content. | |
title | string | 1 | Title of this content to be recognized by the user.
|
- JSON Example
-
{ "result": [{ "source": "extInput:hdmi", "title": "HDMI 2", "uri": "extInput:hdmi?port=2" }], "id": 103 }
- Error Code
- No additional error codes are defined. Refer to error code for common errors.
Last modified: 26 Jul 2024