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

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


|-
| rowspan="1" | /Asset/Loaded
| style="text-align:right;" | POST
| -> { ID: uuid, Type: string } <- { status: string }
|}
Note: Description syntax is only based on LLIDL.
== /Asset/Notecard(/<uuid>) ==
Complex query contains &notecard
== /Asset/Gesture(/<uuid>) ==
Complex query contains &gesture
== /Asset/Loaded ==
Queried when asset is localized.
== 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
|}
|}
}

Latest revision as of 21:12, 2 August 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 )
/Asset/Loaded POST -> { ID: uuid, Type: string } <- { status: string }

Note: Description syntax is only based on LLIDL.


/Asset/Notecard(/<uuid>)

Complex query contains &notecard


/Asset/Gesture(/<uuid>)

Complex query contains &gesture


/Asset/Loaded

Queried when asset is localized.


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

}