conventions

get properties

To get the value of a proprety, simply call the url with no argument:

/some/object/property

set properties

To set the value of a proprety, simply call the url with an argument matching the type discovered during the get query:

/some/object/property <value>

What we show here with <value> can be anything from a single float to a list of many different parameter types.

advice: If you want your application to be easily controlled by human interaction through sliders, buttons or keyboards, it is better to have a single argument as <value> since this is easier to map.

return values

The return value of a get or set query is the same and is made of the called url with the current value:

/.reply "/some/object/property" <value>

All replies to queries are sent to the ”/.reply” url.

Return values are sent to the calling application and to all observers (see /.register below).

root

The url for the root node is "", not "/". This is because the slash (”/”) is a separator between names meaning “parent of”.

/foo/bar means: object ‘bar’ is a child of ‘foo’ which is a child of object ’’ (empty string)

Gaspard Bucher