Kodi Community Forum

Full Version: Params reference
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
{"jsonrpc":"2.0","id": 1,"method":"GUI.ActivateWindow", "params": {"window":"pvrosdchannels"}, "id": "1"}}

Regarding the params value, I cannot know how to find the params arguments list for the method use.

Please give me a link for reference.

Thanks
Thanks

I know the link

5.5.1 GUI.ActivateWindow
Activates the given window
Permissions:
ControlGUI
Parameters:
GUI.Window window
[ array[1..X] parameters ]
Returns: string

For example GUI.ActivateWindow.

"GUI.ActivateWindow", "params": { "window": "settings"}, "id": 1}
'
How can I know the Method params can use the "settings"
You click on the "GUI.Window" link and then you click on the "[show]" link in the "JSON Schema Description" bar in the chapter "6.7.3 GUI.Window".
Thanks.

I overlook the "[show]" link.