User:Dzonatas Sol/SNOW-375 Resources/Inventory
< User:Dzonatas Sol | SNOW-375 Resources
Jump to navigation
Jump to search
Revision as of 21:00, 2 August 2010 by Dzonatas Sol (talk | contribs)
Resource | Method | Description |
/Inventory/Asset(/<uuid>) | POST (GET) | ?? 's' -> [ uuid , ... ] <- [ { ID: uuid, +&status }, ... ] ( ?? uuid <- &status ) |
/Inventory/Item(/<uuid>) | POST (GET) | ?? 's' -> [ uuid , ... ] <- [ { ID: uuid, +&item }, ... ] ( ?? uuid <- &item ) |
/Inventory/Root | GET | <- { ID: uuid } |
/Inventory/Category(/<uuid>) | POST (GET) | ?? 's' -> [ uuid , ... ] <- [ { ID: uuid, +&category }, ... ] ( ?? uuid <- &category ) |
/Inventory/Changed | POST | -> [ { ID: uuid, AssetType: string }, ... ] <- { status: string } |
Note: Description syntax is only based on LLIDL.
/Inventory/Asset(/<uuid>)
Complex query used to localize assets. Asynchronously queries /Asset/Loaded as they become available.
/Inventory/Item(/<uuid>)
Complex query contains &category
/Inventory/Root
Response is root category uuid of agent's inventory
/Inventory/Category(/<uuid>)
Complex query contains &category
/Inventory/Changed
Queried when an inventory item(s) changes.
status
{ status: string }
Value is "ok"
category
{
Version | : integer |
Name | : string |
Base | : uuid |
Categories | : [ uuid, ... ] |
Items | : [ uuid, ... ] |
Data | : llsd |
}
item
{
*data* | |
... | |
(Active) | : bool |
}
Map elements and data are implementation specific, yet currently uses same LLSD format as internal to Snowglobe. Active is optional map entry that appears for gestures.