Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
REST api JSON: how to get a list of properties of a method?
#1
I'm searching the possible properties of "XBMC.GetInfoBooleans" and "Application.GetProperties" and other method. How do I get them?
Reply
#2
For the Record.
json:
{ "jsonrpc": "2.0", "method": "JSONRPC.Introspect", "params": { "filter": { "id": "XBMC.GetInfoBooleans", "type": "method" } }, "id": 1 }

Do not show any properties
Reply
#3
JSONRPC.Introspect is the way to do it for most JSON-RPC methods.

XBMC.GetInfoBooleans and XBMC.GetInfoLabels are different and tie into deeper system data, there isn't really a complete list of options. See the wiki page list of boolean conditions to get you started on GetInfoBooleans.
Reply
#4
Isn't there a possibility to get a List from Kodi itself? In my opinion Kodi should know what properties exist. How does other API user do get these Information?
I wish use the information with Node-red.
Reply
#5
The wiki (JSON-RPC_API (wiki)) and docs.kodi.tv are two good places to start.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply

Logout Mark Read Team Forum Stats Members Help
REST api JSON: how to get a list of properties of a method?0