User:Dzonatas Sol/SNOW-375 Resources/Inventory: Difference between revisions
Jump to navigation
Jump to search
Dzonatas Sol (talk | contribs) No edit summary |
Dzonatas Sol (talk | contribs) mNo edit summary |
||
| Line 21: | Line 21: | ||
|- | |- | ||
| rowspan="1" | /Inventory/Category/<uuid> | | rowspan="1" | /Inventory/Category(/<uuid>) | ||
| style="text-align:right;" | GET | | style="text-align:right;" | POST (GET) | ||
| ?? 's' -> [ uuid , ... ] <- [ { ID: uuid, +&category }, ... ] ( ?? uuid <- &category ) | | ?? 's' -> [ uuid , ... ] <- [ { ID: uuid, +&category }, ... ] ( ?? uuid <- &category ) | ||
Revision as of 19:32, 31 July 2010
| 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 ) |
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
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.