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

From Second Life Wiki
Jump to navigation Jump to search
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]]


|}
|}
== /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 ==
{
{|
|-
| identifier
| : string,
|-
| persist
| : boolean,
|-
| comment
| : string,
|-
| type
| : int,
|-
| value
| : llsd
|}
}
== curvar ==
curvar : llsd
The current value of ControlGrounp variable in nested LLSD.

Revision as of 15:18, 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

{

identifier : string,
persist : boolean,
comment : string,
type : int,
value : llsd

}


curvar

curvar : llsd

The current value of ControlGrounp variable in nested LLSD.