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

From Second Life Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
__NOTOC__
 
{| border="1" cellpadding="5" cellspacing="0"
 
{| border="1" cellpadding="5" cellspacing="0"
 
|-
 
|-
Line 5: Line 6:
  
 
|-
 
|-
| rowspan="1" | /Asset/Notecard/<uuid>
+
| rowspan="1" | /Asset/Notecard(/<uuid>)
| style="text-align:right;" | GET (POST)
+
| style="text-align:right;" | POST (GET)
| Response is the notecard item specified by UUID converted to XML format (rather than 'linden notecard format')
+
| ?? 's' -> [ uuid , ... ] <- [ { ID: uuid, +&notecard }, ... ] ( ?? uuid <- &notecard )
  
 
|-
 
|-
| rowspan="1" | /Asset/Gesture/<uuid>
+
| rowspan="1" | /Asset/Gesture(/<uuid>)
| style="text-align:right;" | GET (POST)
+
| style="text-align:right;" | POST (GET)
| Response is the notecard item specified by UUID converted to XML format (rather than 'linden notecard format')
+
| ?? 's' -> [ uuid , ... ] <- [ { ID: uuid, +&gesture }, ... ] ( ?? uuid <- &gesture )
  
 
|}
 
|}
 +
 +
Note: Description syntax is only based on LLIDL.
 +
 +
 +
== /Asset/Notecard(/<uuid>) ==
 +
 +
Complex query contains &notecard
 +
 +
 +
== /Asset/Gesture(/<uuid>) ==
 +
 +
Complex query contains &gesture
 +
 +
 +
== &notecard ==
 +
 +
Asset in nested XML format (translated from 'linden notecard format'). Embedded notecard inventory items are nested in <embed> tags.
 +
 +
 +
== &gesture ==
 +
 +
{
 +
{|
 +
|-
 +
| Name
 +
| : string
 +
|-
 +
| Trigger
 +
| : string
 +
|-
 +
| ReplaceText
 +
| : string
 +
|-
 +
| Key
 +
| : string
 +
|}
 +
}

Revision as of 17:56, 31 July 2010

Resource Method Description
/Asset/Notecard(/<uuid>) POST (GET)  ?? 's' -> [ uuid , ... ] <- [ { ID: uuid, +&notecard }, ... ] ( ?? uuid <- &notecard )
/Asset/Gesture(/<uuid>) POST (GET)  ?? 's' -> [ uuid , ... ] <- [ { ID: uuid, +&gesture }, ... ] ( ?? uuid <- &gesture )

Note: Description syntax is only based on LLIDL.


/Asset/Notecard(/<uuid>)

Complex query contains &notecard


/Asset/Gesture(/<uuid>)

Complex query contains &gesture


&notecard

Asset in nested XML format (translated from 'linden notecard format'). Embedded notecard inventory items are nested in <embed> tags.


&gesture

{

Name  : string
Trigger  : string
ReplaceText  : string
Key  : string

}