Difference between revisions of "User:Dzonatas Sol/SNOW-375 Resources/ControlGroup"

From Second Life Wiki
Jump to navigation Jump to search
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
{| border="1" cellpadding="5" cellspacing="0"
{| border="1" cellpadding="5" cellspacing="0"
|-
|-
Line 4: Line 5:


|-
|-
| rowspan="1" | /ControlGroup
| rowspan="1" | [[#/ControlGroup|/ControlGroup]]
| style="text-align:right;" | GET
| style="text-align:right;" | GET
| Response is a list of control groups
| <- [ &[[#group|group]] , ... ]


|-
|-


|-
|-
| rowspan="1" | /ControlGroup/<group>
| rowspan="1" | [[#/ControlGroup/<group>|/ControlGroup/<group>]]
| style="text-align:right;" | GET
| style="text-align:right;" | GET
| Response is a list of valid variables in a controlgroup with default settings
| ?? &[[#group|group]] <- [ &[[#defvar|defvar]], ... ]


|-
|-


|-
|-
| rowspan="1" | /ControlGroup/<group>/<identifier>
| rowspan="1" | [[#/ControlGroup/<group>/<identifier>|/ControlGroup/<group>/<identifier>]]
| style="text-align:right;" | GET
| style="text-align:right;" | GET
| Response is the current settings for the specific variable identified
| ?? &[[#group|group]] ?? &[[#identifier|identifier]] <- &[[#curvar|curvar]]


|}
|}
Note: Description syntax is only based on LLIDL.
== /ControlGroup ==
Response is a list of control &[[#group|group]]s
== /ControlGroup/<group> ==
Response is a list of valid variable &[[#identifier|identifier]]s 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|identifier]],
|-
| persist
| : boolean,
|-
| comment
| : string,
|-
| type
| : int,
|-
| value
| : llsd
|}
}
== curvar ==
&curvar = llsd
The current value of ControlGrounp variable as nested LLSD.

Latest revision as of 07: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.