Linden Lab Official:Inventory API v3: Difference between revisions
Don Linden (talk | contribs) No edit summary |
Don Linden (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
{{TOCright}} | {{TOCright}} | ||
= Resource Methods Overview = | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+ align="bottom" style="background-color: #333333;" |''<span style="color: #FFFFFF;"> † - Partially Implemented<span> <span style="color: #FFFF99;">‡ - Not Implemented</span>'' | |+ align="bottom" style="background-color: #333333;" |''<span style="color: #FFFFFF;"> † - Partially Implemented<span> <span style="color: #FFFF99;">‡ - Not Implemented</span>'' | ||
| Line 226: | Line 226: | ||
padding: 2px 4px;">DELETE</span>]] | padding: 2px 4px;">DELETE</span>]] | ||
|} | |} | ||
= Resources = | |||
<hr> | <hr> | ||
== Category == | |||
Description | Description | ||
* '''An inventory category.''' | * '''An inventory category.''' | ||
Path: | Path: | ||
* ''/category/''<span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{category}</span><span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{?tid,depth,simulate}</span> | * ''/category/''<span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{category}</span><span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{?tid,depth,simulate}</span> | ||
=== Parameters === | |||
* <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">category</span> → Category UUID or 'special' category name, e.g. "current". | * <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">category</span> → Category UUID or 'special' category name, e.g. "current". | ||
** Validation: <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$</span> | ** Validation: <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$</span> | ||
| Line 243: | Line 243: | ||
* <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">simulate</span> → Whether or not to skip writing back results. | * <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">simulate</span> → Whether or not to skip writing back results. | ||
** Validation: <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(0|1|true|false)?$</span> | ** Validation: <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(0|1|true|false)?$</span> | ||
=== Methods === | |||
<hr> | <hr> | ||
==== Category-GET ==== | ==== Category-GET ==== | ||
| Line 5,326: | Line 5,327: | ||
|} | |} | ||
<hr> | <hr> | ||
== CategoryChildren == | |||
Description | Description | ||
* '''Children in an inventory category.''' | * '''Children in an inventory category.''' | ||
Path: | Path: | ||
* ''/category/''<span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{category}</span>''/children''<span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{?tid,depth,simulate}</span> | * ''/category/''<span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{category}</span>''/children''<span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{?tid,depth,simulate}</span> | ||
=== Parameters === | |||
* <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">category</span> → Category UUID or 'special' category name, e.g. "current". | * <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">category</span> → Category UUID or 'special' category name, e.g. "current". | ||
** Validation: <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$</span> | ** Validation: <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$</span> | ||
| Line 5,341: | Line 5,342: | ||
* <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">simulate</span> → Whether or not to skip writing back results. | * <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">simulate</span> → Whether or not to skip writing back results. | ||
** Validation: <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(0|1|true|false)?$</span> | ** Validation: <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(0|1|true|false)?$</span> | ||
=== Methods === | |||
<hr> | <hr> | ||
==== CategoryChildren-GET ==== | ==== CategoryChildren-GET ==== | ||
| Line 9,480: | Line 9,482: | ||
|} | |} | ||
<hr> | <hr> | ||
== CategoryLinks == | |||
Description | Description | ||
* '''Links in an inventory category.''' | * '''Links in an inventory category.''' | ||
Path: | Path: | ||
* ''/category/''<span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{category}</span>''/links''<span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{?tid,simulate}</span> | * ''/category/''<span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{category}</span>''/links''<span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{?tid,simulate}</span> | ||
=== Parameters === | |||
* <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">category</span> → Category UUID or 'special' category name, e.g. "current". | * <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">category</span> → Category UUID or 'special' category name, e.g. "current". | ||
** Validation: <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$</span> | ** Validation: <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$</span> | ||
| Line 9,493: | Line 9,495: | ||
* <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">simulate</span> → Whether or not to skip writing back results. | * <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">simulate</span> → Whether or not to skip writing back results. | ||
** Validation: <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(0|1|true|false)?$</span> | ** Validation: <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(0|1|true|false)?$</span> | ||
=== Methods === | |||
<hr> | <hr> | ||
==== CategoryLinks-GET ==== | ==== CategoryLinks-GET ==== | ||
| Line 11,995: | Line 11,998: | ||
|} | |} | ||
<hr> | <hr> | ||
== CategoryItems == | |||
Description | Description | ||
* '''Items in an inventory category.''' | * '''Items in an inventory category.''' | ||
Path: | Path: | ||
* ''/category/''<span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{category}</span>''/items''<span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{?tid,simulate}</span> | * ''/category/''<span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{category}</span>''/items''<span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{?tid,simulate}</span> | ||
=== Parameters === | |||
* <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">category</span> → Category UUID or 'special' category name, e.g. "current". | * <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">category</span> → Category UUID or 'special' category name, e.g. "current". | ||
** Validation: <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$</span> | ** Validation: <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$</span> | ||
| Line 12,008: | Line 12,011: | ||
* <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">simulate</span> → Whether or not to skip writing back results. | * <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">simulate</span> → Whether or not to skip writing back results. | ||
** Validation: <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(0|1|true|false)?$</span> | ** Validation: <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(0|1|true|false)?$</span> | ||
=== Methods === | |||
<hr> | <hr> | ||
==== CategoryItems-GET ==== | ==== CategoryItems-GET ==== | ||
| Line 14,627: | Line 14,631: | ||
|} | |} | ||
<hr> | <hr> | ||
== CategoryCategories == | |||
Description | Description | ||
* '''Categories in an inventory category.''' | * '''Categories in an inventory category.''' | ||
Path: | Path: | ||
* ''/category/''<span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{category}</span>''/categories''<span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{?tid,depth,simulate}</span> | * ''/category/''<span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{category}</span>''/categories''<span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{?tid,depth,simulate}</span> | ||
=== Parameters === | |||
* <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">category</span> → Category UUID or 'special' category name, e.g. "current". | * <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">category</span> → Category UUID or 'special' category name, e.g. "current". | ||
** Validation: <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$</span> | ** Validation: <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$</span> | ||
| Line 14,642: | Line 14,646: | ||
* <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">simulate</span> → Whether or not to skip writing back results. | * <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">simulate</span> → Whether or not to skip writing back results. | ||
** Validation: <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(0|1|true|false)?$</span> | ** Validation: <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(0|1|true|false)?$</span> | ||
=== Methods === | |||
<hr> | <hr> | ||
==== CategoryCategories-GET ==== | ==== CategoryCategories-GET ==== | ||
| Line 17,679: | Line 17,684: | ||
|} | |} | ||
<hr> | <hr> | ||
== Item == | |||
Description | Description | ||
* '''An inventory item.''' | * '''An inventory item.''' | ||
Path: | Path: | ||
* ''/item/''<span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{item}</span><span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{?tid,simulate}</span> | * ''/item/''<span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{item}</span><span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{?tid,simulate}</span> | ||
=== Parameters === | |||
* <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">tid</span> → Transaction ID. | * <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">tid</span> → Transaction ID. | ||
* <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">item</span> → Item UUID | * <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">item</span> → Item UUID | ||
| Line 17,690: | Line 17,695: | ||
* <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">simulate</span> → Whether or not to skip writing back results. | * <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">simulate</span> → Whether or not to skip writing back results. | ||
** Validation: <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(0|1|true|false)?$</span> | ** Validation: <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(0|1|true|false)?$</span> | ||
=== Methods === | |||
<hr> | <hr> | ||
==== Item-GET ==== | ==== Item-GET ==== | ||
| Line 19,576: | Line 19,582: | ||
integer ( <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">9</span> ) | integer ( <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">9</span> ) | ||
|} | |} | ||
= Global Response Status Codes = | |||
=== <div id="Global-400">400</div> === | === <div id="Global-400">400</div> === | ||
Description | Description | ||
| Line 19,661: | Line 19,667: | ||
integer ( <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">0</span> ↔ <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">17</span> ) | integer ( <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">0</span> ↔ <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">17</span> ) | ||
|} | |} | ||
= Global Request Headers = | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
| Line 19,677: | Line 19,683: | ||
| ''Directives to caching mechanisms.'' | | ''Directives to caching mechanisms.'' | ||
|} | |} | ||
= Global Response Headers = | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
| Line 19,695: | Line 19,701: | ||
! scope="row" align="left"| Cache-Control <small><em>(optional)</em></small> | ! scope="row" align="left"| Cache-Control <small><em>(optional)</em></small> | ||
| ''Directives to caching mechanisms.'' | | ''Directives to caching mechanisms.'' | ||
|} | |||
= Error Codes = | |||
{| class="lltable" border=1 | |||
|- | |||
|- | |||
! scope="row" align="left"| AIS_ERROR_INVALID_REQUEST | |||
| <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">0</span> | |||
|- | |||
! scope="row" align="left"| AIS_ERROR_INVALID_SHAPE | |||
| <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">1</span> | |||
|- | |||
! scope="row" align="left"| AIS_ERROR_INVALID_DEPTH | |||
| <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">2</span> | |||
|- | |||
! scope="row" align="left"| AIS_ERROR_BROKEN_LINK | |||
| <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">3</span> | |||
|- | |||
! scope="row" align="left"| AIS_ERROR_NOT_FOUND | |||
| <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">4</span> | |||
|- | |||
! scope="row" align="left"| AIS_ERROR_AGENT_NOT_FOUND | |||
| <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">5</span> | |||
|- | |||
! scope="row" align="left"| AIS_ERROR_NO_INVENTORY_ROOT | |||
| <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">6</span> | |||
|- | |||
! scope="row" align="left"| AIS_ERROR_METHOD_NOT_ALLOWED | |||
| <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">7</span> | |||
|- | |||
! scope="row" align="left"| AIS_ERROR_CONFLICT | |||
| <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">8</span> | |||
|- | |||
! scope="row" align="left"| AIS_ERROR_GONE | |||
| <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">9</span> | |||
|- | |||
! scope="row" align="left"| AIS_ERROR_CONDITION_FAILED | |||
| <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">10</span> | |||
|- | |||
! scope="row" align="left"| AIS_ERROR_INTERNAL_ERROR | |||
| <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">11</span> | |||
|- | |||
! scope="row" align="left"| AIS_ERROR_QUERY_FAILED | |||
| <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">12</span> | |||
|- | |||
! scope="row" align="left"| AIS_ERROR_QUERY_EXPECTATION_FAILED | |||
| <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">13</span> | |||
|- | |||
! scope="row" align="left"| AIS_ERROR_INVALID_PERMISSIONS | |||
| <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">14</span> | |||
|- | |||
! scope="row" align="left"| AIS_ERROR_NOT_SUPPORTED | |||
| <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">15</span> | |||
|- | |||
! scope="row" align="left"| AIS_ERROR_UNKNOWN | |||
| <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">16</span> | |||
|- | |||
! scope="row" align="left"| AIS_ERROR_UNSUPPORTED_MEDIA | |||
| <span style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">17</span> | |||
|} | |} | ||
[[Category:Capabilities]] | [[Category:Capabilities]] | ||
Latest revision as of 11:55, 4 October 2013
Resource Methods Overview
| Category | /category/{category}{?tid,depth,simulate} | GET | POST† | PUT | PATCH | COPY | MOVE‡ | DELETE |
|---|---|---|---|---|---|---|---|---|
| CategoryChildren | /category/{category}/children{?tid,depth,simulate} | GET | PUT‡ | COPY‡ | MOVE‡ | DELETE | ||
| CategoryLinks | /category/{category}/links{?tid,simulate} | GET | PUT | COPY‡ | MOVE‡ | DELETE | ||
| CategoryItems | /category/{category}/items{?tid,simulate} | GET | PUT‡ | COPY‡ | MOVE‡ | DELETE | ||
| CategoryCategories | /category/{category}/categories{?tid,depth,simulate} | GET | PUT‡ | COPY‡ | MOVE‡ | DELETE | ||
| Item | /item/{item}{?tid,simulate} | GET | PATCH | COPY‡ | MOVE‡ | DELETE |
Resources
Category
Description
- An inventory category.
Path:
- /category/{category}{?tid,depth,simulate}
Parameters
- category → Category UUID or 'special' category name, e.g. "current".
- Validation: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
- Validation: ^(animatn|bodypart|clothing|current|favorite|gesture|inbox|landmark|lsltext)$
- Validation: ^(lstndfnd|my_otfts|notecard|object|outbox|root|snapshot|sound|texture|trash)$
- tid → Transaction ID.
- depth → Category child depth to retrieve.
- Validation: ^(\*|[0-9]+)?$
- simulate → Whether or not to skip writing back results.
- Validation: ^(0|1|true|false)?$
Methods
Category-GET
Implementation Status
- COMPLETE
Description
- Retrieve a category
Request Headers
| If-None-Match (optional) | Only process request if none of the supplied entity tags matches resource. |
|---|---|
| If-Match (optional) | Only process request if any supplied entity tags matches resource. |
Status Codes
200
Description
- Category retrieved successfully
Response Schemas:
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid |
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _embedded |
|
| ETag | Current value of the entity tag for the requested variant. |
|---|
304
Description
- Not modified
Response Schemas: string
| ETag | Current value of the entity tag for the requested variant. |
|---|
404
Description
- Category not found
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 4 ↔ 6 ) |
412
Description
- Precondition failed
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| etags |
[ string , ... ] |
| etag |
string |
| error_code |
integer ( 10 ) |
| condition |
string |
| ETag | Current value of the entity tag for the requested variant. |
|---|
Category-POST
Implementation Status
- PARTIAL
Description
- Create inventory in category.
Request Headers
| If-None-Match (optional) | Only process request if none of the supplied entity tags matches resource. |
|---|---|
| If-Match (optional) | Only process request if any supplied entity tags matches resource. |
Request Schemas
| items† |
[
, ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| links† |
[
, ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
| categories† |
[
, ... ] |
Status Codes
201
Description
- Inventory created
Response Schemas:
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _created_categories |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _created_items |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_category_versions |
|
| Location | The URL of the category children containing the created inventory. |
|---|
400
Description
- Invalid request
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| invalid_linked_ids† |
[ uuid , ... ] |
| error_code |
integer ( 1 ) |
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| error_code |
integer ( 0 ) |
404
Description
- Category not found
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 4 ↔ 6 ) |
409
Description
- Duplicate transaction.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| error_code |
integer ( 8 ) |
| transaction_id |
string |
412
Description
- Precondition failed
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| etags |
[ string , ... ] |
| etag |
string |
| error_code |
integer ( 10 ) |
| condition |
string |
| ETag | Current value of the entity tag for the requested variant. |
|---|
Category-PUT
Implementation Status
- COMPLETE
Description
- Create and retrieve a 'special' category.
Request Headers
| If-None-Match (optional) | Only process request if none of the supplied entity tags matches resource. |
|---|---|
| If-Match (optional) | Only process request if any supplied entity tags matches resource. |
Status Codes
201
Description
- Category created
Response Schemas:
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _created_categories |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_category_versions |
|
| Location | The URL of the created category |
|---|
404
Description
- Category not found
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 4 ↔ 6 ) |
409
Description
- Category already exists
Response Schemas:
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid |
412
Description
- Precondition failed
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| etags |
[ string , ... ] |
| etag |
string |
| error_code |
integer ( 10 ) |
| condition |
string |
| ETag | Current value of the entity tag for the requested variant. |
|---|
Category-PATCH
Implementation Status
- COMPLETE
Description
- Modify a category
Request Headers
| If-None-Match (optional) | Only process request if none of the supplied entity tags matches resource. |
|---|---|
| If-Match (optional) | Only process request if any supplied entity tags matches resource. |
Request Schemas
| name |
string |
|---|
Status Codes
200
Description
- Category modified successfully
Response Schemas:
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_categories |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _update_result† |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_category_versions |
|
| ETag | Current value of the entity tag for the requested variant. |
|---|
400
Description
- Invalid request
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 0 ) |
404
Description
- Category not found
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 4 ↔ 6 ) |
412
Description
- Precondition failed
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| etags |
[ string , ... ] |
| etag |
string |
| error_code |
integer ( 10 ) |
| condition |
string |
| ETag | Current value of the entity tag for the requested variant. |
|---|
Category-COPY
Implementation Status
- COMPLETE
Description
- Copy a category
Request Headers
| If-None-Match (optional) | Only process request if none of the supplied entity tags matches resource. |
|---|---|
| Destination | Destination category_id or 'special' category. |
| If-Match (optional) | Only process request if any supplied entity tags matches resource. |
Status Codes
201
Description
- Category copied successfully
Response Schemas:
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _removed_items |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _top_category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _created_items |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _moved_items |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _created_categories |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_category_versions |
|
| ETag | Current value of the entity tag for the requested variant. |
|---|---|
| Location | The URL of the copied inventory. |
403
Description
- Permissions check failed.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| error_code |
integer ( 14 ) |
404
Description
- Destination category not found.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 4 ↔ 6 ) |
409
Description
- Duplicate transaction.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| error_code |
integer ( 8 ) |
| transaction_id |
string |
410
Description
- Source category gone
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 9 ) |
412
Description
- Precondition failed
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| etags |
[ string , ... ] |
| etag |
string |
| error_code |
integer ( 10 ) |
| condition |
string |
| ETag | Current value of the entity tag for the requested variant. |
|---|
Category-MOVE
Implementation Status
- NONE
Description
- Move a category
Request Headers
| If-None-Match (optional) | Only process request if none of the supplied entity tags matches resource. |
|---|---|
| Destination | Destination category_id. |
| If-Match (optional) | Only process request if any supplied entity tags matches resource. |
Status Codes
200
Description
- Category moved successfully
Response Schemas:
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_categories |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_category_versions |
|
| ETag | Current value of the entity tag for the requested variant. |
|---|---|
| Location | The URL of the moved inventory. |
403
Description
- Permissions check failed.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| error_code |
integer ( 14 ) |
404
Description
- Destination category not found.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 4 ↔ 6 ) |
410
Description
- Source category gone
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 9 ) |
412
Description
- Precondition failed
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| etags |
[ string , ... ] |
| etag |
string |
| error_code |
integer ( 10 ) |
| condition |
string |
| ETag | Current value of the entity tag for the requested variant. |
|---|
Category-DELETE
Implementation Status
- COMPLETE
Description
- Delete a category
Request Headers
| If-None-Match (optional) | Only process request if none of the supplied entity tags matches resource. |
|---|---|
| If-Match (optional) | Only process request if any supplied entity tags matches resource. |
Status Codes
200
Description
- Category deleted successfully
Response Schemas:
| _update_result† |
| ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| _attachments_removed |
| ||||||||||
| _active_gestures_removed |
[ uuid , ... ] | ||||||||||
| _broken_links_removed |
[ uuid , ... ] | ||||||||||
| _total_items_removed |
integer | ||||||||||
| _wearables_removed |
| ||||||||||
| _category_items_removed |
[ uuid , ... ] | ||||||||||
| _categories_removed |
[ uuid , ... ] | ||||||||||
| _updated_category_versions |
|
410
Description
- Category gone
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 9 ) |
412
Description
- Precondition failed
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| etags |
[ string , ... ] |
| etag |
string |
| error_code |
integer ( 10 ) |
| condition |
string |
| ETag | Current value of the entity tag for the requested variant. |
|---|
CategoryChildren
Description
- Children in an inventory category.
Path:
- /category/{category}/children{?tid,depth,simulate}
Parameters
- category → Category UUID or 'special' category name, e.g. "current".
- Validation: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
- Validation: ^(animatn|bodypart|clothing|current|favorite|gesture|inbox|landmark|lsltext)$
- Validation: ^(lstndfnd|my_otfts|notecard|object|outbox|root|snapshot|sound|texture|trash)$
- tid → Transaction ID.
- depth → Category child depth to retrieve.
- Validation: ^(\*|[0-9]+)?$
- simulate → Whether or not to skip writing back results.
- Validation: ^(0|1|true|false)?$
Methods
CategoryChildren-GET
Implementation Status
- COMPLETE
Description
- Retrieve children in a category
Request Headers
| If-None-Match (optional) | Only process request if none of the supplied entity tags matches resource. |
|---|---|
| If-Match (optional) | Only process request if any supplied entity tags matches resource. |
Status Codes
200
Description
- Category children retrieved successfully
Response Schemas:
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _embedded |
|
| ETag | Current value of the entity tag for the requested variant. |
|---|
304
Description
- Not modified
Response Schemas: string
| ETag | Current value of the entity tag for the requested variant. |
|---|
404
Description
- Category not found
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 4 ↔ 6 ) |
412
Description
- Precondition failed
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| etags |
[ string , ... ] |
| etag |
string |
| error_code |
integer ( 10 ) |
| condition |
string |
| ETag | Current value of the entity tag for the requested variant. |
|---|
CategoryChildren-PUT
Implementation Status
- NONE
Description
- Replace category children.
Request Headers
| If-None-Match (optional) | Only process request if none of the supplied entity tags matches resource. |
|---|---|
| If-Match (optional) | Only process request if any supplied entity tags matches resource. |
Request Schemas
| items† |
[
, ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| links† |
[
, ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
| categories† |
[
, ... ] |
Status Codes
201
Description
- Category children replaced
Response Schemas:
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _attachments_removed |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _active_gestures_removed |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _broken_links_removed |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _total_items_removed |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _created_items |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _wearables_removed |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _created_categories |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _categories_removed |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_category_versions |
|
| ETag | Current value of the entity tag for the requested variant. |
|---|---|
| Location | The URL of the replaced category children. |
404
Description
- Category not found
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 4 ↔ 6 ) |
412
Description
- Precondition failed
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| etags |
[ string , ... ] |
| etag |
string |
| error_code |
integer ( 10 ) |
| condition |
string |
| ETag | Current value of the entity tag for the requested variant. |
|---|
CategoryChildren-COPY
Implementation Status
- NONE
Description
- Copy category children
Request Headers
| If-None-Match (optional) | Only process request if none of the supplied entity tags matches resource. |
|---|---|
| Destination | Destination category_id or 'special' category. |
| If-Match (optional) | Only process request if any supplied entity tags matches resource. |
Status Codes
201
Description
- Category children copied successfully
Response Schemas:
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _removed_items |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _top_category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _created_items |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _moved_items |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _created_categories |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_category_versions |
|
| ETag | Current value of the entity tag for the requested variant. |
|---|---|
| Location | The URL of the copied inventory. |
403
Description
- Permissions check failed.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| error_code |
integer ( 14 ) |
404
Description
- Destination category not found.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 4 ↔ 6 ) |
410
Description
- Source category gone
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 9 ) |
412
Description
- Precondition failed
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| etags |
[ string , ... ] |
| etag |
string |
| error_code |
integer ( 10 ) |
| condition |
string |
| ETag | Current value of the entity tag for the requested variant. |
|---|
CategoryChildren-MOVE
Implementation Status
- NONE
Description
- Move category children
Request Headers
| If-None-Match (optional) | Only process request if none of the supplied entity tags matches resource. |
|---|---|
| Destination | Destination category_id. |
| If-Match (optional) | Only process request if any supplied entity tags matches resource. |
Status Codes
200
Description
- Category children moved successfully
Response Schemas:
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_items |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_categories |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_category_versions |
|
| ETag | Current value of the entity tag for the requested variant. |
|---|---|
| Location | The URL of the moved inventory. |
403
Description
- Permissions check failed.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| error_code |
integer ( 14 ) |
404
Description
- Destination category not found.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 4 ↔ 6 ) |
410
Description
- Source category gone
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 9 ) |
412
Description
- Precondition failed
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| etags |
[ string , ... ] |
| etag |
string |
| error_code |
integer ( 10 ) |
| condition |
string |
| ETag | Current value of the entity tag for the requested variant. |
|---|
CategoryChildren-DELETE
Implementation Status
- COMPLETE
Description
- Delete category children
Request Headers
| If-None-Match (optional) | Only process request if none of the supplied entity tags matches resource. |
|---|---|
| If-Match (optional) | Only process request if any supplied entity tags matches resource. |
Status Codes
200
Description
- Category children deleted successfully
Response Schemas:
| _update_result† |
| ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| _attachments_removed |
| ||||||||||
| _active_gestures_removed |
[ uuid , ... ] | ||||||||||
| _broken_links_removed |
[ uuid , ... ] | ||||||||||
| _total_items_removed |
integer | ||||||||||
| _wearables_removed |
| ||||||||||
| _category_items_removed |
[ uuid , ... ] | ||||||||||
| _categories_removed |
[ uuid , ... ] | ||||||||||
| _updated_category_versions |
|
410
Description
- Category gone
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 9 ) |
412
Description
- Precondition failed
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| etags |
[ string , ... ] |
| etag |
string |
| error_code |
integer ( 10 ) |
| condition |
string |
| ETag | Current value of the entity tag for the requested variant. |
|---|
CategoryLinks
Description
- Links in an inventory category.
Path:
- /category/{category}/links{?tid,simulate}
Parameters
- category → Category UUID or 'special' category name, e.g. "current".
- Validation: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
- Validation: ^(animatn|bodypart|clothing|current|favorite|gesture|inbox|landmark|lsltext)$
- Validation: ^(lstndfnd|my_otfts|notecard|object|outbox|root|snapshot|sound|texture|trash)$
- tid → Transaction ID.
- simulate → Whether or not to skip writing back results.
- Validation: ^(0|1|true|false)?$
Methods
CategoryLinks-GET
Implementation Status
- COMPLETE
Description
- Retrieve links in a category
Status Codes
200
Description
- Category links retrieved successfully
Response Schemas:
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _embedded |
|
404
Description
- Category not found
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 4 ↔ 6 ) |
CategoryLinks-PUT
Implementation Status
- COMPLETE
Description
- Replace category links.
Request Schemas
[
| type |
integer ( 24 ↔ 25 ) |
|---|---|
| linked_id |
uuid |
| name† |
string |
| desc† |
string |
, ... ]
Status Codes
201
Description
- Category links replaced
Response Schemas:
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _linked_ids |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_items |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _category_items_removed |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _created_items |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_category_versions |
|
| Location | The URL of the replaced category links. |
|---|
400
Description
- Invalid request
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| invalid_linked_ids† |
[ uuid , ... ] |
| error_code |
integer ( 1 ) |
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| error_code |
integer ( 0 ) |
404
Description
- Category not found
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 4 ↔ 6 ) |
CategoryLinks-COPY
Implementation Status
- NONE
Description
- Copy category links
Request Headers
| Destination | Destination category_id or 'special' category. |
|---|
Status Codes
201
Description
- Category links copied successfully
Response Schemas:
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _created_items |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_category_versions |
|
| Location | The URL of the copied inventory. |
|---|
403
Description
- Permissions check failed.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| error_code |
integer ( 14 ) |
404
Description
- Destination category not found.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 4 ↔ 6 ) |
410
Description
- Source category gone
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 9 ) |
CategoryLinks-MOVE
Implementation Status
- NONE
Description
- Move category links
Request Headers
| Destination | Destination category_id. |
|---|
Status Codes
200
Description
- Category links moved successfully
Response Schemas:
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_items |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_category_versions |
|
| Location | The URL of the moved inventory. |
|---|
403
Description
- Permissions check failed.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| error_code |
integer ( 14 ) |
404
Description
- Destination category not found.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 4 ↔ 6 ) |
410
Description
- Source category gone
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 9 ) |
CategoryLinks-DELETE
Implementation Status
- COMPLETE
Description
- Delete category links
Status Codes
200
Description
- Category links deleted successfully
Response Schemas:
| _category_items_removed |
[ uuid , ... ] | ||
|---|---|---|---|
| _updated_category_versions |
|
410
Description
- Category gone
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 9 ) |
CategoryItems
Description
- Items in an inventory category.
Path:
- /category/{category}/items{?tid,simulate}
Parameters
- category → Category UUID or 'special' category name, e.g. "current".
- Validation: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
- Validation: ^(animatn|bodypart|clothing|current|favorite|gesture|inbox|landmark|lsltext)$
- Validation: ^(lstndfnd|my_otfts|notecard|object|outbox|root|snapshot|sound|texture|trash)$
- tid → Transaction ID.
- simulate → Whether or not to skip writing back results.
- Validation: ^(0|1|true|false)?$
Methods
CategoryItems-GET
Implementation Status
- COMPLETE
Description
- Retrieve items in a category
Status Codes
200
Description
- Category items retrieved successfully
Response Schemas:
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _embedded |
|
| ETag | Current value of the entity tag for the requested variant. |
|---|
304
Description
- Not modified
Response Schemas: string
| ETag | Current value of the entity tag for the requested variant. |
|---|
404
Description
- Category not found
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 4 ↔ 6 ) |
412
Description
- Precondition failed
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| etags |
[ string , ... ] |
| etag |
string |
| error_code |
integer ( 10 ) |
| condition |
string |
| ETag | Current value of the entity tag for the requested variant. |
|---|
CategoryItems-PUT
Implementation Status
- NONE
Description
- Replace category items.
Request Headers
| If-None-Match (optional) | Only process request if none of the supplied entity tags matches resource. |
|---|---|
| If-Match (optional) | Only process request if any supplied entity tags matches resource. |
Request Schemas
| items† |
[
, ... ] | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| links† |
[
, ... ] |
Status Codes
201
Description
- Category items replaced
Response Schemas:
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _attachments_removed |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _linked_ids |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _active_gestures_removed |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _broken_links_removed |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _created_items |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _wearables_removed |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_items |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _category_items_removed |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_category_versions |
|
| ETag | Current value of the entity tag for the requested variant. |
|---|---|
| Location | The URL of the replaced category items. |
404
Description
- Category not found
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 4 ↔ 6 ) |
412
Description
- Precondition failed
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| etags |
[ string , ... ] |
| etag |
string |
| error_code |
integer ( 10 ) |
| condition |
string |
| ETag | Current value of the entity tag for the requested variant. |
|---|
CategoryItems-COPY
Implementation Status
- NONE
Description
- Copy category items
Request Headers
| If-None-Match (optional) | Only process request if none of the supplied entity tags matches resource. |
|---|---|
| Destination | Destination category_id or 'special' category. |
| If-Match (optional) | Only process request if any supplied entity tags matches resource. |
Status Codes
201
Description
- Category items copied successfully
Response Schemas:
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _created_items |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_category_versions |
|
| ETag | Current value of the entity tag for the requested variant. |
|---|---|
| Location | The URL of the copied inventory. |
403
Description
- Permissions check failed.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| error_code |
integer ( 14 ) |
404
Description
- Destination category not found.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 4 ↔ 6 ) |
410
Description
- Source category gone
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 9 ) |
412
Description
- Precondition failed
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| etags |
[ string , ... ] |
| etag |
string |
| error_code |
integer ( 10 ) |
| condition |
string |
| ETag | Current value of the entity tag for the requested variant. |
|---|
CategoryItems-MOVE
Implementation Status
- NONE
Description
- Move category items
Request Headers
| If-None-Match (optional) | Only process request if none of the supplied entity tags matches resource. |
|---|---|
| Destination | Destination category_id. |
| If-Match (optional) | Only process request if any supplied entity tags matches resource. |
Status Codes
200
Description
- Category items moved successfully
Response Schemas:
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_items |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_category_versions |
|
| ETag | Current value of the entity tag for the requested variant. |
|---|---|
| Location | The URL of the moved inventory. |
403
Description
- Permissions check failed.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| error_code |
integer ( 14 ) |
404
Description
- Destination category not found.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 4 ↔ 6 ) |
410
Description
- Source category gone
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 9 ) |
412
Description
- Precondition failed
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| etags |
[ string , ... ] |
| etag |
string |
| error_code |
integer ( 10 ) |
| condition |
string |
| ETag | Current value of the entity tag for the requested variant. |
|---|
CategoryItems-DELETE
Implementation Status
- COMPLETE
Description
- Delete category items
Request Headers
| If-None-Match (optional) | Only process request if none of the supplied entity tags matches resource. |
|---|---|
| If-Match (optional) | Only process request if any supplied entity tags matches resource. |
Status Codes
200
Description
- Category items deleted successfully
Response Schemas:
| _attachments_removed |
| ||
|---|---|---|---|
| _active_gestures_removed |
[ uuid , ... ] | ||
| _broken_links_removed |
[ uuid , ... ] | ||
| _wearables_removed |
| ||
| _category_items_removed |
[ uuid , ... ] | ||
| _updated_category_versions |
|
410
Description
- Category gone
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 9 ) |
412
Description
- Precondition failed
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| etags |
[ string , ... ] |
| etag |
string |
| error_code |
integer ( 10 ) |
| condition |
string |
| ETag | Current value of the entity tag for the requested variant. |
|---|
CategoryCategories
Description
- Categories in an inventory category.
Path:
- /category/{category}/categories{?tid,depth,simulate}
Parameters
- category → Category UUID or 'special' category name, e.g. "current".
- Validation: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
- Validation: ^(animatn|bodypart|clothing|current|favorite|gesture|inbox|landmark|lsltext)$
- Validation: ^(lstndfnd|my_otfts|notecard|object|outbox|root|snapshot|sound|texture|trash)$
- tid → Transaction ID.
- depth → Category child depth to retrieve.
- Validation: ^(\*|[0-9]+)?$
- simulate → Whether or not to skip writing back results.
- Validation: ^(0|1|true|false)?$
Methods
CategoryCategories-GET
Implementation Status
- COMPLETE
Description
- Retrieve categories in a category
Request Headers
| If-None-Match (optional) | Only process request if none of the supplied entity tags matches resource. |
|---|---|
| If-Match (optional) | Only process request if any supplied entity tags matches resource. |
Status Codes
200
Description
- Category categories retrieved successfully
Response Schemas:
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _embedded |
|
| ETag | Current value of the entity tag for the requested variant. |
|---|
304
Description
- Not modified
Response Schemas: string
| ETag | Current value of the entity tag for the requested variant. |
|---|
404
Description
- Category not found
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 4 ↔ 6 ) |
412
Description
- Precondition failed
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| etags |
[ string , ... ] |
| etag |
string |
| error_code |
integer ( 10 ) |
| condition |
string |
| ETag | Current value of the entity tag for the requested variant. |
|---|
CategoryCategories-PUT
Implementation Status
- NONE
Description
- Replace category categories.
Request Headers
| If-None-Match (optional) | Only process request if none of the supplied entity tags matches resource. |
|---|---|
| If-Match (optional) | Only process request if any supplied entity tags matches resource. |
Request Schemas
[
| _embedded† |
| ||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default† |
integer ( -1 ↔ 51 ) |
, ... ]
Status Codes
201
Description
- Category categories replaced
Response Schemas:
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _attachments_removed |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _active_gestures_removed |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _broken_links_removed |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _total_items_removed |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _created_items |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _wearables_removed |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _created_categories |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _categories_removed |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_category_versions |
|
| ETag | Current value of the entity tag for the requested variant. |
|---|---|
| Location | The URL of the replaced category categories. |
404
Description
- Category not found
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 4 ↔ 6 ) |
412
Description
- Precondition failed
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| etags |
[ string , ... ] |
| etag |
string |
| error_code |
integer ( 10 ) |
| condition |
string |
| ETag | Current value of the entity tag for the requested variant. |
|---|
CategoryCategories-COPY
Implementation Status
- NONE
Description
- Copy category categories
Request Headers
| If-None-Match (optional) | Only process request if none of the supplied entity tags matches resource. |
|---|---|
| Destination | Destination category_id or 'special' category. |
| If-Match (optional) | Only process request if any supplied entity tags matches resource. |
Status Codes
201
Description
- Category categories copied successfully
Response Schemas:
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _removed_items |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _top_category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _created_items |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _moved_items |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _created_categories |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_category_versions |
|
| ETag | Current value of the entity tag for the requested variant. |
|---|---|
| Location | The URL of the copied inventory. |
403
Description
- Permissions check failed.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| error_code |
integer ( 14 ) |
404
Description
- Destination category not found.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 4 ↔ 6 ) |
410
Description
- Source category gone
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 9 ) |
412
Description
- Precondition failed
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| etags |
[ string , ... ] |
| etag |
string |
| error_code |
integer ( 10 ) |
| condition |
string |
| ETag | Current value of the entity tag for the requested variant. |
|---|
CategoryCategories-MOVE
Implementation Status
- NONE
Description
- Move category categories
Request Headers
| If-None-Match (optional) | Only process request if none of the supplied entity tags matches resource. |
|---|---|
| Destination | Destination category_id. |
| If-Match (optional) | Only process request if any supplied entity tags matches resource. |
Status Codes
200
Description
- Category categories moved successfully
Response Schemas:
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type_default |
integer ( -1 ↔ 51 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| version |
integer ( 1 ↔ ∞ ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_categories |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_category_versions |
|
| ETag | Current value of the entity tag for the requested variant. |
|---|---|
| Location | The URL of the moved inventory. |
403
Description
- Permissions check failed.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| error_code |
integer ( 14 ) |
404
Description
- Destination category not found.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 4 ↔ 6 ) |
410
Description
- Source category gone
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 9 ) |
412
Description
- Precondition failed
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| etags |
[ string , ... ] |
| etag |
string |
| error_code |
integer ( 10 ) |
| condition |
string |
| ETag | Current value of the entity tag for the requested variant. |
|---|
CategoryCategories-DELETE
Implementation Status
- COMPLETE
Description
- Delete category categories
Request Headers
| If-None-Match (optional) | Only process request if none of the supplied entity tags matches resource. |
|---|---|
| If-Match (optional) | Only process request if any supplied entity tags matches resource. |
Status Codes
200
Description
- Category categories deleted successfully
Response Schemas:
| _update_result† |
| ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| _attachments_removed |
| ||||||||||
| _active_gestures_removed |
[ uuid , ... ] | ||||||||||
| _broken_links_removed |
[ uuid , ... ] | ||||||||||
| _total_items_removed |
integer | ||||||||||
| _wearables_removed |
| ||||||||||
| _category_items_removed |
[ uuid , ... ] | ||||||||||
| _categories_removed |
[ uuid , ... ] | ||||||||||
| _updated_category_versions |
|
410
Description
- Category gone
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 9 ) |
412
Description
- Precondition failed
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| etags |
[ string , ... ] |
| etag |
string |
| error_code |
integer ( 10 ) |
| condition |
string |
| ETag | Current value of the entity tag for the requested variant. |
|---|
Item
Description
- An inventory item.
Path:
- /item/{item}{?tid,simulate}
Parameters
- tid → Transaction ID.
- item → Item UUID
- Validation: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
- simulate → Whether or not to skip writing back results.
- Validation: ^(0|1|true|false)?$
Methods
Item-GET
Implementation Status
- COMPLETE
Description
- Retrieve an item
Status Codes
200
Description
- Item retrieved successfully
Response Schemas:
| _links |
| ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||
| asset_id |
uuid | ||||||||||||||||||
| inv_type |
integer ( 0 ↔ 22 ) | ||||||||||||||||||
| name |
string | ||||||||||||||||||
| sale_info |
| ||||||||||||||||||
| created_at |
unixtime | ||||||||||||||||||
| parent_id† |
uuid | ||||||||||||||||||
| flags |
integer ( 0 ↔ ∞ ) | ||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||
| item_id |
uuid | ||||||||||||||||||
| permissions |
| ||||||||||||||||||
| type |
integer ( -1 ↔ 51 ) | ||||||||||||||||||
| desc |
string |
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _broken |
boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| linked_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| created_at |
unixtime | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| item_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| inv_type |
integer ( 0 ↔ 22 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type |
integer ( 24 ↔ 25 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| desc |
string |
404
Description
- Item not found
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| item_id† |
uuid |
| error_code |
integer ( 4 ) |
Item-PATCH
Implementation Status
- COMPLETE
Description
- Modify an item
Request Schemas
| asset_id† |
uuid | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| name† |
string | ||||||||
| sale_info† |
| ||||||||
| flags† |
integer ( 0 ↔ ∞ ) | ||||||||
| desc† |
string | ||||||||
| hash_id† |
uuid | ||||||||
| permissions† |
|
| linked_id† |
uuid |
|---|---|
| name† |
string |
| desc† |
string |
Status Codes
200
Description
- Item modified successfully
Response Schemas:
| _links |
| ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _base_uri |
uri | ||||||||||||||||||
| asset_id |
uuid | ||||||||||||||||||
| inv_type |
integer ( 0 ↔ 22 ) | ||||||||||||||||||
| name |
string | ||||||||||||||||||
| sale_info |
| ||||||||||||||||||
| created_at |
unixtime | ||||||||||||||||||
| parent_id† |
uuid | ||||||||||||||||||
| flags |
integer ( 0 ↔ ∞ ) | ||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||
| item_id |
uuid | ||||||||||||||||||
| permissions |
| ||||||||||||||||||
| type |
integer ( -1 ↔ 51 ) | ||||||||||||||||||
| desc |
string | ||||||||||||||||||
| _updated_items |
[ uuid , ... ] | ||||||||||||||||||
| _update_result† |
| ||||||||||||||||||
| _updated_category_versions |
|
| _base_uri |
uri | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| _links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _broken |
boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| linked_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| created_at |
unixtime | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| item_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| inv_type |
integer ( 0 ↔ 22 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type |
integer ( 24 ↔ 25 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| desc |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_items |
[ uuid , ... ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _update_result† |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| _updated_category_versions |
|
400
Description
- Invalid request
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| item_id† |
uuid |
| error_code |
integer ( 0 ) |
404
Description
- Item not found
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| item_id† |
uuid |
| error_code |
integer ( 4 ) |
Item-COPY
Implementation Status
- NONE
Description
- Copy an item
Request Headers
| Destination | Destination category_id or 'special' category. |
|---|
Status Codes
201
Description
- Item copied successfully
Response Schemas:
| asset_id |
uuid | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| inv_type |
integer ( 0 ↔ 22 ) | ||||||||||||||||||
| name |
string | ||||||||||||||||||
| sale_info |
| ||||||||||||||||||
| created_at |
unixtime | ||||||||||||||||||
| parent_id† |
uuid | ||||||||||||||||||
| flags |
integer ( 0 ↔ ∞ ) | ||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||
| item_id |
uuid | ||||||||||||||||||
| permissions |
| ||||||||||||||||||
| type |
integer ( -1 ↔ 51 ) | ||||||||||||||||||
| desc |
string | ||||||||||||||||||
| _created_items |
[ uuid , ... ] | ||||||||||||||||||
| _updated_category_versions |
|
| linked_id |
uuid | ||
|---|---|---|---|
| name |
string | ||
| created_at |
unixtime | ||
| parent_id |
uuid | ||
| agent_id |
uuid | ||
| item_id |
uuid | ||
| inv_type |
integer ( 0 ↔ 22 ) | ||
| type |
integer ( 24 ↔ 25 ) | ||
| desc |
string | ||
| _created_items |
[ uuid , ... ] | ||
| _updated_category_versions |
|
| Location | The URL of the copied inventory. |
|---|
403
Description
- Permissions check failed.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| error_code |
integer ( 14 ) |
404
Description
- Destination category not found.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 4 ↔ 6 ) |
410
Description
- Source item gone
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| item_id |
uuid |
| error_code |
integer ( 9 ) |
Item-MOVE
Implementation Status
- NONE
Description
- Move an item
Request Headers
| Destination | Destination category_id or 'special' category. |
|---|
Status Codes
200
Description
- Item moved successfully
Response Schemas:
| asset_id |
uuid | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| inv_type |
integer ( 0 ↔ 22 ) | ||||||||||||||||||
| name |
string | ||||||||||||||||||
| sale_info |
| ||||||||||||||||||
| created_at |
unixtime | ||||||||||||||||||
| parent_id† |
uuid | ||||||||||||||||||
| flags |
integer ( 0 ↔ ∞ ) | ||||||||||||||||||
| agent_id |
uuid | ||||||||||||||||||
| item_id |
uuid | ||||||||||||||||||
| permissions |
| ||||||||||||||||||
| type |
integer ( -1 ↔ 51 ) | ||||||||||||||||||
| desc |
string | ||||||||||||||||||
| _updated_items |
[ uuid , ... ] | ||||||||||||||||||
| _updated_category_versions |
|
| linked_id |
uuid | ||
|---|---|---|---|
| name |
string | ||
| created_at |
unixtime | ||
| parent_id |
uuid | ||
| agent_id |
uuid | ||
| item_id |
uuid | ||
| inv_type |
integer ( 0 ↔ 22 ) | ||
| type |
integer ( 24 ↔ 25 ) | ||
| desc |
string | ||
| _updated_items |
[ uuid , ... ] | ||
| _updated_category_versions |
|
| Location | The URL of the moved inventory. |
|---|
403
Description
- Permissions check failed.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| error_code |
integer ( 14 ) |
404
Description
- Destination category not found.
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| category_id† |
uuid |
| error_code |
integer ( 4 ↔ 6 ) |
410
Description
- Source item gone
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| item_id |
uuid |
| error_code |
integer ( 9 ) |
Item-DELETE
Implementation Status
- COMPLETE
Description
- Delete an item
Status Codes
200
Description
- Item deleted successfully
Response Schemas:
| _attachments_removed |
| ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| _update_result† |
| ||||||||||
| _active_gestures_removed |
[ uuid , ... ] | ||||||||||
| _broken_links_removed |
[ uuid , ... ] | ||||||||||
| _wearables_removed |
| ||||||||||
| _category_items_removed |
[ uuid , ... ] | ||||||||||
| _updated_category_versions |
|
410
Description
- Item gone
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| item_id |
uuid |
| error_code |
integer ( 9 ) |
Global Response Status Codes
400
Description
- Invalid request
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| error_code |
integer ( 0 ↔ 17 ) |
415
Description
- Unsupported media type
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| error_code |
integer ( 0 ↔ 17 ) |
500
Description
- Internal Error
Response Schemas:
| error_line_number† |
integer |
|---|---|
| error_filename† |
string |
| error_description |
string |
| error_function† |
string |
| error_code |
integer ( 0 ↔ 17 ) |
Global Request Headers
| Content-Type (optional) | Content type of request payload. Generally application/llsd+xml or application/json.
|
|---|---|
| Accept-Encoding (optional) | Preferred response encoding (e.g. 'gzip') |
| Accept (optional) | Preferred response Content-Type. Generally application/llsd+xml or application/json.
|
| Cache-Control (optional) | Directives to caching mechanisms. |
Global Response Headers
| Vary | Indicates the set of request-header fields that determines request variants. Used by caching mechanisms. |
|---|---|
| Content-Encoding (optional) | Response encoding (e.g. 'gzip') |
| Content-Type (optional) | Content type of response payload. Generally application/llsd+xml or application/json.
|
| Content-Location (optional) | Canonical location of requested resource. |
| Cache-Control (optional) | Directives to caching mechanisms. |
Error Codes
| AIS_ERROR_INVALID_REQUEST | 0 |
|---|---|
| AIS_ERROR_INVALID_SHAPE | 1 |
| AIS_ERROR_INVALID_DEPTH | 2 |
| AIS_ERROR_BROKEN_LINK | 3 |
| AIS_ERROR_NOT_FOUND | 4 |
| AIS_ERROR_AGENT_NOT_FOUND | 5 |
| AIS_ERROR_NO_INVENTORY_ROOT | 6 |
| AIS_ERROR_METHOD_NOT_ALLOWED | 7 |
| AIS_ERROR_CONFLICT | 8 |
| AIS_ERROR_GONE | 9 |
| AIS_ERROR_CONDITION_FAILED | 10 |
| AIS_ERROR_INTERNAL_ERROR | 11 |
| AIS_ERROR_QUERY_FAILED | 12 |
| AIS_ERROR_QUERY_EXPECTATION_FAILED | 13 |
| AIS_ERROR_INVALID_PERMISSIONS | 14 |
| AIS_ERROR_NOT_SUPPORTED | 15 |
| AIS_ERROR_UNKNOWN | 16 |
| AIS_ERROR_UNSUPPORTED_MEDIA | 17 |