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) m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 24: | Line 24: | ||
|} | |} | ||
Note: Description syntax is only based on LLIDL. | |||
Line 43: | Line 45: | ||
== group == | == group == | ||
group | &group = string | ||
Name of the ControlGroup. | Name of the ControlGroup. | ||
Line 50: | Line 52: | ||
== identifier == | == identifier == | ||
identifier | &identifier = string | ||
Name of the ControlGroup variable. | Name of the ControlGroup variable. | ||
Line 57: | Line 59: | ||
== defvar == | == defvar == | ||
&defvar = | |||
{ | { | ||
{| | {| | ||
|- | |- | ||
| identifier | | identifier | ||
| : | | : &[[#identifier|identifier]], | ||
|- | |- | ||
| persist | | persist | ||
Line 80: | Line 83: | ||
== curvar == | == curvar == | ||
curvar | &curvar = llsd | ||
The current value of ControlGrounp variable | The current value of ControlGrounp variable as nested LLSD. |
Latest revision as of 06:34, 1 August 2010
Resource | Method | Description |
/ControlGroup | GET | <- [ &group , ... ] |
/ControlGroup/<group> | GET | ?? &group <- [ &defvar, ... ] |
/ControlGroup/<group>/<identifier> | GET | ?? &group ?? &identifier <- &curvar |
Note: Description syntax is only based on LLIDL.
/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 | : &identifier, |
persist | : boolean, |
comment | : string, |
type | : int, |
value | : llsd |
}
curvar
&curvar = llsd
The current value of ControlGrounp variable as nested LLSD.