Skip to content
ggodart edited this page Jan 2, 2021 · 1 revision

json_server

See original

SYNOPSIS

Called via the web server. If no request, usage is returned. Examples:

  http://localhost:8080/sub?json
  http://localhost:8080/sub?json(vars)

You can also specify which objects, groups, categories, variables, etc to return (by default, all) Example:

  http://me:8080/sub?json(weather=TempIndoor|TempOutdoor)

You can also specify which fields of objects are returned (by default, all) Example:

  http://localhost:8080/sub?json(groups=$All_Lights,fields=html)

DESCRIPTION

Generate json for MisterHouse objects, groups, categories, and variables

INHERITS

None

INI PARAMETERS

METHODS

AUTHOR

SEE ALSO

None

TODO

add request types for speak, print, and error logs add the truncate option to packages, vars, and other requests add more info to subs request

Clone this wiki locally