Difference between revisions of "User:Dzonatas Sol/SNOW-375 Resources/ControlGroup"
Jump to navigation
Jump to search
Dzonatas Sol (talk | contribs) |
Dzonatas Sol (talk | contribs) |
||
Line 43: | Line 43: | ||
== group == | == group == | ||
group | &group = string | ||
Name of the ControlGroup. | Name of the ControlGroup. | ||
Line 50: | Line 50: | ||
== identifier == | == identifier == | ||
identifier | &identifier = string | ||
Name of the ControlGroup variable. | Name of the ControlGroup variable. | ||
Line 57: | Line 57: | ||
== defvar == | == defvar == | ||
&defvar = | |||
{ | { | ||
{| | {| | ||
Line 80: | Line 81: | ||
== curvar == | == curvar == | ||
curvar | &curvar = llsd | ||
The current value of ControlGrounp variable | The current value of ControlGrounp variable as nested LLSD. |
Revision as of 15:32, 31 July 2010
Resource | Method | Description |
/ControlGroup | GET | <- [ &group , ... ] |
/ControlGroup/<group> | GET | ?? &group <- [ &defvar, ... ] |
/ControlGroup/<group>/<identifier> | GET | ?? &group ?? &identifier <- &curvar |
/ControlGroup
Response is a list of control &groups
/ControlGroup/<group>
Response is a list of valid variable &identifiers in a controlgroup with default settings
/ControlGroup/<group>/<identifier>
Response is the current settings for the specific variable identified
group
&group = string
Name of the ControlGroup.
identifier
&identifier = string
Name of the ControlGroup variable.
defvar
&defvar = {
identifier | : string, |
persist | : boolean, |
comment | : string, |
type | : int, |
value | : llsd |
}
curvar
&curvar = llsd
The current value of ControlGrounp variable as nested LLSD.