Difference between revisions of "Linden Lab Official:Inventory API v3"
Don Linden (talk | contribs) (Created page with "{{TOCright}} == Overview == {| class="lltable" border=1 |+Resource methods |- |- ! scope="row" align="left"| Category | ''/category/{category}{?tid,depth,simulat…") |
Don Linden (talk | contribs) |
||
Line 1: | Line 1: | ||
{{TOCright}} | {{TOCright}} | ||
== Overview == | == Resource Methods Overview == | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+ | |+ align="bottom" style="background-color: #333333;" |''<span style="color: #FFFF99;"> ‡ - Not Implemented<span> <span style="color: #FFFFFF;">† - Partially Implemented</span>'' | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| [[#Category | Category]] | ! scope="row" align="left"| [[#Category | Category]] | ||
| ''/category/{category}{?tid,depth,simulate}'' | | ''/category/{category}{?tid,depth,simulate}'' | ||
| [[#Category-GET | GET]] | | [[#Category-GET | <span style="background-color: #3A87AD; | ||
| [[#Category- | border-radius: 3px 3px 3px 3px; | ||
| [[#Category- | display: inline-block; | ||
| [[#Category- | color: #FFFFFF; | ||
| [[#Category- | font-weight: bold; | ||
| [[#Category- | padding: 2px 4px;">GET</span>]] | ||
| [[#Category-DELETE | DELETE]] | | [[#Category-POST | <span style="background-color: #468847; | ||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFFFF; | |||
font-weight: bold; | |||
padding: 2px 4px;">POST†</span>]] | |||
| [[#Category-PUT | <span style="background-color: #F89406; | |||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFFFF; | |||
font-weight: bold; | |||
padding: 2px 4px;">PUT</span>]] | |||
| [[#Category-PATCH | <span style="background-color: #0694F8; | |||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFFFF; | |||
font-weight: bold; | |||
padding: 2px 4px;">PATCH</span>]] | |||
| [[#Category-COPY | <span style="background-color: #333333; | |||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFFFF; | |||
font-weight: bold; | |||
padding: 2px 4px;">COPY</span>]] | |||
| [[#Category-MOVE | <span style="background-color: #999999; | |||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFF99; | |||
font-weight: bold; | |||
padding: 2px 4px;">MOVE‡</span>]] | |||
| [[#Category-DELETE | <span style="background-color: #B94A48; | |||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFFFF; | |||
font-weight: bold; | |||
padding: 2px 4px;">DELETE</span>]] | |||
|- | |- | ||
! scope="row" align="left"| [[#CategoryChildren | CategoryChildren]] | ! scope="row" align="left"| [[#CategoryChildren | CategoryChildren]] | ||
| ''/category/{category}/children{?tid,depth,simulate}'' | | ''/category/{category}/children{?tid,depth,simulate}'' | ||
| [[#CategoryChildren-GET | | | [[#CategoryChildren-GET | <span style="background-color: #3A87AD; | ||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFFFF; | |||
font-weight: bold; | |||
padding: 2px 4px;">GET</span>]] | |||
| | | | ||
| [[#CategoryChildren-PUT | PUT]] | | [[#CategoryChildren-PUT | <span style="background-color: #F89406; | ||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFF99; | |||
font-weight: bold; | |||
padding: 2px 4px;">PUT‡</span>]] | |||
| | | | ||
| [[#CategoryChildren-COPY | COPY]] | | [[#CategoryChildren-COPY | <span style="background-color: #333333; | ||
| [[#CategoryChildren-DELETE | DELETE]] | border-radius: 3px 3px 3px 3px; | ||
display: inline-block; | |||
color: #FFFF99; | |||
font-weight: bold; | |||
padding: 2px 4px;">COPY‡</span>]] | |||
| [[#CategoryChildren-MOVE | <span style="background-color: #999999; | |||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFF99; | |||
font-weight: bold; | |||
padding: 2px 4px;">MOVE‡</span>]] | |||
| [[#CategoryChildren-DELETE | <span style="background-color: #B94A48; | |||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFFFF; | |||
font-weight: bold; | |||
padding: 2px 4px;">DELETE</span>]] | |||
|- | |- | ||
! scope="row" align="left"| [[#CategoryLinks | CategoryLinks]] | ! scope="row" align="left"| [[#CategoryLinks | CategoryLinks]] | ||
| ''/category/{category}/links{?tid,simulate}'' | | ''/category/{category}/links{?tid,simulate}'' | ||
| [[#CategoryLinks-GET | | | [[#CategoryLinks-GET | <span style="background-color: #3A87AD; | ||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFFFF; | |||
font-weight: bold; | |||
padding: 2px 4px;">GET</span>]] | |||
| | | | ||
| [[#CategoryLinks-PUT | PUT]] | | [[#CategoryLinks-PUT | <span style="background-color: #F89406; | ||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFFFF; | |||
font-weight: bold; | |||
padding: 2px 4px;">PUT</span>]] | |||
| | | | ||
| [[#CategoryLinks-COPY | COPY]] | | [[#CategoryLinks-COPY | <span style="background-color: #333333; | ||
| [[#CategoryLinks-DELETE | DELETE]] | border-radius: 3px 3px 3px 3px; | ||
display: inline-block; | |||
color: #FFFF99; | |||
font-weight: bold; | |||
padding: 2px 4px;">COPY‡</span>]] | |||
| [[#CategoryLinks-MOVE | <span style="background-color: #999999; | |||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFF99; | |||
font-weight: bold; | |||
padding: 2px 4px;">MOVE‡</span>]] | |||
| [[#CategoryLinks-DELETE | <span style="background-color: #B94A48; | |||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFFFF; | |||
font-weight: bold; | |||
padding: 2px 4px;">DELETE</span>]] | |||
|- | |- | ||
! scope="row" align="left"| [[#CategoryItems | CategoryItems]] | ! scope="row" align="left"| [[#CategoryItems | CategoryItems]] | ||
| ''/category/{category}/items{?tid,simulate}'' | | ''/category/{category}/items{?tid,simulate}'' | ||
| [[#CategoryItems-GET | | | [[#CategoryItems-GET | <span style="background-color: #3A87AD; | ||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFFFF; | |||
font-weight: bold; | |||
padding: 2px 4px;">GET</span>]] | |||
| | | | ||
| [[#CategoryItems-PUT | PUT]] | | [[#CategoryItems-PUT | <span style="background-color: #F89406; | ||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFF99; | |||
font-weight: bold; | |||
padding: 2px 4px;">PUT‡</span>]] | |||
| | | | ||
| [[#CategoryItems-COPY | COPY]] | | [[#CategoryItems-COPY | <span style="background-color: #333333; | ||
| [[#CategoryItems-DELETE | DELETE]] | border-radius: 3px 3px 3px 3px; | ||
display: inline-block; | |||
color: #FFFF99; | |||
font-weight: bold; | |||
padding: 2px 4px;">COPY‡</span>]] | |||
| [[#CategoryItems-MOVE | <span style="background-color: #999999; | |||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFF99; | |||
font-weight: bold; | |||
padding: 2px 4px;">MOVE‡</span>]] | |||
| [[#CategoryItems-DELETE | <span style="background-color: #B94A48; | |||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFFFF; | |||
font-weight: bold; | |||
padding: 2px 4px;">DELETE</span>]] | |||
|- | |- | ||
! scope="row" align="left"| [[#CategoryCategories | CategoryCategories]] | ! scope="row" align="left"| [[#CategoryCategories | CategoryCategories]] | ||
| ''/category/{category}/categories{?tid,depth,simulate}'' | | ''/category/{category}/categories{?tid,depth,simulate}'' | ||
| [[#CategoryCategories-GET | | | [[#CategoryCategories-GET | <span style="background-color: #3A87AD; | ||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFFFF; | |||
font-weight: bold; | |||
padding: 2px 4px;">GET</span>]] | |||
| | | | ||
| [[#CategoryCategories-PUT | PUT]] | | [[#CategoryCategories-PUT | <span style="background-color: #F89406; | ||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFF99; | |||
font-weight: bold; | |||
padding: 2px 4px;">PUT‡</span>]] | |||
| | | | ||
| [[#CategoryCategories-COPY | COPY]] | | [[#CategoryCategories-COPY | <span style="background-color: #333333; | ||
| [[#CategoryCategories-DELETE | DELETE]] | border-radius: 3px 3px 3px 3px; | ||
display: inline-block; | |||
color: #FFFF99; | |||
font-weight: bold; | |||
padding: 2px 4px;">COPY‡</span>]] | |||
| [[#CategoryCategories-MOVE | <span style="background-color: #999999; | |||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFF99; | |||
font-weight: bold; | |||
padding: 2px 4px;">MOVE‡</span>]] | |||
| [[#CategoryCategories-DELETE | <span style="background-color: #B94A48; | |||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFFFF; | |||
font-weight: bold; | |||
padding: 2px 4px;">DELETE</span>]] | |||
|- | |- | ||
! scope="row" align="left"| [[#Item | Item]] | ! scope="row" align="left"| [[#Item | Item]] | ||
| ''/item/{item}{?tid,simulate}'' | | ''/item/{item}{?tid,simulate}'' | ||
| [[#Item-GET | | | [[#Item-GET | <span style="background-color: #3A87AD; | ||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFFFF; | |||
font-weight: bold; | |||
padding: 2px 4px;">GET</span>]] | |||
| | | | ||
| | | | ||
| [[#Item-COPY | COPY]] | | [[#Item-PATCH | <span style="background-color: #0694F8; | ||
| [[#Item-DELETE | DELETE]] | border-radius: 3px 3px 3px 3px; | ||
display: inline-block; | |||
color: #FFFFFF; | |||
font-weight: bold; | |||
padding: 2px 4px;">PATCH</span>]] | |||
| [[#Item-COPY | <span style="background-color: #333333; | |||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFF99; | |||
font-weight: bold; | |||
padding: 2px 4px;">COPY‡</span>]] | |||
| [[#Item-MOVE | <span style="background-color: #999999; | |||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFF99; | |||
font-weight: bold; | |||
padding: 2px 4px;">MOVE‡</span>]] | |||
| [[#Item-DELETE | <span style="background-color: #B94A48; | |||
border-radius: 3px 3px 3px 3px; | |||
display: inline-block; | |||
color: #FFFFFF; | |||
font-weight: bold; | |||
padding: 2px 4px;">DELETE</span>]] | |||
|} | |} | ||
== Resources == | == Resources == | ||
Line 84: | Line 244: | ||
** Validation: <code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(0|1|true|false)?$</code> | ** Validation: <code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(0|1|true|false)?$</code> | ||
<hr> | <hr> | ||
==== Category-GET ==== | ==== <div id="Category-GET">GET</div> ==== | ||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #468847; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">COMPLETE</code>''' | |||
Description | Description | ||
* '''Retrieve a category''' | * '''Retrieve a category''' | ||
Line 98: | Line 260: | ||
|} | |} | ||
===== Status Codes ===== | ===== Status Codes ===== | ||
====== Category-GET-200 ====== | ====== <div id="Category-GET-200">200</div> ====== | ||
Description | Description | ||
* '''Category retrieved successfully''' | * '''Category retrieved successfully''' | ||
Line 434: | Line 596: | ||
| ''Current value of the entity tag for the requested variant.'' | | ''Current value of the entity tag for the requested variant.'' | ||
|} | |} | ||
====== Category-GET-404 ====== | ====== <div id="Category-GET-304">304</div> ====== | ||
Description | |||
* '''Not modified''' | |||
Response Schemas: | |||
string | |||
{| class="lltable" border=1 | |||
|+Response Headers | |||
|- | |||
|- | |||
! scope="row" align="left"| ETag | |||
| ''Current value of the entity tag for the requested variant.'' | |||
|} | |||
====== <div id="Category-GET-404">404</div> ====== | |||
Description | Description | ||
* '''Category not found''' | * '''Category not found''' | ||
Line 466: | Line 640: | ||
integer | integer | ||
|} | |} | ||
====== | ====== <div id="Category-GET-412">412</div> ====== | ||
Description | Description | ||
* '''Precondition failed''' | * '''Precondition failed''' | ||
Line 526: | Line 688: | ||
|} | |} | ||
<hr> | <hr> | ||
==== Category- | ==== <div id="Category-POST">POST</div> ==== | ||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #F89406; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">PARTIAL</code>''' | |||
Description | Description | ||
* ''' | * '''Create inventory in category.''' | ||
===== Request Headers ===== | ===== Request Headers ===== | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 535: | Line 699: | ||
! scope="row" align="left"| If-None-Match <small><em>(optional)</em></small> | ! scope="row" align="left"| If-None-Match <small><em>(optional)</em></small> | ||
| ''Only process request if none of the supplied entity tags matches resource.'' | | ''Only process request if none of the supplied entity tags matches resource.'' | ||
|- | |- | ||
! scope="row" align="left"| If-Match <small><em>(optional)</em></small> | ! scope="row" align="left"| If-Match <small><em>(optional)</em></small> | ||
| ''Only process request if any supplied entity tags matches resource.'' | | ''Only process request if any supplied entity tags matches resource.'' | ||
|} | |||
===== Request Schemas ===== | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">newEmbeddedChildren</code> | |||
|- | |||
|- | |||
! scope="row" align="left"| items <small><em>(optional)</em></small> | |||
| | |||
array | |||
|- | |||
! scope="row" align="left"| links <small><em>(optional)</em></small> | |||
| | |||
array | |||
|- | |||
! scope="row" align="left"| categories <small><em>(optional)</em></small> | |||
| | |||
array | |||
|} | |} | ||
===== Status Codes ===== | ===== Status Codes ===== | ||
====== Category- | ====== <div id="Category-POST-201">201</div> ====== | ||
Description | Description | ||
* ''' | * '''Inventory created''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">categoryNewChildrenResponse</code> | ||
|- | |- | ||
|- | |- | ||
Line 702: | Line 880: | ||
uuid | uuid | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _embedded | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| items | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| links | |||
| | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| categories | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _links | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| self | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | |||
|} | |||
|- | |||
! scope="row" align="left"| parent | |||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category <small><em>(optional)</em></small> | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |} | ||
|- | |||
! scope="row" align="left"| links | |||
| | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| items | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| self | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| children | |||
! scope="row" align="left"| | | | ||
| | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| categories <small><em>(optional)</em></small> | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |} | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| _base_uri | |||
| | |||
string | |||
|- | |- | ||
! scope="row" align="left"| name | ! scope="row" align="left"| name | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| type_default | |||
| | |||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| version | |||
! scope="row" align="left"| | |||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| agent_id | |||
! scope="row" align="left"| | |||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _embedded | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| links | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _created_categories | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _created_items | ||
| | |||
|- | |||
! scope="row" align="left"| _updated_category_versions | |||
| | | | ||
|} | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+Response Headers | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| Location | ||
| ''The URL of the category children containing the created inventory.'' | |||
| | |||
|} | |} | ||
====== <div id="Category-POST-400">400</div> ====== | |||
Description | |||
* '''Invalid request''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorInvalidLinksShape</code> | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| error_function <small><em>(optional)</em></small> | |||
! scope="row" align="left"| | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| invalid_linked_ids <small><em>(optional)</em></small> | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | |||
|} | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorInvalidRequest</code> | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| error_function <small><em>(optional)</em></small> | |||
! scope="row" align="left"| | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | |||
|} | |} | ||
====== <div id="Category-POST-404">404</div> ====== | |||
Description | |||
* '''Category not found''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryNotFound</code> | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | |||
| | |||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | |||
string | |||
|- | |||
! scope="row" align="left"| error_function <small><em>(optional)</em></small> | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category_id <small><em>(optional)</em></small> | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | |||
|} | |||
====== <div id="Category-POST-409">409</div> ====== | |||
Description | |||
* '''Duplicate transaction.''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorDuplicateTransaction</code> | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_function <small><em>(optional)</em></small> | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| transaction_id | ||
| | | | ||
string | |||
|} | |||
====== <div id="Category-POST-412">412</div> ====== | |||
Description | |||
* '''Precondition failed''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorPreconditionFailed</code> | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_function <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| etags | ||
| | | | ||
array | |||
|- | |- | ||
! scope="row" align="left"| etag | |||
! scope="row" align="left"| | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| condition | ||
| | | | ||
string | string | ||
|} | |} | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 1,078: | Line 1,237: | ||
| ''Current value of the entity tag for the requested variant.'' | | ''Current value of the entity tag for the requested variant.'' | ||
|} | |} | ||
====== Category- | <hr> | ||
==== <div id="Category-PUT">PUT</div> ==== | |||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #468847; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">COMPLETE</code>''' | |||
Description | |||
* '''Create and retrieve a 'special' category.''' | |||
===== Request Headers ===== | |||
{| class="lltable" border=1 | |||
|- | |||
|- | |||
! scope="row" align="left"| If-None-Match <small><em>(optional)</em></small> | |||
| ''Only process request if none of the supplied entity tags matches resource.'' | |||
|- | |||
! scope="row" align="left"| If-Match <small><em>(optional)</em></small> | |||
| ''Only process request if any supplied entity tags matches resource.'' | |||
|} | |||
===== Status Codes ===== | |||
====== <div id="Category-PUT-201">201</div> ====== | |||
Description | Description | ||
* '''Category | * '''Category created''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">categoryNewResponse</code> | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _links | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| self | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | |||
|} | |||
|- | |||
! scope="row" align="left"| parent | |||
| | |||
{| class="lltable" border=1 | |||
|- | |||
|- | |||
! scope="row" align="left"| href | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category <small><em>(optional)</em></small> | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | |||
string | |||
|- | |||
! scope="row" align="left"| name <small><em>(optional)</em></small> | |||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| links | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| items | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | |||
| | |||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| self | ! scope="row" align="left"| self | ||
Line 1,230: | Line 1,358: | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| children | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 1,243: | Line 1,371: | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| categories <small><em>(optional)</em></small> | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 1,254: | Line 1,382: | ||
! scope="row" align="left"| name <small><em>(optional)</em></small> | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _base_uri | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| name | |||
! scope="row" align="left"| | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| type_default | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| version | |||
! scope="row" align="left"| | |||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| agent_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| _created_categories | |||
! scope="row" align="left"| | |||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _updated_category_versions | ||
| | | | ||
|} | |} | ||
{| class="lltable" border=1 | |||
|+Response Headers | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| Location | ||
| | | ''The URL of the created category'' | ||
|} | |||
====== <div id="Category-PUT-404">404</div> ====== | |||
Description | |||
* '''Category not found''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryNotFound</code> | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| error_function <small><em>(optional)</em></small> | |||
! scope="row" align="left"| | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category_id <small><em>(optional)</em></small> | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | |||
integer | |||
|} | |||
====== <div id="Category-PUT-409">409</div> ====== | |||
Description | |||
* '''Category already exists''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">categoryResponse</code> | |||
|- | |||
|- | |||
! scope="row" align="left"| _links | |||
| | |||
{| class="lltable" border=1 | |||
|- | |||
|- | |||
! scope="row" align="left"| self | |||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 1,332: | Line 1,482: | ||
! scope="row" align="left"| name <small><em>(optional)</em></small> | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category <small><em>(optional)</em></small> | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |} | ||
|- | |||
! scope="row" align="left"| links | |||
| | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
| | string | ||
== | |- | ||
! scope="row" align="left"| name <small><em>(optional)</em></small> | |||
| | |||
|} | |||
|- | |||
! scope="row" align="left"| items | |||
| | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| self | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| children | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| categories <small><em>(optional)</em></small> | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _base_uri | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name | ||
| | |||
string | |||
|- | |||
! scope="row" align="left"| type_default | |||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| version | |||
| | |||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| agent_id | ||
| | | | ||
uuid | |||
|- | |||
! scope="row" align="left"| category_id | |||
| | |||
uuid | |||
|} | |} | ||
====== Category-PUT- | ====== <div id="Category-PUT-412">412</div> ====== | ||
Description | Description | ||
* ''' | * '''Precondition failed''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorPreconditionFailed</code> | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | |||
! scope="row" align="left"| | |||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| error_description | |||
! scope="row" align="left"| | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_function <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| etags | ||
| | | | ||
array | |||
|- | |- | ||
! scope="row" align="left"| etag | |||
! scope="row" align="left"| | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| condition | ||
| | | | ||
string | |||
|} | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+Response Headers | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| ETag | ||
| ''Current value of the entity tag for the requested variant.'' | |||
|} | |||
<hr> | |||
==== <div id="Category-PATCH">PATCH</div> ==== | |||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #468847; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">COMPLETE</code>''' | |||
Description | |||
* '''Modify a category''' | |||
===== Request Headers ===== | |||
{| class="lltable" border=1 | |||
|- | |||
|- | |||
! scope="row" align="left"| If-None-Match <small><em>(optional)</em></small> | |||
| ''Only process request if none of the supplied entity tags matches resource.'' | |||
|- | |||
! scope="row" align="left"| If-Match <small><em>(optional)</em></small> | |||
| ''Only process request if any supplied entity tags matches resource.'' | |||
|} | |||
===== Request Schemas ===== | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">modifyCategory</code> | |||
|- | |||
|- | |||
! scope="row" align="left"| name | |||
| | | | ||
string | string | ||
|} | |||
===== Status Codes ===== | |||
====== <div id="Category-PATCH-200">200</div> ====== | |||
Description | |||
* '''Category modified successfully''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">categoryModifyResponse</code> | |||
|- | |- | ||
! scope="row" align="left"| | |- | ||
! scope="row" align="left"| _links | |||
| | | | ||
| | {| class="lltable" border=1 | ||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| self | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 1,520: | Line 1,716: | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 1,533: | Line 1,729: | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category <small><em>(optional)</em></small> | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 1,546: | Line 1,742: | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 1,559: | Line 1,755: | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| links | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 1,572: | Line 1,768: | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| items | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 1,583: | Line 1,779: | ||
! scope="row" align="left"| name <small><em>(optional)</em></small> | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| self | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| children | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| categories <small><em>(optional)</em></small> | ! scope="row" align="left"| categories <small><em>(optional)</em></small> | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 1,670: | Line 1,818: | ||
! scope="row" align="left"| name <small><em>(optional)</em></small> | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _base_uri | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| name | |||
! scope="row" align="left"| | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| type_default | ||
| | |||
integer | |||
|- | |||
! scope="row" align="left"| parent_id | |||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| version | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| agent_id | |||
| | |||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _updated_categories | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _update_result <small><em>(optional)</em></small> | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| server_response <small><em>(optional)</em></small> | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| fault_code <small><em>(optional)</em></small> | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| code | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| message | |||
! scope="row" align="left"| | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| success | ||
| | | | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _updated_category_versions | ||
| | | | ||
|} | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+Response Headers | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| ETag | ||
| ''Current value of the entity tag for the requested variant.'' | |||
| | |||
|} | |} | ||
====== <div id="Category-PATCH-400">400</div> ====== | |||
Description | |||
* '''Invalid request''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorInvalidCategoryRequest</code> | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| error_function <small><em>(optional)</em></small> | |||
! scope="row" align="left"| | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category_id <small><em>(optional)</em></small> | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | |||
|} | |||
====== <div id="Category-PATCH-404">404</div> ====== | |||
Description | |||
* '''Category not found''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryNotFound</code> | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | |||
integer | |||
|- | |||
! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_function <small><em>(optional)</em></small> | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category_id <small><em>(optional)</em></small> | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | integer | ||
|} | |||
====== <div id="Category-PATCH-412">412</div> ====== | |||
Description | |||
* '''Precondition failed''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorPreconditionFailed</code> | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_function <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| etags | |||
| | |||
array | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| etag | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| condition | ||
| | | | ||
string | |||
|} | |||
{| class="lltable" border=1 | |||
|+Response Headers | |||
|- | |||
|- | |||
! scope="row" align="left"| ETag | |||
| ''Current value of the entity tag for the requested variant.'' | |||
|} | |||
<hr> | |||
==== <div id="Category-COPY">COPY</div> ==== | |||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #468847; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">COMPLETE</code>''' | |||
Description | |||
* '''Copy a category''' | |||
===== Request Headers ===== | |||
{| class="lltable" border=1 | |||
|- | |||
|- | |||
! scope="row" align="left"| If-None-Match <small><em>(optional)</em></small> | |||
| ''Only process request if none of the supplied entity tags matches resource.'' | |||
|- | |||
! scope="row" align="left"| Destination | |||
| ''Destination category_id or 'special' category.'' | |||
|- | |||
! scope="row" align="left"| If-Match <small><em>(optional)</em></small> | |||
| ''Only process request if any supplied entity tags matches resource.'' | |||
|} | |} | ||
===== Status Codes ===== | |||
====== <div id="Category-COPY-201">201</div> ====== | |||
Description | |||
* '''Category copied successfully''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">categoryCopyResponse</code> | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| _links | ! scope="row" align="left"| _links | ||
Line 1,975: | Line 2,181: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |||
! scope="row" align="left"| items | |||
| | |||
|- | |- | ||
! scope="row" align="left"| links | ! scope="row" align="left"| links | ||
| | |||
|- | |||
! scope="row" align="left"| categories | |||
| | | | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _removed_items | ||
| | | | ||
|- | |||
! scope="row" align="left"| _top_category_id | |||
| | |||
uuid | |||
|- | |- | ||
! scope="row" align="left"| _created_items | ! scope="row" align="left"| _created_items | ||
| | |||
|- | |||
! scope="row" align="left"| _moved_items | |||
| | |||
|- | |||
! scope="row" align="left"| _created_categories | |||
| | | | ||
|- | |- | ||
Line 1,992: | Line 2,214: | ||
|+Response Headers | |+Response Headers | ||
|- | |- | ||
|- | |||
! scope="row" align="left"| ETag | |||
| ''Current value of the entity tag for the requested variant.'' | |||
|- | |- | ||
! scope="row" align="left"| Location | ! scope="row" align="left"| Location | ||
| ''The URL of the | | ''The URL of the copied inventory.'' | ||
|} | |} | ||
====== Category- | ====== <div id="Category-COPY-403">403</div> ====== | ||
Description | Description | ||
* ''' | * '''Permissions check failed.''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorInvalidPermissions</code> | ||
|- | |- | ||
|- | |- | ||
Line 2,019: | Line 2,244: | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| error_code | ! scope="row" align="left"| error_code | ||
Line 2,028: | Line 2,249: | ||
integer | integer | ||
|} | |} | ||
====== Category- | ====== <div id="Category-COPY-404">404</div> ====== | ||
Description | Description | ||
* ''' | * '''Destination category not found.''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryNotFound</code> | ||
|- | |- | ||
|- | |- | ||
Line 2,052: | Line 2,273: | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category_id <small><em>(optional)</em></small> | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| error_code | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | integer | ||
|} | |} | ||
====== Category- | ====== <div id="Category-COPY-409">409</div> ====== | ||
Description | Description | ||
* '''Duplicate transaction.''' | * '''Duplicate transaction.''' | ||
Line 2,107: | Line 2,313: | ||
string | string | ||
|} | |} | ||
====== Category- | ====== <div id="Category-COPY-410">410</div> ====== | ||
Description | Description | ||
* ''' | * '''Source category gone''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryGone</code> | ||
|- | |- | ||
|- | |- | ||
Line 2,131: | Line 2,337: | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category_id <small><em>(optional)</em></small> | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| error_code | ! scope="row" align="left"| error_code | ||
Line 2,138: | Line 2,345: | ||
integer | integer | ||
|} | |} | ||
====== <div id="Category-COPY-412">412</div> ====== | |||
Description | |||
* '''Precondition failed''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorPreconditionFailed</code> | ||
|- | |- | ||
|- | |- | ||
Line 2,155: | Line 2,366: | ||
|- | |- | ||
! scope="row" align="left"| error_function <small><em>(optional)</em></small> | ! scope="row" align="left"| error_function <small><em>(optional)</em></small> | ||
| | |||
string | |||
|- | |||
! scope="row" align="left"| etags | |||
| | |||
array | |||
|- | |||
! scope="row" align="left"| etag | |||
| | | | ||
string | string | ||
Line 2,161: | Line 2,380: | ||
| | | | ||
integer | integer | ||
|- | |||
! scope="row" align="left"| condition | |||
| | |||
string | |||
|} | |} | ||
<hr> | {| class="lltable" border=1 | ||
==== Category- | |+Response Headers | ||
|- | |||
|- | |||
! scope="row" align="left"| ETag | |||
| ''Current value of the entity tag for the requested variant.'' | |||
|} | |||
<hr> | |||
==== <div id="Category-MOVE">MOVE</div> ==== | |||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #B94A48; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">NONE</code>''' | |||
Description | Description | ||
* ''' | * '''Move a category''' | ||
===== Request Headers ===== | ===== Request Headers ===== | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 2,174: | Line 2,406: | ||
|- | |- | ||
! scope="row" align="left"| Destination | ! scope="row" align="left"| Destination | ||
| ''Destination category_id | | ''Destination category_id.'' | ||
|- | |- | ||
! scope="row" align="left"| If-Match <small><em>(optional)</em></small> | ! scope="row" align="left"| If-Match <small><em>(optional)</em></small> | ||
Line 2,180: | Line 2,412: | ||
|} | |} | ||
===== Status Codes ===== | ===== Status Codes ===== | ||
====== Category- | ====== <div id="Category-MOVE-200">200</div> ====== | ||
Description | Description | ||
* '''Category | * '''Category moved successfully''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">categoryMoveResponse</code> | ||
|- | |- | ||
|- | |- | ||
Line 2,339: | Line 2,571: | ||
uuid | uuid | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _updated_categories | ||
| | | | ||
|- | |- | ||
Line 2,381: | Line 2,585: | ||
|- | |- | ||
! scope="row" align="left"| Location | ! scope="row" align="left"| Location | ||
| ''The URL of the | | ''The URL of the moved inventory.'' | ||
|} | |} | ||
====== Category- | ====== <div id="Category-MOVE-403">403</div> ====== | ||
Description | Description | ||
* ''' | * '''Permissions check failed.''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorInvalidPermissions</code> | ||
|- | |- | ||
|- | |- | ||
Line 2,406: | Line 2,610: | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| error_code | ! scope="row" align="left"| error_code | ||
Line 2,415: | Line 2,615: | ||
integer | integer | ||
|} | |} | ||
====== Category- | ====== <div id="Category-MOVE-404">404</div> ====== | ||
Description | Description | ||
* ''' | * '''Destination category not found.''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryNotFound</code> | ||
|- | |- | ||
|- | |- | ||
Line 2,447: | Line 2,647: | ||
integer | integer | ||
|} | |} | ||
====== Category- | ====== <div id="Category-MOVE-410">410</div> ====== | ||
Description | Description | ||
* ''' | * '''Source category gone''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryGone</code> | ||
|- | |- | ||
|- | |- | ||
Line 2,471: | Line 2,671: | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category_id <small><em>(optional)</em></small> | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| error_code | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | integer | ||
|} | |} | ||
====== <div id="Category-MOVE-412">412</div> ====== | |||
====== Category- | |||
Description | Description | ||
* ''' | * '''Precondition failed''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorPreconditionFailed</code> | ||
|- | |- | ||
|- | |- | ||
Line 2,518: | Line 2,703: | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| etags | ||
| | | | ||
array | |||
|- | |- | ||
! scope="row" align="left"| etag | |||
! scope="row" align="left"| | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| condition | ||
| | | | ||
string | string | ||
|} | |||
{| class="lltable" border=1 | |||
|+Response Headers | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| ETag | ||
| | | ''Current value of the entity tag for the requested variant.'' | ||
|} | |} | ||
<hr> | <hr> | ||
==== Category-DELETE ==== | ==== <div id="Category-DELETE">DELETE</div> ==== | ||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #468847; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">COMPLETE</code>''' | |||
Description | Description | ||
* '''Delete a category''' | * '''Delete a category''' | ||
Line 2,569: | Line 2,743: | ||
|} | |} | ||
===== Status Codes ===== | ===== Status Codes ===== | ||
====== Category-DELETE-200 ====== | ====== <div id="Category-DELETE-200">200</div> ====== | ||
Description | Description | ||
* '''Category deleted successfully''' | * '''Category deleted successfully''' | ||
Line 2,627: | Line 2,801: | ||
| | | | ||
|} | |} | ||
====== Category-DELETE-410 ====== | ====== <div id="Category-DELETE-410">410</div> ====== | ||
Description | Description | ||
* '''Category gone''' | * '''Category gone''' | ||
Line 2,659: | Line 2,833: | ||
integer | integer | ||
|} | |} | ||
====== Category-DELETE-412 ====== | ====== <div id="Category-DELETE-412">412</div> ====== | ||
Description | Description | ||
* '''Precondition failed''' | * '''Precondition failed''' | ||
Line 2,723: | Line 2,897: | ||
** Validation: <code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(0|1|true|false)?$</code> | ** Validation: <code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(0|1|true|false)?$</code> | ||
<hr> | <hr> | ||
==== CategoryChildren- | ==== <div id="CategoryChildren-GET">GET</div> ==== | ||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #468847; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">COMPLETE</code>''' | |||
Description | Description | ||
* ''' | * '''Retrieve children in a category''' | ||
===== Request Headers ===== | ===== Request Headers ===== | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 2,736: | Line 2,912: | ||
| ''Only process request if any supplied entity tags matches resource.'' | | ''Only process request if any supplied entity tags matches resource.'' | ||
|} | |} | ||
===== | ===== Status Codes ===== | ||
====== <div id="CategoryChildren-GET-200">200</div> ====== | |||
Description | Description | ||
* '''Category children | * '''Category children retrieved successfully''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">categoryChildrenResponse</code> | ||
|- | |- | ||
|- | |- | ||
Line 2,927: | Line 3,086: | ||
| | | | ||
|} | |} | ||
|} | |||
{| class="lltable" border=1 | |||
|+Response Headers | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| ETag | ||
| ''Current value of the entity tag for the requested variant.'' | |||
| | |||
|} | |} | ||
====== <div id="CategoryChildren-GET-304">304</div> ====== | |||
Description | |||
* '''Not modified''' | |||
Response Schemas: | |||
string | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+Response Headers | |+Response Headers | ||
Line 2,962: | Line 3,105: | ||
! scope="row" align="left"| ETag | ! scope="row" align="left"| ETag | ||
| ''Current value of the entity tag for the requested variant.'' | | ''Current value of the entity tag for the requested variant.'' | ||
|} | |} | ||
====== CategoryChildren- | ====== <div id="CategoryChildren-GET-404">404</div> ====== | ||
Description | Description | ||
* '''Category not found''' | * '''Category not found''' | ||
Line 2,998: | Line 3,138: | ||
integer | integer | ||
|} | |} | ||
====== CategoryChildren- | ====== <div id="CategoryChildren-GET-412">412</div> ====== | ||
Description | Description | ||
* '''Precondition failed''' | * '''Precondition failed''' | ||
Line 3,046: | Line 3,186: | ||
|} | |} | ||
<hr> | <hr> | ||
==== CategoryChildren- | ==== <div id="CategoryChildren-PUT">PUT</div> ==== | ||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #B94A48; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">NONE</code>''' | |||
Description | Description | ||
* ''' | * '''Replace category children.''' | ||
===== Request Headers ===== | ===== Request Headers ===== | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 3,056: | Line 3,198: | ||
| ''Only process request if none of the supplied entity tags matches resource.'' | | ''Only process request if none of the supplied entity tags matches resource.'' | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| If-Match <small><em>(optional)</em></small> | ||
| '' | | ''Only process request if any supplied entity tags matches resource.'' | ||
|} | |||
===== Request Schemas ===== | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">newEmbeddedChildren</code> | |||
|- | |||
|- | |||
! scope="row" align="left"| items <small><em>(optional)</em></small> | |||
| | |||
array | |||
|- | |||
! scope="row" align="left"| links <small><em>(optional)</em></small> | |||
| | |||
array | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| categories <small><em>(optional)</em></small> | ||
| | | | ||
array | |||
|} | |} | ||
===== Status Codes ===== | ===== Status Codes ===== | ||
====== CategoryChildren- | ====== <div id="CategoryChildren-PUT-201">201</div> ====== | ||
Description | Description | ||
* '''Category children | * '''Category children replaced''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">categoryChildrenReplaceResponse</code> | ||
|- | |- | ||
|- | |- | ||
Line 3,237: | Line 3,393: | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _attachments_removed | ||
| | |||
|- | |||
! scope="row" align="left"| _active_gestures_removed | |||
| | |||
|- | |||
! scope="row" align="left"| _broken_links_removed | |||
| | |||
|- | |||
! scope="row" align="left"| _total_items_removed | |||
| | |||
integer | |||
|- | |||
! scope="row" align="left"| _created_items | |||
| | |||
|- | |||
! scope="row" align="left"| _wearables_removed | |||
| | |||
|- | |||
! scope="row" align="left"| _created_categories | |||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _categories_removed | ||
| | | | ||
|- | |- | ||
Line 3,254: | Line 3,429: | ||
|- | |- | ||
! scope="row" align="left"| Location | ! scope="row" align="left"| Location | ||
| ''The URL of the | | ''The URL of the replaced category children.'' | ||
|} | |} | ||
====== CategoryChildren- | ====== <div id="CategoryChildren-PUT-404">404</div> ====== | ||
Description | Description | ||
* ''' | * '''Category not found''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 3,288: | Line 3,463: | ||
integer | integer | ||
|} | |} | ||
====== CategoryChildren- | ====== <div id="CategoryChildren-PUT-412">412</div> ====== | ||
Description | Description | ||
* ''' | * '''Precondition failed''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorPreconditionFailed</code> | ||
|- | |- | ||
|- | |- | ||
Line 3,312: | Line 3,487: | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| etags | ||
| | | | ||
array | |||
|- | |||
array | |||
|- | |||
! scope="row" align="left"| etag | ! scope="row" align="left"| etag | ||
| | | | ||
Line 3,362: | Line 3,509: | ||
! scope="row" align="left"| ETag | ! scope="row" align="left"| ETag | ||
| ''Current value of the entity tag for the requested variant.'' | | ''Current value of the entity tag for the requested variant.'' | ||
|} | |} | ||
<hr> | <hr> | ||
==== CategoryChildren-COPY ==== | ==== <div id="CategoryChildren-COPY">COPY</div> ==== | ||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #B94A48; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">NONE</code>''' | |||
Description | Description | ||
* '''Copy category children''' | * '''Copy category children''' | ||
Line 3,413: | Line 3,530: | ||
|} | |} | ||
===== Status Codes ===== | ===== Status Codes ===== | ||
====== CategoryChildren-COPY-201 ====== | ====== <div id="CategoryChildren-COPY-201">201</div> ====== | ||
Description | Description | ||
* '''Category children copied successfully''' | * '''Category children copied successfully''' | ||
Line 3,616: | Line 3,733: | ||
| ''The URL of the copied inventory.'' | | ''The URL of the copied inventory.'' | ||
|} | |} | ||
====== CategoryChildren-COPY- | ====== <div id="CategoryChildren-COPY-403">403</div> ====== | ||
Description | Description | ||
* ''' | * '''Permissions check failed.''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorInvalidPermissions</code> | ||
|- | |- | ||
|- | |- | ||
Line 3,639: | Line 3,756: | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| error_code | ! scope="row" align="left"| error_code | ||
Line 3,648: | Line 3,761: | ||
integer | integer | ||
|} | |} | ||
====== CategoryChildren-COPY-404 ====== | ====== <div id="CategoryChildren-COPY-404">404</div> ====== | ||
Description | Description | ||
* '''Destination category not found.''' | * '''Destination category not found.''' | ||
Line 3,680: | Line 3,793: | ||
integer | integer | ||
|} | |} | ||
====== CategoryChildren-COPY- | ====== <div id="CategoryChildren-COPY-410">410</div> ====== | ||
Description | Description | ||
* ''' | * '''Source category gone''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryGone</code> | ||
|- | |- | ||
|- | |- | ||
Line 3,703: | Line 3,816: | ||
| | | | ||
string | string | ||
|- | |||
! scope="row" align="left"| category_id <small><em>(optional)</em></small> | |||
| | |||
uuid | |||
|- | |- | ||
! scope="row" align="left"| error_code | ! scope="row" align="left"| error_code | ||
Line 3,708: | Line 3,825: | ||
integer | integer | ||
|} | |} | ||
====== CategoryChildren-COPY-412 ====== | ====== <div id="CategoryChildren-COPY-412">412</div> ====== | ||
Description | Description | ||
* '''Precondition failed''' | * '''Precondition failed''' | ||
Line 3,756: | Line 3,873: | ||
|} | |} | ||
<hr> | <hr> | ||
==== CategoryChildren- | ==== <div id="CategoryChildren-MOVE">MOVE</div> ==== | ||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #B94A48; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">NONE</code>''' | |||
Description | Description | ||
* ''' | * '''Move category children''' | ||
===== Request Headers ===== | ===== Request Headers ===== | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 3,765: | Line 3,884: | ||
! scope="row" align="left"| If-None-Match <small><em>(optional)</em></small> | ! scope="row" align="left"| If-None-Match <small><em>(optional)</em></small> | ||
| ''Only process request if none of the supplied entity tags matches resource.'' | | ''Only process request if none of the supplied entity tags matches resource.'' | ||
|- | |||
! scope="row" align="left"| Destination | |||
| ''Destination category_id.'' | |||
|- | |- | ||
! scope="row" align="left"| If-Match <small><em>(optional)</em></small> | ! scope="row" align="left"| If-Match <small><em>(optional)</em></small> | ||
Line 3,770: | Line 3,892: | ||
|} | |} | ||
===== Status Codes ===== | ===== Status Codes ===== | ||
====== CategoryChildren- | ====== <div id="CategoryChildren-MOVE-200">200</div> ====== | ||
Description | Description | ||
* '''Category children | * '''Category children moved successfully''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">categoryChildrenMoveResponse</code> | ||
|- | |||
|- | |||
! scope="row" align="left"| _links | |||
| | |||
{| class="lltable" border=1 | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| self | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category <small><em>(optional)</em></small> | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |- | ||
! scope="row" align="left"| | |- | ||
! scope="row" align="left"| href | |||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| links | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| items | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| self | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| children | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| categories <small><em>(optional)</em></small> | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |||
! scope="row" align="left"| name <small><em>(optional)</em></small> | |||
| | |||
|} | |} | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| _base_uri | |||
| | |||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| type_default | |||
| | |||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| version | |||
| | |||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| agent_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _embedded | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| items | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| links | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| categories | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| _updated_items | |||
| | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _updated_categories | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _updated_category_versions | ||
| | | | ||
|} | |} | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+Response Headers | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| ETag | ||
| | | ''Current value of the entity tag for the requested variant.'' | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| Location | ||
| | | ''The URL of the moved inventory.'' | ||
|} | |} | ||
====== <div id="CategoryChildren-MOVE-403">403</div> ====== | |||
Description | |||
* '''Permissions check failed.''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorInvalidPermissions</code> | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| error_function <small><em>(optional)</em></small> | |||
! scope="row" align="left"| | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | |||
|} | |} | ||
====== <div id="CategoryChildren-MOVE-404">404</div> ====== | |||
Description | |||
* '''Destination category not found.''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryNotFound</code> | |||
|- | |- | ||
! scope="row" align="left"| | |- | ||
! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | |||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | |||
! scope="row" align="left"| | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_function <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| category_id <small><em>(optional)</em></small> | |||
! scope="row" align="left"| | |||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | |||
|} | |} | ||
====== <div id="CategoryChildren-MOVE-410">410</div> ====== | |||
Description | |||
* '''Source category gone''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryGone</code> | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_function <small><em>(optional)</em></small> | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category_id <small><em>(optional)</em></small> | ||
| | | | ||
uuid | uuid | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | integer | ||
|} | |||
====== <div id="CategoryChildren-MOVE-412">412</div> ====== | |||
Description | |||
* '''Precondition failed''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorPreconditionFailed</code> | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | |||
|- | |||
! scope="row" align="left"| error_function <small><em>(optional)</em></small> | |||
| | |||
string | |||
|- | |- | ||
! scope="row" align="left"| etags | |||
| | |||
array | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| etag | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| condition | ||
| | | | ||
string | |||
|} | |} | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 4,103: | Line 4,224: | ||
| ''Current value of the entity tag for the requested variant.'' | | ''Current value of the entity tag for the requested variant.'' | ||
|} | |} | ||
====== CategoryChildren- | <hr> | ||
==== <div id="CategoryChildren-DELETE">DELETE</div> ==== | |||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #468847; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">COMPLETE</code>''' | |||
Description | |||
* '''Delete category children''' | |||
===== Request Headers ===== | |||
{| class="lltable" border=1 | |||
|- | |||
|- | |||
! scope="row" align="left"| If-None-Match <small><em>(optional)</em></small> | |||
| ''Only process request if none of the supplied entity tags matches resource.'' | |||
|- | |||
! scope="row" align="left"| If-Match <small><em>(optional)</em></small> | |||
| ''Only process request if any supplied entity tags matches resource.'' | |||
|} | |||
===== Status Codes ===== | |||
====== <div id="CategoryChildren-DELETE-200">200</div> ====== | |||
Description | Description | ||
* '''Category | * '''Category children deleted successfully''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">categoryDeleteResponse</code> | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _update_result <small><em>(optional)</em></small> | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| server_response <small><em>(optional)</em></small> | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| fault_code <small><em>(optional)</em></small> | ||
| | |||
integer | |||
|- | |||
! scope="row" align="left"| code | |||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| message | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| success | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _attachments_removed | ||
| | | | ||
integer | |- | ||
|} | ! scope="row" align="left"| _active_gestures_removed | ||
====== CategoryChildren- | | | ||
Description | |- | ||
* ''' | ! scope="row" align="left"| _broken_links_removed | ||
| | |||
|- | |||
! scope="row" align="left"| _total_items_removed | |||
| | |||
integer | |||
|- | |||
! scope="row" align="left"| _wearables_removed | |||
| | |||
|- | |||
! scope="row" align="left"| _category_items_removed | |||
| | |||
|- | |||
! scope="row" align="left"| _categories_removed | |||
| | |||
|- | |||
! scope="row" align="left"| _updated_category_versions | |||
| | |||
|} | |||
====== <div id="CategoryChildren-DELETE-410">410</div> ====== | |||
Description | |||
* '''Category gone''' | |||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryGone</code> | |||
|- | |||
|- | |||
! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | |||
| | |||
integer | |||
|- | |||
! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | |||
| | |||
string | |||
|- | |||
! scope="row" align="left"| error_description | |||
| | |||
string | string | ||
|- | |- | ||
! scope="row" align="left"| error_function <small><em>(optional)</em></small> | |||
| | |||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category_id <small><em>(optional)</em></small> | ||
| | | | ||
uuid | |||
|- | |||
! scope="row" align="left"| error_code | |||
| | |||
integer | |||
|} | |} | ||
====== CategoryChildren- | ====== <div id="CategoryChildren-DELETE-412">412</div> ====== | ||
Description | Description | ||
* '''Precondition failed''' | * '''Precondition failed''' | ||
Line 4,209: | Line 4,393: | ||
** Validation: <code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(0|1|true|false)?$</code> | ** Validation: <code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(0|1|true|false)?$</code> | ||
<hr> | <hr> | ||
==== CategoryLinks- | ==== <div id="CategoryLinks-GET">GET</div> ==== | ||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #468847; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">COMPLETE</code>''' | |||
Description | Description | ||
* ''' | * '''Retrieve links in a category''' | ||
===== Status Codes ===== | ===== Status Codes ===== | ||
====== CategoryLinks- | ====== <div id="CategoryLinks-GET-200">200</div> ====== | ||
Description | Description | ||
* '''Category links | * '''Category links retrieved successfully''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">categoryLinksResponse</code> | ||
|- | |- | ||
|- | |- | ||
Line 4,382: | Line 4,566: | ||
| | | | ||
|} | |} | ||
|} | |} | ||
====== <div id="CategoryLinks-GET-404">404</div> ====== | |||
====== CategoryLinks- | |||
Description | Description | ||
* '''Category not found''' | * '''Category not found''' | ||
Line 4,437: | Line 4,599: | ||
integer | integer | ||
|} | |} | ||
===== | <hr> | ||
==== <div id="CategoryLinks-PUT">PUT</div> ==== | |||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #468847; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">COMPLETE</code>''' | |||
Description | Description | ||
* ''' | * '''Replace category links.''' | ||
===== Request Schemas ===== | |||
array | |||
===== Status Codes ===== | |||
====== <div id="CategoryLinks-PUT-201">201</div> ====== | |||
Description | |||
* '''Category links replaced''' | |||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">categoryLinksReplaceResponse</code> | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _links | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| self | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|} | |||
|- | |- | ||
! scope="row" align="left"| category <small><em>(optional)</em></small> | ! scope="row" align="left"| category <small><em>(optional)</em></small> | ||
Line 4,671: | Line 4,775: | ||
| | | | ||
|} | |} | ||
|- | |||
! scope="row" align="left"| _linked_ids | |||
| | |||
|- | |- | ||
! scope="row" align="left"| _updated_items | ! scope="row" align="left"| _updated_items | ||
| | |||
|- | |||
! scope="row" align="left"| _category_items_removed | |||
| | |||
|- | |||
! scope="row" align="left"| _created_items | |||
| | | | ||
|- | |- | ||
Line 4,683: | Line 4,796: | ||
|- | |- | ||
! scope="row" align="left"| Location | ! scope="row" align="left"| Location | ||
| ''The URL of the | | ''The URL of the replaced category links.'' | ||
|} | |} | ||
====== CategoryLinks- | ====== <div id="CategoryLinks-PUT-400">400</div> ====== | ||
Description | Description | ||
* ''' | * '''Invalid request''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorInvalidLinksShape</code> | ||
|- | |- | ||
|- | |- | ||
Line 4,709: | Line 4,822: | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| invalid_linked_ids <small><em>(optional)</em></small> | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| error_code | ! scope="row" align="left"| error_code | ||
Line 4,717: | Line 4,829: | ||
integer | integer | ||
|} | |} | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorInvalidRequest</code> | ||
|- | |- | ||
|- | |- | ||
Line 4,745: | Line 4,853: | ||
integer | integer | ||
|} | |} | ||
====== CategoryLinks- | ====== <div id="CategoryLinks-PUT-404">404</div> ====== | ||
Description | Description | ||
* ''' | * '''Category not found''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryNotFound</code> | ||
|- | |- | ||
|- | |- | ||
Line 4,778: | Line 4,886: | ||
|} | |} | ||
<hr> | <hr> | ||
==== CategoryLinks-COPY ==== | ==== <div id="CategoryLinks-COPY">COPY</div> ==== | ||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #B94A48; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">NONE</code>''' | |||
Description | Description | ||
* '''Copy category links''' | * '''Copy category links''' | ||
Line 4,789: | Line 4,899: | ||
|} | |} | ||
===== Status Codes ===== | ===== Status Codes ===== | ||
====== CategoryLinks-COPY-201 ====== | ====== <div id="CategoryLinks-COPY-201">201</div> ====== | ||
Description | Description | ||
* '''Category links copied successfully''' | * '''Category links copied successfully''' | ||
Line 4,970: | Line 5,080: | ||
| ''The URL of the copied inventory.'' | | ''The URL of the copied inventory.'' | ||
|} | |} | ||
====== CategoryLinks-COPY- | ====== <div id="CategoryLinks-COPY-403">403</div> ====== | ||
Description | Description | ||
* ''' | * '''Permissions check failed.''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorInvalidPermissions</code> | ||
|- | |- | ||
|- | |- | ||
Line 4,993: | Line 5,103: | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| error_code | ! scope="row" align="left"| error_code | ||
Line 5,002: | Line 5,108: | ||
integer | integer | ||
|} | |} | ||
====== CategoryLinks-COPY-404 ====== | ====== <div id="CategoryLinks-COPY-404">404</div> ====== | ||
Description | Description | ||
* '''Destination category not found.''' | * '''Destination category not found.''' | ||
Line 5,034: | Line 5,140: | ||
integer | integer | ||
|} | |} | ||
====== CategoryLinks-COPY- | ====== <div id="CategoryLinks-COPY-410">410</div> ====== | ||
Description | Description | ||
* ''' | * '''Source category gone''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryGone</code> | ||
|- | |- | ||
|- | |- | ||
Line 5,057: | Line 5,163: | ||
| | | | ||
string | string | ||
|- | |||
! scope="row" align="left"| category_id <small><em>(optional)</em></small> | |||
| | |||
uuid | |||
|- | |- | ||
! scope="row" align="left"| error_code | ! scope="row" align="left"| error_code | ||
Line 5,063: | Line 5,173: | ||
|} | |} | ||
<hr> | <hr> | ||
==== CategoryLinks- | ==== <div id="CategoryLinks-MOVE">MOVE</div> ==== | ||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #B94A48; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">NONE</code>''' | |||
Description | Description | ||
* ''' | * '''Move category links''' | ||
===== Request Headers ===== | |||
{| class="lltable" border=1 | |||
|- | |||
|- | |||
! scope="row" align="left"| Destination | |||
| ''Destination category_id.'' | |||
|} | |||
===== Status Codes ===== | ===== Status Codes ===== | ||
====== CategoryLinks- | ====== <div id="CategoryLinks-MOVE-200">200</div> ====== | ||
Description | Description | ||
* '''Category links | * '''Category links moved successfully''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">categoryLinksMoveResponse</code> | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _links | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |- | ||
|- | |||
! scope="row" align="left"| self | |||
|- | |||
! scope="row" align="left"| self | |||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 5,285: | Line 5,353: | ||
| | | | ||
|} | |} | ||
|- | |||
! scope="row" align="left"| _updated_items | |||
| | |||
|- | |||
! scope="row" align="left"| _updated_category_versions | |||
| | |||
|} | |} | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+ | |+Response Headers | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ! scope="row" align="left"| Location | ||
| | | ''The URL of the moved inventory.'' | ||
|} | |||
====== <div id="CategoryLinks-MOVE-403">403</div> ====== | |||
Description | |||
* '''Permissions check failed.''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorInvalidPermissions</code> | |||
|- | |||
|- | |||
! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | |||
| | |||
integer | integer | ||
|- | |- | ||
Line 5,309: | Line 5,390: | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| error_code | ! scope="row" align="left"| error_code | ||
Line 5,318: | Line 5,395: | ||
integer | integer | ||
|} | |} | ||
< | ====== <div id="CategoryLinks-MOVE-404">404</div> ====== | ||
=== | |||
Description | Description | ||
* | * '''Destination category not found.''' | ||
Response Schemas: | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryNotFound</code> | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| error_description | |||
| | |||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_function <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category_id <small><em>(optional)</em></small> | ||
| | | | ||
uuid | |||
|- | |||
! scope="row" align="left"| error_code | |||
| | |||
integer | |||
|} | |} | ||
===== | ====== <div id="CategoryLinks-MOVE-410">410</div> ====== | ||
Description | Description | ||
* ''' | * '''Source category gone''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryGone</code> | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | |||
| | |||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| error_function <small><em>(optional)</em></small> | |||
! scope="row" align="left"| | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category_id <small><em>(optional)</em></small> | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | |||
|} | |||
<hr> | |||
==== <div id="CategoryLinks-DELETE">DELETE</div> ==== | |||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #468847; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">COMPLETE</code>''' | |||
Description | |||
* '''Delete category links''' | |||
===== Status Codes ===== | |||
====== <div id="CategoryLinks-DELETE-200">200</div> ====== | |||
Description | |||
* '''Category links deleted successfully''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">categoryLinksDeleteResponse</code> | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _category_items_removed | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _updated_category_versions | ||
| | | | ||
|} | |} | ||
====== <div id="CategoryLinks-DELETE-410">410</div> ====== | |||
Description | |||
* '''Category gone''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryGone</code> | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | |||
! scope="row" align="left"| | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_function <small><em>(optional)</em></small> | ||
| | |||
string | |||
|- | |||
! scope="row" align="left"| category_id <small><em>(optional)</em></small> | |||
| | |||
uuid | |||
|- | |||
! scope="row" align="left"| error_code | |||
| | |||
integer | |||
|} | |||
<hr> | |||
=== CategoryItems === | |||
Description | |||
* '''Items in an inventory category.''' | |||
Path: | |||
* ''/category/''<code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{category}</code>''/items''<code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{?tid,simulate}</code> | |||
==== Parameters ==== | |||
* <code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">category</code> → Category UUID or 'special' category name, e.g. "current". | |||
** Validation: <code 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}$</code> | |||
** Validation: <code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(animatn|bodypart|clothing|current|favorite|gesture|inbox|landmark|lsltext)$</code> | |||
** Validation: <code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(lstndfnd|my_otfts|notecard|object|outbox|root|snapshot|sound|texture|trash)$</code> | |||
* <code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">tid</code> → Transaction ID. | |||
* <code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">simulate</code> → Whether or not to skip writing back results. | |||
** Validation: <code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(0|1|true|false)?$</code> | |||
<hr> | |||
==== <div id="CategoryItems-GET">GET</div> ==== | |||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #468847; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">COMPLETE</code>''' | |||
Description | |||
* '''Retrieve items in a category''' | |||
===== Status Codes ===== | |||
====== <div id="CategoryItems-GET-200">200</div> ====== | |||
Description | |||
* '''Category items retrieved successfully''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">categoryItemsResponse</code> | |||
|- | |||
|- | |||
! scope="row" align="left"| _links | |||
| | |||
{| class="lltable" border=1 | |||
|- | |||
|- | |||
! scope="row" align="left"| self | |||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 5,425: | Line 5,559: | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 5,438: | Line 5,572: | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category <small><em>(optional)</em></small> | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 5,451: | Line 5,585: | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 5,464: | Line 5,598: | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| links | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 5,477: | Line 5,611: | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| items | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 5,488: | Line 5,622: | ||
! scope="row" align="left"| name <small><em>(optional)</em></small> | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| self | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| children | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| categories <small><em>(optional)</em></small> | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _base_uri | ||
| | |||
string | |||
|- | |||
! scope="row" align="left"| name | |||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| type_default | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| version | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| agent_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _embedded | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| items | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| links | ||
| | | | ||
|} | |||
|} | |} | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 5,564: | Line 5,710: | ||
! scope="row" align="left"| ETag | ! scope="row" align="left"| ETag | ||
| ''Current value of the entity tag for the requested variant.'' | | ''Current value of the entity tag for the requested variant.'' | ||
|} | |} | ||
====== CategoryItems- | ====== <div id="CategoryItems-GET-304">304</div> ====== | ||
Description | Description | ||
* '''Category not found''' | * '''Not modified''' | ||
Response Schemas: | |||
string | |||
{| class="lltable" border=1 | |||
|+Response Headers | |||
|- | |||
|- | |||
! scope="row" align="left"| ETag | |||
| ''Current value of the entity tag for the requested variant.'' | |||
|} | |||
====== <div id="CategoryItems-GET-404">404</div> ====== | |||
Description | |||
* '''Category not found''' | |||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 5,600: | Line 5,755: | ||
integer | integer | ||
|} | |} | ||
====== CategoryItems- | ====== <div id="CategoryItems-GET-412">412</div> ====== | ||
Description | Description | ||
* '''Precondition failed''' | * '''Precondition failed''' | ||
Line 5,648: | Line 5,803: | ||
|} | |} | ||
<hr> | <hr> | ||
==== CategoryItems- | ==== <div id="CategoryItems-PUT">PUT</div> ==== | ||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #B94A48; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">NONE</code>''' | |||
Description | Description | ||
* ''' | * '''Replace category items.''' | ||
===== Request Headers ===== | ===== Request Headers ===== | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 5,657: | Line 5,814: | ||
! scope="row" align="left"| If-None-Match <small><em>(optional)</em></small> | ! scope="row" align="left"| If-None-Match <small><em>(optional)</em></small> | ||
| ''Only process request if none of the supplied entity tags matches resource.'' | | ''Only process request if none of the supplied entity tags matches resource.'' | ||
|- | |- | ||
! scope="row" align="left"| If-Match <small><em>(optional)</em></small> | ! scope="row" align="left"| If-Match <small><em>(optional)</em></small> | ||
| ''Only process request if any supplied entity tags matches resource.'' | | ''Only process request if any supplied entity tags matches resource.'' | ||
|} | |||
===== Request Schemas ===== | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">replaceCategoryItems</code> | |||
|- | |||
|- | |||
! scope="row" align="left"| items <small><em>(optional)</em></small> | |||
| | |||
array | |||
|- | |||
! scope="row" align="left"| links <small><em>(optional)</em></small> | |||
| | |||
array | |||
|} | |} | ||
===== Status Codes ===== | ===== Status Codes ===== | ||
====== CategoryItems- | ====== <div id="CategoryItems-PUT-201">201</div> ====== | ||
Description | Description | ||
* '''Category items | * '''Category items replaced''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">categoryItemsReplaceResponse</code> | ||
|- | |- | ||
|- | |- | ||
Line 5,835: | Line 6,002: | ||
| | | | ||
|} | |} | ||
|- | |||
! scope="row" align="left"| _attachments_removed | |||
| | |||
|- | |||
! scope="row" align="left"| _linked_ids | |||
| | |||
|- | |||
! scope="row" align="left"| _active_gestures_removed | |||
| | |||
|- | |||
! scope="row" align="left"| _broken_links_removed | |||
| | |||
|- | |||
! scope="row" align="left"| _created_items | |||
| | |||
|- | |||
! scope="row" align="left"| _wearables_removed | |||
| | |||
|- | |- | ||
! scope="row" align="left"| _updated_items | ! scope="row" align="left"| _updated_items | ||
| | |||
|- | |||
! scope="row" align="left"| _category_items_removed | |||
| | | | ||
|- | |- | ||
Line 5,850: | Line 6,038: | ||
|- | |- | ||
! scope="row" align="left"| Location | ! scope="row" align="left"| Location | ||
| ''The URL of the | | ''The URL of the replaced category items.'' | ||
|} | |} | ||
====== CategoryItems- | ====== <div id="CategoryItems-PUT-404">404</div> ====== | ||
Description | Description | ||
* ''' | * '''Category not found''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 5,884: | Line 6,072: | ||
integer | integer | ||
|} | |} | ||
====== CategoryItems- | ====== <div id="CategoryItems-PUT-412">412</div> ====== | ||
Description | Description | ||
* ''' | * '''Precondition failed''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorPreconditionFailed</code> | ||
|- | |- | ||
|- | |- | ||
Line 5,908: | Line 6,096: | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| etags | |||
! scope="row" align="left"| etags | |||
| | | | ||
array | array | ||
Line 5,958: | Line 6,118: | ||
! scope="row" align="left"| ETag | ! scope="row" align="left"| ETag | ||
| ''Current value of the entity tag for the requested variant.'' | | ''Current value of the entity tag for the requested variant.'' | ||
|} | |} | ||
<hr> | <hr> | ||
==== CategoryItems-COPY ==== | ==== <div id="CategoryItems-COPY">COPY</div> ==== | ||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #B94A48; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">NONE</code>''' | |||
Description | Description | ||
* '''Copy category items''' | * '''Copy category items''' | ||
Line 6,009: | Line 6,139: | ||
|} | |} | ||
===== Status Codes ===== | ===== Status Codes ===== | ||
====== CategoryItems-COPY-201 ====== | ====== <div id="CategoryItems-COPY-201">201</div> ====== | ||
Description | Description | ||
* '''Category items copied successfully''' | * '''Category items copied successfully''' | ||
Line 6,196: | Line 6,326: | ||
| ''The URL of the copied inventory.'' | | ''The URL of the copied inventory.'' | ||
|} | |} | ||
====== CategoryItems-COPY- | ====== <div id="CategoryItems-COPY-403">403</div> ====== | ||
Description | Description | ||
* ''' | * '''Permissions check failed.''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorInvalidPermissions</code> | ||
|- | |- | ||
|- | |- | ||
Line 6,219: | Line 6,349: | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| error_code | ! scope="row" align="left"| error_code | ||
Line 6,228: | Line 6,354: | ||
integer | integer | ||
|} | |} | ||
====== CategoryItems-COPY-404 ====== | ====== <div id="CategoryItems-COPY-404">404</div> ====== | ||
Description | Description | ||
* '''Destination category not found.''' | * '''Destination category not found.''' | ||
Line 6,260: | Line 6,386: | ||
integer | integer | ||
|} | |} | ||
====== CategoryItems-COPY- | ====== <div id="CategoryItems-COPY-410">410</div> ====== | ||
Description | Description | ||
* ''' | * '''Source category gone''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryGone</code> | ||
|- | |- | ||
|- | |- | ||
Line 6,283: | Line 6,409: | ||
| | | | ||
string | string | ||
|- | |||
! scope="row" align="left"| category_id <small><em>(optional)</em></small> | |||
| | |||
uuid | |||
|- | |- | ||
! scope="row" align="left"| error_code | ! scope="row" align="left"| error_code | ||
Line 6,288: | Line 6,418: | ||
integer | integer | ||
|} | |} | ||
====== CategoryItems-COPY-412 ====== | ====== <div id="CategoryItems-COPY-412">412</div> ====== | ||
Description | Description | ||
* '''Precondition failed''' | * '''Precondition failed''' | ||
Line 6,336: | Line 6,466: | ||
|} | |} | ||
<hr> | <hr> | ||
==== CategoryItems- | ==== <div id="CategoryItems-MOVE">MOVE</div> ==== | ||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #B94A48; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">NONE</code>''' | |||
Description | Description | ||
* ''' | * '''Move category items''' | ||
===== Request Headers ===== | ===== Request Headers ===== | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 6,345: | Line 6,477: | ||
! scope="row" align="left"| If-None-Match <small><em>(optional)</em></small> | ! scope="row" align="left"| If-None-Match <small><em>(optional)</em></small> | ||
| ''Only process request if none of the supplied entity tags matches resource.'' | | ''Only process request if none of the supplied entity tags matches resource.'' | ||
|- | |||
! scope="row" align="left"| Destination | |||
| ''Destination category_id.'' | |||
|- | |- | ||
! scope="row" align="left"| If-Match <small><em>(optional)</em></small> | ! scope="row" align="left"| If-Match <small><em>(optional)</em></small> | ||
Line 6,350: | Line 6,485: | ||
|} | |} | ||
===== Status Codes ===== | ===== Status Codes ===== | ||
====== CategoryItems- | ====== <div id="CategoryItems-MOVE-200">200</div> ====== | ||
Description | Description | ||
* '''Category items | * '''Category items moved successfully''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">categoryItemsMoveResponse</code> | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _links | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| self | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category <small><em>(optional)</em></small> | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| links | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| items | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| name <small><em>(optional)</em></small> | |||
! scope="row" align="left"| | |||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| self | ! scope="row" align="left"| self | ||
Line 6,486: | Line 6,589: | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| children | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 6,499: | Line 6,602: | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| categories <small><em>(optional)</em></small> | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 6,510: | Line 6,613: | ||
! scope="row" align="left"| name <small><em>(optional)</em></small> | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _base_uri | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| name | |||
! scope="row" align="left"| | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| type_default | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| version | |||
| | |||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| agent_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _embedded | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| items | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| links | ||
| | | | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _updated_items | ||
| | |||
|- | |||
! scope="row" align="left"| _updated_category_versions | |||
| | | | ||
|} | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+Response Headers | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| ETag | ||
| | | ''Current value of the entity tag for the requested variant.'' | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| Location | ||
| | | ''The URL of the moved inventory.'' | ||
|} | |} | ||
====== <div id="CategoryItems-MOVE-403">403</div> ====== | |||
Description | |||
* '''Permissions check failed.''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorInvalidPermissions</code> | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_function <small><em>(optional)</em></small> | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | integer | ||
|} | |} | ||
====== <div id="CategoryItems-MOVE-404">404</div> ====== | |||
====== CategoryItems- | |||
Description | Description | ||
* ''' | * '''Destination category not found.''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 6,670: | Line 6,732: | ||
integer | integer | ||
|} | |} | ||
====== CategoryItems- | ====== <div id="CategoryItems-MOVE-410">410</div> ====== | ||
Description | Description | ||
* ''' | * '''Source category gone''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+ | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryGone</code> | ||
|- | |||
|- | |||
! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | |||
| | |||
integer | |||
|- | |||
! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | |||
| | |||
string | |||
|- | |||
! scope="row" align="left"| error_description | |||
| | |||
string | |||
|- | |||
! scope="row" align="left"| error_function <small><em>(optional)</em></small> | |||
| | |||
string | |||
|- | |- | ||
! scope="row" align="left"| category_id <small><em>(optional)</em></small> | |||
| | |||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | |||
|} | |} | ||
====== CategoryItems- | ====== <div id="CategoryItems-MOVE-412">412</div> ====== | ||
Description | Description | ||
* '''Precondition failed''' | * '''Precondition failed''' | ||
Line 6,730: | Line 6,812: | ||
|} | |} | ||
<hr> | <hr> | ||
=== | ==== <div id="CategoryItems-DELETE">DELETE</div> ==== | ||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #468847; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">COMPLETE</code>''' | |||
Description | Description | ||
* ''' | * '''Delete category items''' | ||
===== Request Headers ===== | ===== Request Headers ===== | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 6,759: | Line 6,827: | ||
| ''Only process request if any supplied entity tags matches resource.'' | | ''Only process request if any supplied entity tags matches resource.'' | ||
|} | |} | ||
===== Status Codes ===== | ===== Status Codes ===== | ||
====== | ====== <div id="CategoryItems-DELETE-200">200</div> ====== | ||
Description | Description | ||
* '''Category | * '''Category items deleted successfully''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">categoryItemsDeleteResponse</code> | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _attachments_removed | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| _active_gestures_removed | |||
| | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _broken_links_removed | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| _wearables_removed | |||
| | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _category_items_removed | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _updated_category_versions | ||
| | | | ||
|} | |} | ||
====== <div id="CategoryItems-DELETE-410">410</div> ====== | |||
Description | |||
* '''Category gone''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryGone</code> | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| error_function <small><em>(optional)</em></small> | |||
! scope="row" align="left"| | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category_id <small><em>(optional)</em></small> | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | |||
|} | |||
====== <div id="CategoryItems-DELETE-412">412</div> ====== | |||
Description | |||
* '''Precondition failed''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorPreconditionFailed</code> | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | |||
| | |||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_function <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| etags | |||
| | |||
array | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| etag | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| condition | ||
| | |||
string | |||
|} | |||
{| class="lltable" border=1 | |||
|+Response Headers | |||
|- | |||
|- | |||
! scope="row" align="left"| ETag | |||
| ''Current value of the entity tag for the requested variant.'' | |||
|} | |||
<hr> | |||
=== CategoryCategories === | |||
Description | |||
* '''Categories in an inventory category.''' | |||
Path: | |||
* ''/category/''<code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{category}</code>''/categories''<code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{?tid,depth,simulate}</code> | |||
==== Parameters ==== | |||
* <code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">category</code> → Category UUID or 'special' category name, e.g. "current". | |||
** Validation: <code 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}$</code> | |||
** Validation: <code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(animatn|bodypart|clothing|current|favorite|gesture|inbox|landmark|lsltext)$</code> | |||
** Validation: <code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(lstndfnd|my_otfts|notecard|object|outbox|root|snapshot|sound|texture|trash)$</code> | |||
* <code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">tid</code> → Transaction ID. | |||
* <code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">depth</code> → Category child depth to retrieve. | |||
** Validation: <code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(\*|[0-9]+)?$</code> | |||
* <code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">simulate</code> → Whether or not to skip writing back results. | |||
** Validation: <code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(0|1|true|false)?$</code> | |||
<hr> | |||
==== <div id="CategoryCategories-GET">GET</div> ==== | |||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #468847; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">COMPLETE</code>''' | |||
Description | |||
* '''Retrieve categories in a category''' | |||
===== Request Headers ===== | |||
{| class="lltable" border=1 | |||
|- | |||
|- | |||
! scope="row" align="left"| If-None-Match <small><em>(optional)</em></small> | |||
| ''Only process request if none of the supplied entity tags matches resource.'' | |||
|- | |||
! scope="row" align="left"| If-Match <small><em>(optional)</em></small> | |||
| ''Only process request if any supplied entity tags matches resource.'' | |||
|} | |||
===== Status Codes ===== | |||
====== <div id="CategoryCategories-GET-200">200</div> ====== | |||
Description | |||
* '''Category categories retrieved successfully''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">categoryCategoriesResponse</code> | |||
|- | |||
|- | |||
! scope="row" align="left"| _links | |||
| | |||
{| class="lltable" border=1 | |||
|- | |||
|- | |||
! scope="row" align="left"| self | |||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 6,853: | Line 6,992: | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 6,866: | Line 7,005: | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category <small><em>(optional)</em></small> | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 6,879: | Line 7,018: | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 6,890: | Line 7,029: | ||
! scope="row" align="left"| name <small><em>(optional)</em></small> | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| links | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| items | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| self | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| children | ||
| | | | ||
| | {| class="lltable" border=1 | ||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| categories <small><em>(optional)</em></small> | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _base_uri | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| type_default | ||
| | |||
integer | |||
|- | |||
! scope="row" align="left"| parent_id | |||
| | |||
uuid | |||
|- | |||
! scope="row" align="left"| version | |||
| | |||
integer | |||
|- | |||
! scope="row" align="left"| agent_id | |||
| | |||
uuid | |||
|- | |||
! scope="row" align="left"| category_id | |||
| | |||
uuid | |||
|- | |||
! scope="row" align="left"| _embedded | |||
| | |||
{| class="lltable" border=1 | |||
|- | |||
|- | |||
! scope="row" align="left"| categories | |||
| | | | ||
|} | |||
|} | |} | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 6,970: | Line 7,140: | ||
! scope="row" align="left"| ETag | ! scope="row" align="left"| ETag | ||
| ''Current value of the entity tag for the requested variant.'' | | ''Current value of the entity tag for the requested variant.'' | ||
|} | |||
====== <div id="CategoryCategories-GET-304">304</div> ====== | |||
Description | |||
* '''Not modified''' | |||
Response Schemas: | |||
string | |||
{| class="lltable" border=1 | |||
|+Response Headers | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| ETag | ||
| '' | | ''Current value of the entity tag for the requested variant.'' | ||
|} | |} | ||
====== CategoryCategories- | ====== <div id="CategoryCategories-GET-404">404</div> ====== | ||
Description | Description | ||
* '''Category not found''' | * '''Category not found''' | ||
Line 7,006: | Line 7,185: | ||
integer | integer | ||
|} | |} | ||
====== CategoryCategories- | ====== <div id="CategoryCategories-GET-412">412</div> ====== | ||
Description | Description | ||
* '''Precondition failed''' | * '''Precondition failed''' | ||
Line 7,054: | Line 7,233: | ||
|} | |} | ||
<hr> | <hr> | ||
==== CategoryCategories- | ==== <div id="CategoryCategories-PUT">PUT</div> ==== | ||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #B94A48; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">NONE</code>''' | |||
Description | Description | ||
* ''' | * '''Replace category categories.''' | ||
===== Request Headers ===== | ===== Request Headers ===== | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 7,063: | Line 7,244: | ||
! scope="row" align="left"| If-None-Match <small><em>(optional)</em></small> | ! scope="row" align="left"| If-None-Match <small><em>(optional)</em></small> | ||
| ''Only process request if none of the supplied entity tags matches resource.'' | | ''Only process request if none of the supplied entity tags matches resource.'' | ||
|- | |- | ||
! scope="row" align="left"| If-Match <small><em>(optional)</em></small> | ! scope="row" align="left"| If-Match <small><em>(optional)</em></small> | ||
| ''Only process request if any supplied entity tags matches resource.'' | | ''Only process request if any supplied entity tags matches resource.'' | ||
|} | |} | ||
===== Request Schemas ===== | |||
array | |||
===== Status Codes ===== | ===== Status Codes ===== | ||
====== CategoryCategories- | ====== <div id="CategoryCategories-PUT-201">201</div> ====== | ||
Description | Description | ||
* '''Category categories | * '''Category categories replaced''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">categoryChildrenReplaceResponse</code> | ||
|- | |- | ||
|- | |- | ||
Line 7,235: | Line 7,415: | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| items | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| links | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| categories | ||
| | | | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| _attachments_removed | |||
| | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _active_gestures_removed | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _broken_links_removed | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| _total_items_removed | |||
! scope="row" align="left"| | |||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _created_items | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _wearables_removed | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _created_categories | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _categories_removed | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _updated_category_versions | ||
| | | | ||
|} | |} | ||
====== CategoryCategories- | {| class="lltable" border=1 | ||
|+Response Headers | |||
|- | |||
|- | |||
! scope="row" align="left"| ETag | |||
| ''Current value of the entity tag for the requested variant.'' | |||
|- | |||
! scope="row" align="left"| Location | |||
| ''The URL of the replaced category categories.'' | |||
|} | |||
====== <div id="CategoryCategories-PUT-404">404</div> ====== | |||
Description | Description | ||
* ''' | * '''Category not found''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryNotFound</code> | ||
|- | |- | ||
|- | |- | ||
Line 7,310: | Line 7,486: | ||
| | | | ||
string | string | ||
|- | |||
! scope="row" align="left"| category_id <small><em>(optional)</em></small> | |||
| | |||
uuid | |||
|- | |- | ||
! scope="row" align="left"| error_code | ! scope="row" align="left"| error_code | ||
Line 7,315: | Line 7,495: | ||
integer | integer | ||
|} | |} | ||
====== CategoryCategories- | ====== <div id="CategoryCategories-PUT-412">412</div> ====== | ||
Description | Description | ||
* '''Precondition failed''' | * '''Precondition failed''' | ||
Line 7,362: | Line 7,542: | ||
| ''Current value of the entity tag for the requested variant.'' | | ''Current value of the entity tag for the requested variant.'' | ||
|} | |} | ||
===== | <hr> | ||
==== <div id="CategoryCategories-COPY">COPY</div> ==== | |||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #B94A48; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">NONE</code>''' | |||
Description | Description | ||
* | * '''Copy category categories''' | ||
===== Request Headers ===== | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| If-None-Match <small><em>(optional)</em></small> | ||
| | | ''Only process request if none of the supplied entity tags matches resource.'' | ||
|- | |- | ||
! scope="row" align="left"| Destination | |||
! scope="row" align="left"| Destination | |||
| ''Destination category_id or 'special' category.'' | | ''Destination category_id or 'special' category.'' | ||
|- | |- | ||
Line 7,412: | Line 7,562: | ||
|} | |} | ||
===== Status Codes ===== | ===== Status Codes ===== | ||
====== CategoryCategories-COPY-201 ====== | ====== <div id="CategoryCategories-COPY-201">201</div> ====== | ||
Description | Description | ||
* '''Category categories copied successfully''' | * '''Category categories copied successfully''' | ||
Line 7,615: | Line 7,765: | ||
| ''The URL of the copied inventory.'' | | ''The URL of the copied inventory.'' | ||
|} | |} | ||
====== CategoryCategories-COPY- | ====== <div id="CategoryCategories-COPY-403">403</div> ====== | ||
Description | Description | ||
* ''' | * '''Permissions check failed.''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorInvalidPermissions</code> | ||
|- | |- | ||
|- | |- | ||
Line 7,638: | Line 7,788: | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| error_code | ! scope="row" align="left"| error_code | ||
Line 7,647: | Line 7,793: | ||
integer | integer | ||
|} | |} | ||
====== CategoryCategories-COPY-404 ====== | ====== <div id="CategoryCategories-COPY-404">404</div> ====== | ||
Description | Description | ||
* '''Destination category not found.''' | * '''Destination category not found.''' | ||
Line 7,679: | Line 7,825: | ||
integer | integer | ||
|} | |} | ||
====== CategoryCategories-COPY- | ====== <div id="CategoryCategories-COPY-410">410</div> ====== | ||
Description | Description | ||
* ''' | * '''Source category gone''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryGone</code> | ||
|- | |- | ||
|- | |- | ||
Line 7,702: | Line 7,848: | ||
| | | | ||
string | string | ||
|- | |||
! scope="row" align="left"| category_id <small><em>(optional)</em></small> | |||
| | |||
uuid | |||
|- | |- | ||
! scope="row" align="left"| error_code | ! scope="row" align="left"| error_code | ||
Line 7,707: | Line 7,857: | ||
integer | integer | ||
|} | |} | ||
====== CategoryCategories-COPY-412 ====== | ====== <div id="CategoryCategories-COPY-412">412</div> ====== | ||
Description | Description | ||
* '''Precondition failed''' | * '''Precondition failed''' | ||
Line 7,755: | Line 7,905: | ||
|} | |} | ||
<hr> | <hr> | ||
==== CategoryCategories- | ==== <div id="CategoryCategories-MOVE">MOVE</div> ==== | ||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #B94A48; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">NONE</code>''' | |||
Description | Description | ||
* ''' | * '''Move category categories''' | ||
===== Request Headers ===== | ===== Request Headers ===== | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 7,764: | Line 7,916: | ||
! scope="row" align="left"| If-None-Match <small><em>(optional)</em></small> | ! scope="row" align="left"| If-None-Match <small><em>(optional)</em></small> | ||
| ''Only process request if none of the supplied entity tags matches resource.'' | | ''Only process request if none of the supplied entity tags matches resource.'' | ||
|- | |||
! scope="row" align="left"| Destination | |||
| ''Destination category_id.'' | |||
|- | |- | ||
! scope="row" align="left"| If-Match <small><em>(optional)</em></small> | ! scope="row" align="left"| If-Match <small><em>(optional)</em></small> | ||
Line 7,769: | Line 7,924: | ||
|} | |} | ||
===== Status Codes ===== | ===== Status Codes ===== | ||
====== CategoryCategories- | ====== <div id="CategoryCategories-MOVE-200">200</div> ====== | ||
Description | Description | ||
* '''Category categories | * '''Category categories moved successfully''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">categoryCategoriesMoveResponse</code> | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _links | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| self | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category <small><em>(optional)</em></small> | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| links | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| items | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
{| class="lltable" border=1 | |||
| | |||
|- | |- | ||
! scope="row" align="left"| href | |||
| | |||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| self | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| children | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| categories <small><em>(optional)</em></small> | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |||
! scope="row" align="left"| name <small><em>(optional)</em></small> | |||
| | |||
|} | |||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| _base_uri | |||
| | |||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| type_default | |||
| | |||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| version | |||
! scope="row" align="left"| | |||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| agent_id | |||
! scope="row" align="left"| | |||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _embedded | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| categories | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _updated_categories | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _updated_category_versions | ||
| | | | ||
|} | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+Response Headers | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| ETag | ||
| | | ''Current value of the entity tag for the requested variant.'' | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| Location | ||
| | | ''The URL of the moved inventory.'' | ||
|} | |} | ||
====== <div id="CategoryCategories-MOVE-403">403</div> ====== | |||
Description | |||
* '''Permissions check failed.''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorInvalidPermissions</code> | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| error_function <small><em>(optional)</em></small> | |||
! scope="row" align="left"| | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | |||
|} | |} | ||
====== <div id="CategoryCategories-MOVE-404">404</div> ====== | |||
Description | |||
* '''Destination category not found.''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryNotFound</code> | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| error_function <small><em>(optional)</em></small> | |||
! scope="row" align="left"| | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category_id <small><em>(optional)</em></small> | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | |||
|} | |||
====== <div id="CategoryCategories-MOVE-410">410</div> ====== | |||
Description | |||
* '''Source category gone''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryGone</code> | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | |||
integer | |||
|- | |||
! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_function <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| category_id <small><em>(optional)</em></small> | |||
! scope="row" align="left"| | |||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | |||
|} | |} | ||
| | ====== <div id="CategoryCategories-MOVE-412">412</div> ====== | ||
Description | |||
* '''Precondition failed''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorPreconditionFailed</code> | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_function <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| etags | ||
| | | | ||
array | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| etag | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| condition | ||
| | | | ||
string | |||
|} | |} | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
Line 8,096: | Line 8,247: | ||
| ''Current value of the entity tag for the requested variant.'' | | ''Current value of the entity tag for the requested variant.'' | ||
|} | |} | ||
===== | <hr> | ||
==== <div id="CategoryCategories-DELETE">DELETE</div> ==== | |||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #468847; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">COMPLETE</code>''' | |||
Description | Description | ||
* | * '''Delete category categories''' | ||
===== Request Headers ===== | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| If-None-Match <small><em>(optional)</em></small> | ||
| | | ''Only process request if none of the supplied entity tags matches resource.'' | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| If-Match <small><em>(optional)</em></small> | ||
| ''Only process request if any supplied entity tags matches resource.'' | |||
| | |||
|} | |} | ||
====== CategoryCategories- | ===== Status Codes ===== | ||
====== <div id="CategoryCategories-DELETE-200">200</div> ====== | |||
Description | Description | ||
* ''' | * '''Category categories deleted successfully''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+ | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">categoryDeleteResponse</code> | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _update_result <small><em>(optional)</em></small> | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| server_response <small><em>(optional)</em></small> | ||
| | |||
string | |||
|- | |||
! scope="row" align="left"| fault_code <small><em>(optional)</em></small> | |||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| code | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| message | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| success | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _attachments_removed | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _active_gestures_removed | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _broken_links_removed | ||
| | |||
|- | |||
! scope="row" align="left"| _total_items_removed | |||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _wearables_removed | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| _category_items_removed | |||
| | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _categories_removed | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| _updated_category_versions | |||
! scope="row" align="left"| | | | ||
| | |||
|} | |} | ||
===== | ====== <div id="CategoryCategories-DELETE-410">410</div> ====== | ||
Description | Description | ||
* ''' | * '''Category gone''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryGone</code> | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_function <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| category_id <small><em>(optional)</em></small> | |||
! scope="row" align="left"| | |||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | integer | ||
|} | |} | ||
====== <div id="CategoryCategories-DELETE-412">412</div> ====== | |||
Description | |||
* '''Precondition failed''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorPreconditionFailed</code> | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_function <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| etags | ||
| | | | ||
array | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| etag | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| condition | ||
| | | | ||
string | |||
|} | |||
{| class="lltable" border=1 | |||
|+Response Headers | |||
|- | |- | ||
! scope="row" align="left"| | |- | ||
! scope="row" align="left"| ETag | |||
| ''Current value of the entity tag for the requested variant.'' | |||
|} | |||
<hr> | |||
=== Item === | |||
Description | |||
* '''An inventory item.''' | |||
Path: | |||
* ''/item/''<code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{item}</code><code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">{?tid,simulate}</code> | |||
==== Parameters ==== | |||
* <code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">tid</code> → Transaction ID. | |||
* <code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">item</code> → Item UUID | |||
** Validation: <code 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}$</code> | |||
* <code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">simulate</code> → Whether or not to skip writing back results. | |||
** Validation: <code style="border: 1px solid #E1E1E8; color: #DD1144; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">^(0|1|true|false)?$</code> | |||
<hr> | |||
==== <div id="Item-GET">GET</div> ==== | |||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #468847; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">COMPLETE</code>''' | |||
Description | |||
* '''Retrieve an item''' | |||
===== Status Codes ===== | |||
====== <div id="Item-GET-200">200</div> ====== | |||
Description | |||
* '''Item retrieved successfully''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">itemResponse</code> | |||
|- | |||
|- | |||
! scope="row" align="left"| _links | |||
| | | | ||
{| class="lltable" border=1 | |||
| | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| self | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| name | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _base_uri | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| asset_id | ||
| | | | ||
uuid | uuid | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| inv_type | ||
| | | | ||
integer | |||
|- | |||
! scope="row" align="left"| name | |||
| | |||
string | |||
|- | |||
! scope="row" align="left"| sale_info | |||
| | |||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| sale_price | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| sale_type | ||
| | | | ||
integer | integer | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| created_at | ||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent_id <small><em>(optional)</em></small> | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| flags | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| agent_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| item_id | |||
| | |||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| permissions | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| base_mask | ||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| group_mask | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| last_owner_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| owner_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| creator_id | ||
| | | | ||
uuid | uuid | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| next_owner_mask | ||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| owner_mask | |||
! scope="row" align="left"| | |||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| group_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| everyone_mask | ||
| | | | ||
integer | integer | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| type | |||
! scope="row" align="left"| | |||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| desc | ||
| | | | ||
string | string | ||
|} | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">linkResponse</code> | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _base_uri | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _links | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| item | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| name <small><em>(optional)</em></small> | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| self | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _embedded | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| item | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| asset_id | ||
| | | | ||
uuid | uuid | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| inv_type | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| sale_info | |||
! scope="row" align="left"| | |||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| sale_price | |||
! scope="row" align="left"| sale_price | |||
| | | | ||
integer | integer | ||
Line 8,687: | Line 8,732: | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _links | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| self | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|} | |||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| type_default | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| parent_id | |||
| | |||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| version | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| agent_id | |||
! scope="row" align="left"| | |||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _links | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| self | ! scope="row" align="left"| self | ||
Line 8,781: | Line 8,823: | ||
! scope="row" align="left"| name <small><em>(optional)</em></small> | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|} | |||
|} | |} | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _broken | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| linked_id | |||
| | |||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| created_at | |||
| | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent_id | ||
| | | | ||
uuid | uuid | ||
|- | |- | ||
! scope="row" align="left"| inv_type | ! scope="row" align="left"| agent_id | ||
| | |||
uuid | |||
|- | |||
! scope="row" align="left"| item_id | |||
| | |||
uuid | |||
|- | |||
! scope="row" align="left"| inv_type | |||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| type | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| desc | ||
| | | | ||
string | |||
|} | |||
====== <div id="Item-GET-404">404</div> ====== | |||
Description | |||
* '''Item not found''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorItemNotFound</code> | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | ||
| | |||
string | |||
|- | |||
! scope="row" align="left"| error_description | |||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_function <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| item_id <small><em>(optional)</em></small> | ||
| | | | ||
uuid | uuid | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | integer | ||
|} | |||
<hr> | |||
==== <div id="Item-PATCH">PATCH</div> ==== | |||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #468847; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">COMPLETE</code>''' | |||
Description | |||
* '''Modify an item''' | |||
===== Request Schemas ===== | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">modifyItem</code> | |||
|- | |- | ||
! scope="row" align="left"| | |- | ||
! scope="row" align="left"| asset_id <small><em>(optional)</em></small> | |||
| | | | ||
uuid | uuid | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| sale_info <small><em>(optional)</em></small> | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| sale_price <small><em>(optional)</em></small> | ||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| sale_type <small><em>(optional)</em></small> | ||
| | | | ||
integer | integer | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| flags <small><em>(optional)</em></small> | ||
| | |||
integer | |||
|- | |||
! scope="row" align="left"| desc <small><em>(optional)</em></small> | |||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| hash_id <small><em>(optional)</em></small> | ||
| | | | ||
uuid | uuid | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| permissions <small><em>(optional)</em></small> | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| owner_mask <small><em>(optional)</em></small> | ||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| everyone_mask <small><em>(optional)</em></small> | ||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| next_owner_mask <small><em>(optional)</em></small> | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| group_mask <small><em>(optional)</em></small> | ||
| | | | ||
integer | integer | ||
|} | |} | ||
|} | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">modifyLink</code> | |||
|- | |||
|- | |||
! scope="row" align="left"| linked_id <small><em>(optional)</em></small> | |||
| | |||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| desc | ! scope="row" align="left"| desc <small><em>(optional)</em></small> | ||
| | | | ||
string | string | ||
|} | |||
===== Status Codes ===== | |||
====== <div id="Item-PATCH-200">200</div> ====== | |||
Description | |||
* '''Item modified successfully''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">itemModifyResponse</code> | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| _links | ! scope="row" align="left"| _links | ||
Line 8,919: | Line 9,019: | ||
! scope="row" align="left"| name <small><em>(optional)</em></small> | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |} | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _base_uri | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| asset_id | |||
! scope="row" align="left"| | |||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| inv_type | ||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| sale_info | ||
| | |||
{| class="lltable" border=1 | |||
|- | |||
|- | |||
! scope="row" align="left"| sale_price | |||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| sale_type | ||
| | | | ||
integer | |||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| created_at | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent_id <small><em>(optional)</em></small> | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| flags | |||
! scope="row" align="left"| | |||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| agent_id | |||
! scope="row" align="left"| | |||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| item_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| permissions | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| base_mask | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| group_mask | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| last_owner_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| owner_id | ||
| | | | ||
uuid | uuid | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| creator_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| next_owner_mask | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| owner_mask | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| group_id | ||
| | | | ||
uuid | uuid | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| everyone_mask | ||
| | | | ||
integer | integer | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| type | ! scope="row" align="left"| type | ||
Line 9,055: | Line 9,153: | ||
| | | | ||
|} | |} | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">linkModifyResponse</code> | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _base_uri | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _links | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| item | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| self | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | |||
string | |||
|- | |||
! scope="row" align="left"| name <small><em>(optional)</em></small> | |||
| | | | ||
|} | |||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _embedded | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| item | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| asset_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| inv_type | ||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| sale_info | ||
| | |||
{| class="lltable" border=1 | |||
|- | |||
|- | |||
! scope="row" align="left"| sale_price | |||
| | |||
integer | |||
|- | |||
! scope="row" align="left"| sale_type | |||
| | | | ||
integer | |||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| created_at | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent_id <small><em>(optional)</em></small> | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| flags | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| agent_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| item_id | ||
| | |||
uuid | |||
|- | |||
! scope="row" align="left"| permissions | |||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| base_mask | ||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| group_mask | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| last_owner_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| owner_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| creator_id | ||
| | | | ||
uuid | uuid | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| next_owner_mask | ||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| owner_mask | |||
| | |||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| group_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| everyone_mask | |||
! scope="row" align="left"| | |||
| | | | ||
integer | |||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| type | ||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| desc | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _links | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| self | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|} | |||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| type_default | ||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent_id | ||
| | | | ||
uuid | uuid | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| version | ||
| | |||
integer | |||
|- | |||
! scope="row" align="left"| agent_id | |||
| | | | ||
uuid | uuid | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category_id | ||
| | | | ||
uuid | uuid | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _links | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| self | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent | ||
| | | | ||
{| class="lltable" border=1 | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| href | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name <small><em>(optional)</em></small> | ||
| | | | ||
|} | |||
|} | |||
|} | |||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _broken | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| linked_id | ! scope="row" align="left"| linked_id | ||
Line 9,368: | Line 9,459: | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _updated_items | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _update_result <small><em>(optional)</em></small> | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| server_response <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |||
! scope="row" align="left"| fault_code <small><em>(optional)</em></small> | |||
| | |||
integer | |||
|- | |||
! scope="row" align="left"| code | |||
| | |||
integer | |||
|- | |||
! scope="row" align="left"| message | |||
| | |||
string | |||
|- | |||
! scope="row" align="left"| success | |||
| | |||
|} | |||
|- | |||
! scope="row" align="left"| _updated_category_versions | |||
| | |||
|} | |} | ||
====== Item- | ====== <div id="Item-PATCH-400">400</div> ====== | ||
Description | Description | ||
* ''' | * '''Invalid request''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorInvalidItemRequest</code> | ||
|- | |- | ||
|- | |- | ||
Line 9,405: | Line 9,514: | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| item_id | ! scope="row" align="left"| item_id <small><em>(optional)</em></small> | ||
| | | | ||
uuid | uuid | ||
Line 9,413: | Line 9,522: | ||
integer | integer | ||
|} | |} | ||
====== Item- | ====== <div id="Item-PATCH-404">404</div> ====== | ||
Description | Description | ||
* ''' | * '''Item not found''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorItemNotFound</code> | ||
|- | |- | ||
|- | |- | ||
Line 9,437: | Line 9,546: | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| item_id <small><em>(optional)</em></small> | ||
| | | | ||
uuid | uuid | ||
Line 9,445: | Line 9,554: | ||
integer | integer | ||
|} | |} | ||
===== | <hr> | ||
==== <div id="Item-COPY">COPY</div> ==== | |||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #B94A48; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">NONE</code>''' | |||
Description | Description | ||
* | * '''Copy an item''' | ||
===== Request Headers ===== | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| Destination | ||
| | | ''Destination category_id or 'special' category.'' | ||
|} | |} | ||
===== Status Codes ===== | ===== Status Codes ===== | ||
====== Item- | ====== <div id="Item-COPY-201">201</div> ====== | ||
Description | Description | ||
* '''Item | * '''Item copied successfully''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">itemCopyResponse</code> | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| asset_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| inv_type | |||
! scope="row" align="left"| | |||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| name | |||
! scope="row" align="left"| | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| sale_info | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| sale_price | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| sale_type | ||
| | | | ||
integer | |||
|} | |} | ||
|- | |- | ||
! scope="row" align="left"| created_at | |||
! scope="row" align="left"| created_at | |||
| | | | ||
integer | integer | ||
Line 9,617: | Line 9,671: | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| _created_items | |||
! scope="row" align="left"| | |||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _updated_category_versions | ||
| | | | ||
|} | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">linkCopyResponse</code> | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| linked_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| name | |||
! scope="row" align="left"| | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| created_at | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| agent_id | |||
| | |||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| item_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| inv_type | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| type | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| desc | |||
! scope="row" align="left"| | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _created_items | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _updated_category_versions | ||
| | | | ||
|} | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+Response Headers | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| Location | ||
| ''The URL of the copied inventory.'' | |||
| | |||
|} | |} | ||
====== <div id="Item-COPY-403">403</div> ====== | |||
Description | |||
* '''Permissions check failed.''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorInvalidPermissions</code> | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | |||
! scope="row" align="left"| | |||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_function <small><em>(optional)</em></small> | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | |||
|} | |||
====== <div id="Item-COPY-404">404</div> ====== | |||
Description | |||
* '''Destination category not found.''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryNotFound</code> | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_function <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| category_id <small><em>(optional)</em></small> | ||
| | | | ||
uuid | uuid | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | |||
|} | |||
====== <div id="Item-COPY-410">410</div> ====== | |||
Description | |||
* '''Source item gone''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorItemGone</code> | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_description | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_function <small><em>(optional)</em></small> | ||
| | | | ||
string | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| item_id | ||
| | | | ||
uuid | uuid | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| error_code | ||
| | | | ||
integer | integer | ||
|} | |||
<hr> | |||
==== <div id="Item-MOVE">MOVE</div> ==== | |||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #B94A48; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">NONE</code>''' | |||
Description | |||
* '''Move an item''' | |||
===== Request Headers ===== | |||
{| class="lltable" border=1 | |||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| Destination | ||
| | | ''Destination category_id or 'special' category.'' | ||
|} | |||
===== Status Codes ===== | |||
====== <div id="Item-MOVE-200">200</div> ====== | |||
Description | |||
* '''Item moved successfully''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">itemMoveResponse</code> | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| asset_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| inv_type | ||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| sale_info | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| sale_price | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| sale_type | |||
| | |||
integer | |||
|} | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| created_at | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| parent_id <small><em>(optional)</em></small> | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| flags | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| agent_id | |||
! scope="row" align="left"| | |||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| item_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| permissions | ||
| | | | ||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|- | |- | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| base_mask | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| group_mask | ||
| | | | ||
integer | integer | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| last_owner_id | ||
| | | | ||
uuid | uuid | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| owner_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| creator_id | ||
| | | | ||
uuid | uuid | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| next_owner_mask | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| owner_mask | ||
| | | | ||
integer | |||
|- | |- | ||
! scope="row" align="left"| group_id | |||
| | |||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| everyone_mask | ||
| | | | ||
integer | |||
|} | |||
|- | |- | ||
! scope="row" align="left"| type | |||
| | |||
integer | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| desc | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _updated_items | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _updated_category_versions | ||
| | | | ||
|} | |||
{| class="lltable" border=1 | {| class="lltable" border=1 | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">linkMoveResponse</code> | |||
|- | |||
|- | |- | ||
! scope="row" align="left"| linked_id | |||
| | |||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| name | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| created_at | ||
| | |||
|- | |||
! scope="row" align="left"| parent_id | |||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| agent_id | ||
| | | | ||
uuid | |||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| item_id | ||
| | | | ||
uuid | uuid | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| inv_type | ||
| | |||
integer | |||
|- | |||
! scope="row" align="left"| type | |||
| | |||
integer | |||
|- | |||
! scope="row" align="left"| desc | |||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _updated_items | ||
| | | | ||
|- | |- | ||
! scope="row" align="left"| | ! scope="row" align="left"| _updated_category_versions | ||
| | | | ||
uuid | |} | ||
|- | {| class="lltable" border=1 | ||
! scope="row" align="left"| | |+Response Headers | ||
| | |- | ||
|- | |||
|- | ! scope="row" align="left"| Location | ||
! scope="row" align="left"| item_id | | ''The URL of the moved inventory.'' | ||
| | |} | ||
uuid | ====== <div id="Item-MOVE-403">403</div> ====== | ||
|- | Description | ||
! scope="row" align="left"| | * '''Permissions check failed.''' | ||
| | Response Schemas: | ||
integer | {| class="lltable" border=1 | ||
|- | |+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorInvalidPermissions</code> | ||
! scope="row" align="left"| | |- | ||
| | |- | ||
integer | ! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | ||
|- | | | ||
! scope="row" align="left"| | integer | ||
| | |- | ||
string | ! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | ||
|} | | | ||
====== Item- | string | ||
Description | |- | ||
* '''Item | ! scope="row" align="left"| error_description | ||
Response Schemas: | | | ||
{| class="lltable" border=1 | string | ||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;"> | |- | ||
! scope="row" align="left"| error_function <small><em>(optional)</em></small> | |||
| | |||
string | |||
|- | |||
! scope="row" align="left"| error_code | |||
| | |||
integer | |||
|} | |||
====== <div id="Item-MOVE-404">404</div> ====== | |||
Description | |||
* '''Destination category not found.''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorCategoryNotFound</code> | |||
|- | |||
|- | |||
! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | |||
| | |||
integer | |||
|- | |||
! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | |||
| | |||
string | |||
|- | |||
! scope="row" align="left"| error_description | |||
| | |||
string | |||
|- | |||
! scope="row" align="left"| error_function <small><em>(optional)</em></small> | |||
| | |||
string | |||
|- | |||
! scope="row" align="left"| category_id <small><em>(optional)</em></small> | |||
| | |||
uuid | |||
|- | |||
! scope="row" align="left"| error_code | |||
| | |||
integer | |||
|} | |||
====== <div id="Item-MOVE-410">410</div> ====== | |||
Description | |||
* '''Source item gone''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorItemGone</code> | |||
|- | |||
|- | |||
! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | |||
| | |||
integer | |||
|- | |||
! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | |||
| | |||
string | |||
|- | |||
! scope="row" align="left"| error_description | |||
| | |||
string | |||
|- | |||
! scope="row" align="left"| error_function <small><em>(optional)</em></small> | |||
| | |||
string | |||
|- | |||
! scope="row" align="left"| item_id | |||
| | |||
uuid | |||
|- | |||
! scope="row" align="left"| error_code | |||
| | |||
integer | |||
|} | |||
<hr> | |||
==== <div id="Item-DELETE">DELETE</div> ==== | |||
Implementation Status | |||
* '''<code style="border: 1px solid #E1E1E8; color: #468847; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace; padding: 2px 4px;">COMPLETE</code>''' | |||
Description | |||
* '''Delete an item''' | |||
===== Status Codes ===== | |||
====== <div id="Item-DELETE-200">200</div> ====== | |||
Description | |||
* '''Item deleted successfully''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">itemDeleteResponse</code> | |||
|- | |||
|- | |||
! scope="row" align="left"| _attachments_removed | |||
| | |||
|- | |||
! scope="row" align="left"| _update_result <small><em>(optional)</em></small> | |||
| | |||
{| class="lltable" border=1 | |||
|- | |||
|- | |||
! scope="row" align="left"| server_response <small><em>(optional)</em></small> | |||
| | |||
string | |||
|- | |||
! scope="row" align="left"| fault_code <small><em>(optional)</em></small> | |||
| | |||
integer | |||
|- | |||
! scope="row" align="left"| code | |||
| | |||
integer | |||
|- | |||
! scope="row" align="left"| message | |||
| | |||
string | |||
|- | |||
! scope="row" align="left"| success | |||
| | |||
|} | |||
|- | |||
! scope="row" align="left"| _active_gestures_removed | |||
| | |||
|- | |||
! scope="row" align="left"| _broken_links_removed | |||
| | |||
|- | |||
! scope="row" align="left"| _wearables_removed | |||
| | |||
|- | |||
! scope="row" align="left"| _category_items_removed | |||
| | |||
|- | |||
! scope="row" align="left"| _updated_category_versions | |||
| | |||
|} | |||
====== <div id="Item-DELETE-410">410</div> ====== | |||
Description | |||
* '''Item gone''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorItemGone</code> | |||
|- | |||
|- | |||
! scope="row" align="left"| error_line_number <small><em>(optional)</em></small> | |||
| | |||
integer | |||
|- | |||
! scope="row" align="left"| error_filename <small><em>(optional)</em></small> | |||
| | |||
string | |||
|- | |||
! scope="row" align="left"| error_description | |||
| | |||
string | |||
|- | |||
! scope="row" align="left"| error_function <small><em>(optional)</em></small> | |||
| | |||
string | |||
|- | |||
! scope="row" align="left"| item_id | |||
| | |||
uuid | |||
|- | |||
! scope="row" align="left"| error_code | |||
| | |||
integer | |||
|} | |||
== Global Response Status Codes == | |||
=== <div id="Global-400">400</div> === | |||
Description | |||
* '''Invalid request''' | |||
Response Schemas: | |||
{| class="lltable" border=1 | |||
|+<code style="border: 1px solid #E1E1E8; color: #4411DD; background-color: #F7F7F9; font-family: Monaco,Menlo,Consolas,monospace;">errorGeneral</code> | |||
|- | |- | ||
|- | |- | ||
Line 9,947: | Line 10,204: | ||
| | | | ||
string | string | ||
|- | |- | ||
! scope="row" align="left"| error_code | ! scope="row" align="left"| error_code | ||
Line 9,956: | Line 10,209: | ||
integer | integer | ||
|} | |} | ||
= | === <div id="Global-415">415</div> === | ||
=== Global-415 === | |||
Description | Description | ||
* '''Unsupported media type''' | * '''Unsupported media type''' | ||
Line 9,985: | Line 10,237: | ||
integer | integer | ||
|} | |} | ||
=== Global-500 === | === <div id="Global-500">500</div> === | ||
Description | Description | ||
* '''Internal Error''' | * '''Internal Error''' | ||
Response Schemas: | Response Schemas: | ||
{| class="lltable" border=1 | {| class="lltable" border=1 |
Revision as of 09:00, 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)$
- Validation:
tid
→ Transaction ID.depth
→ Category child depth to retrieve.- Validation:
^(\*|[0-9]+)?$
- Validation:
simulate
→ Whether or not to skip writing back results.- Validation:
^(0|1|true|false)?$
- Validation:
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 |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
category_id |
uuid |
_links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_base_uri |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
412
Description
- Precondition failed
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
etags |
array |
etag |
string |
error_code |
integer |
condition |
string |
ETag | Current value of the entity tag for the requested variant. |
---|
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 (optional) |
array |
---|---|
links (optional) |
array |
categories (optional) |
array |
Status Codes
201
Description
- Inventory created
Response Schemas:
_links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_base_uri |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_base_uri |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_created_categories | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_created_items | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_updated_category_versions |
Location | The URL of the category children containing the created inventory. |
---|
400
Description
- Invalid request
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
invalid_linked_ids (optional) | |
error_code |
integer |
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
error_code |
integer |
404
Description
- Category not found
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
409
Description
- Duplicate transaction.
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
error_code |
integer |
transaction_id |
string |
412
Description
- Precondition failed
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
etags |
array |
etag |
string |
error_code |
integer |
condition |
string |
ETag | Current value of the entity tag for the requested variant. |
---|
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 |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_created_categories | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_updated_category_versions |
Location | The URL of the created category |
---|
404
Description
- Category not found
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
409
Description
- Category already exists
Response Schemas:
_links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_base_uri |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
category_id |
uuid |
412
Description
- Precondition failed
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
etags |
array |
etag |
string |
error_code |
integer |
condition |
string |
ETag | Current value of the entity tag for the requested variant. |
---|
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 |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_updated_categories | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_update_result (optional) |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_updated_category_versions |
ETag | Current value of the entity tag for the requested variant. |
---|
400
Description
- Invalid request
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
404
Description
- Category not found
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
412
Description
- Precondition failed
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
etags |
array |
etag |
string |
error_code |
integer |
condition |
string |
ETag | Current value of the entity tag for the requested variant. |
---|
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 |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_removed_items | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_top_category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_created_items | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_moved_items | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_created_categories | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_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 (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
error_code |
integer |
404
Description
- Destination category not found.
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
409
Description
- Duplicate transaction.
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
error_code |
integer |
transaction_id |
string |
410
Description
- Source category gone
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
412
Description
- Precondition failed
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
etags |
array |
etag |
string |
error_code |
integer |
condition |
string |
ETag | Current value of the entity tag for the requested variant. |
---|
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 |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_updated_categories | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_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 (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
error_code |
integer |
404
Description
- Destination category not found.
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
410
Description
- Source category gone
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
412
Description
- Precondition failed
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
etags |
array |
etag |
string |
error_code |
integer |
condition |
string |
ETag | Current value of the entity tag for the requested variant. |
---|
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 (optional) |
| ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
_attachments_removed | |||||||||||
_active_gestures_removed | |||||||||||
_broken_links_removed | |||||||||||
_total_items_removed |
integer | ||||||||||
_wearables_removed | |||||||||||
_category_items_removed | |||||||||||
_categories_removed | |||||||||||
_updated_category_versions |
410
Description
- Category gone
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
412
Description
- Precondition failed
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
etags |
array |
etag |
string |
error_code |
integer |
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)$
- Validation:
tid
→ Transaction ID.depth
→ Category child depth to retrieve.- Validation:
^(\*|[0-9]+)?$
- Validation:
simulate
→ Whether or not to skip writing back results.- Validation:
^(0|1|true|false)?$
- Validation:
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 |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
412
Description
- Precondition failed
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
etags |
array |
etag |
string |
error_code |
integer |
condition |
string |
ETag | Current value of the entity tag for the requested variant. |
---|
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 (optional) |
array |
---|---|
links (optional) |
array |
categories (optional) |
array |
Status Codes
201
Description
- Category children replaced
Response Schemas:
_links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_base_uri |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_attachments_removed | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_active_gestures_removed | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_broken_links_removed | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_total_items_removed |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_created_items | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_wearables_removed | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_created_categories | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_categories_removed | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_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 (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
412
Description
- Precondition failed
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
etags |
array |
etag |
string |
error_code |
integer |
condition |
string |
ETag | Current value of the entity tag for the requested variant. |
---|
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 |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_removed_items | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_top_category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_created_items | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_moved_items | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_created_categories | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_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 (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
error_code |
integer |
404
Description
- Destination category not found.
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
410
Description
- Source category gone
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
412
Description
- Precondition failed
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
etags |
array |
etag |
string |
error_code |
integer |
condition |
string |
ETag | Current value of the entity tag for the requested variant. |
---|
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 |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_updated_items | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_updated_categories | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_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 (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
error_code |
integer |
404
Description
- Destination category not found.
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
410
Description
- Source category gone
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
412
Description
- Precondition failed
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
etags |
array |
etag |
string |
error_code |
integer |
condition |
string |
ETag | Current value of the entity tag for the requested variant. |
---|
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 (optional) |
| ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
_attachments_removed | |||||||||||
_active_gestures_removed | |||||||||||
_broken_links_removed | |||||||||||
_total_items_removed |
integer | ||||||||||
_wearables_removed | |||||||||||
_category_items_removed | |||||||||||
_categories_removed | |||||||||||
_updated_category_versions |
410
Description
- Category gone
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
412
Description
- Precondition failed
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
etags |
array |
etag |
string |
error_code |
integer |
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)$
- Validation:
tid
→ Transaction ID.simulate
→ Whether or not to skip writing back results.- Validation:
^(0|1|true|false)?$
- Validation:
GET
Implementation Status
COMPLETE
Description
- Retrieve links in a category
Status Codes
200
Description
- Category links retrieved successfully
Response Schemas:
_links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_base_uri |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_embedded |
|
404
Description
- Category not found
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
PUT
Implementation Status
COMPLETE
Description
- Replace category links.
Request Schemas
array
Status Codes
201
Description
- Category links replaced
Response Schemas:
_links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_base_uri |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_linked_ids | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_updated_items | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_category_items_removed | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_created_items | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_updated_category_versions |
Location | The URL of the replaced category links. |
---|
400
Description
- Invalid request
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
invalid_linked_ids (optional) | |
error_code |
integer |
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
error_code |
integer |
404
Description
- Category not found
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
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 |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_created_items | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_updated_category_versions |
Location | The URL of the copied inventory. |
---|
403
Description
- Permissions check failed.
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
error_code |
integer |
404
Description
- Destination category not found.
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
410
Description
- Source category gone
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
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 |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_updated_items | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_updated_category_versions |
Location | The URL of the moved inventory. |
---|
403
Description
- Permissions check failed.
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
error_code |
integer |
404
Description
- Destination category not found.
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
410
Description
- Source category gone
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
DELETE
Implementation Status
COMPLETE
Description
- Delete category links
Status Codes
200
Description
- Category links deleted successfully
Response Schemas:
_category_items_removed | |
---|---|
_updated_category_versions |
410
Description
- Category gone
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
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)$
- Validation:
tid
→ Transaction ID.simulate
→ Whether or not to skip writing back results.- Validation:
^(0|1|true|false)?$
- Validation:
GET
Implementation Status
COMPLETE
Description
- Retrieve items in a category
Status Codes
200
Description
- Category items retrieved successfully
Response Schemas:
_links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_base_uri |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
412
Description
- Precondition failed
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
etags |
array |
etag |
string |
error_code |
integer |
condition |
string |
ETag | Current value of the entity tag for the requested variant. |
---|
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 (optional) |
array |
---|---|
links (optional) |
array |
Status Codes
201
Description
- Category items replaced
Response Schemas:
_links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_base_uri |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_attachments_removed | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_linked_ids | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_active_gestures_removed | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_broken_links_removed | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_created_items | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_wearables_removed | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_updated_items | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_category_items_removed | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_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 (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
412
Description
- Precondition failed
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
etags |
array |
etag |
string |
error_code |
integer |
condition |
string |
ETag | Current value of the entity tag for the requested variant. |
---|
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 |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_created_items | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_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 (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
error_code |
integer |
404
Description
- Destination category not found.
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
410
Description
- Source category gone
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
412
Description
- Precondition failed
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
etags |
array |
etag |
string |
error_code |
integer |
condition |
string |
ETag | Current value of the entity tag for the requested variant. |
---|
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 |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_updated_items | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_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 (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
error_code |
integer |
404
Description
- Destination category not found.
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
410
Description
- Source category gone
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
412
Description
- Precondition failed
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
etags |
array |
etag |
string |
error_code |
integer |
condition |
string |
ETag | Current value of the entity tag for the requested variant. |
---|
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 | |
_broken_links_removed | |
_wearables_removed | |
_category_items_removed | |
_updated_category_versions |
410
Description
- Category gone
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
412
Description
- Precondition failed
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
etags |
array |
etag |
string |
error_code |
integer |
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)$
- Validation:
tid
→ Transaction ID.depth
→ Category child depth to retrieve.- Validation:
^(\*|[0-9]+)?$
- Validation:
simulate
→ Whether or not to skip writing back results.- Validation:
^(0|1|true|false)?$
- Validation:
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 |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
412
Description
- Precondition failed
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
etags |
array |
etag |
string |
error_code |
integer |
condition |
string |
ETag | Current value of the entity tag for the requested variant. |
---|
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
array
Status Codes
201
Description
- Category categories replaced
Response Schemas:
_links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_base_uri |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_attachments_removed | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_active_gestures_removed | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_broken_links_removed | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_total_items_removed |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_created_items | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_wearables_removed | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_created_categories | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_categories_removed | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_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 (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
412
Description
- Precondition failed
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
etags |
array |
etag |
string |
error_code |
integer |
condition |
string |
ETag | Current value of the entity tag for the requested variant. |
---|
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 |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_removed_items | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_top_category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_created_items | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_moved_items | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_created_categories | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_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 (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
error_code |
integer |
404
Description
- Destination category not found.
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
410
Description
- Source category gone
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
412
Description
- Precondition failed
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
etags |
array |
etag |
string |
error_code |
integer |
condition |
string |
ETag | Current value of the entity tag for the requested variant. |
---|
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 |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
type_default |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
version |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
category_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
_updated_categories | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
_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 (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
error_code |
integer |
404
Description
- Destination category not found.
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
410
Description
- Source category gone
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
412
Description
- Precondition failed
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
etags |
array |
etag |
string |
error_code |
integer |
condition |
string |
ETag | Current value of the entity tag for the requested variant. |
---|
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 (optional) |
| ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
_attachments_removed | |||||||||||
_active_gestures_removed | |||||||||||
_broken_links_removed | |||||||||||
_total_items_removed |
integer | ||||||||||
_wearables_removed | |||||||||||
_category_items_removed | |||||||||||
_categories_removed | |||||||||||
_updated_category_versions |
410
Description
- Category gone
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
412
Description
- Precondition failed
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
etags |
array |
etag |
string |
error_code |
integer |
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}$
- Validation:
simulate
→ Whether or not to skip writing back results.- Validation:
^(0|1|true|false)?$
- Validation:
GET
Implementation Status
COMPLETE
Description
- Retrieve an item
Status Codes
200
Description
- Item retrieved successfully
Response Schemas:
_links |
| ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_base_uri |
string | ||||||||||||||||||
asset_id |
uuid | ||||||||||||||||||
inv_type |
integer | ||||||||||||||||||
name |
string | ||||||||||||||||||
sale_info |
| ||||||||||||||||||
created_at |
integer | ||||||||||||||||||
parent_id (optional) |
uuid | ||||||||||||||||||
flags |
integer | ||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||
item_id |
uuid | ||||||||||||||||||
permissions |
| ||||||||||||||||||
type |
integer | ||||||||||||||||||
desc |
string |
_base_uri |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_broken | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
linked_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
created_at | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
item_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
inv_type |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
desc |
string |
404
Description
- Item not found
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
item_id (optional) |
uuid |
error_code |
integer |
PATCH
Implementation Status
COMPLETE
Description
- Modify an item
Request Schemas
asset_id (optional) |
uuid | ||||||||
---|---|---|---|---|---|---|---|---|---|
name (optional) |
string | ||||||||
sale_info (optional) |
| ||||||||
flags (optional) |
integer | ||||||||
desc (optional) |
string | ||||||||
hash_id (optional) |
uuid | ||||||||
permissions (optional) |
|
linked_id (optional) |
uuid |
---|---|
name (optional) |
string |
desc (optional) |
string |
Status Codes
200
Description
- Item modified successfully
Response Schemas:
_links |
| ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_base_uri |
string | ||||||||||||||||||
asset_id |
uuid | ||||||||||||||||||
inv_type |
integer | ||||||||||||||||||
name |
string | ||||||||||||||||||
sale_info |
| ||||||||||||||||||
created_at |
integer | ||||||||||||||||||
parent_id (optional) |
uuid | ||||||||||||||||||
flags |
integer | ||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||
item_id |
uuid | ||||||||||||||||||
permissions |
| ||||||||||||||||||
type |
integer | ||||||||||||||||||
desc |
string | ||||||||||||||||||
_updated_items | |||||||||||||||||||
_update_result (optional) |
| ||||||||||||||||||
_updated_category_versions |
_base_uri |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_links |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_embedded |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_broken | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
linked_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
name |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
created_at | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
parent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
item_id |
uuid | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
inv_type |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type |
integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
desc |
string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_updated_items | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_update_result (optional) |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
_updated_category_versions |
400
Description
- Invalid request
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
item_id (optional) |
uuid |
error_code |
integer |
404
Description
- Item not found
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
item_id (optional) |
uuid |
error_code |
integer |
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 | ||||||||||||||||||
name |
string | ||||||||||||||||||
sale_info |
| ||||||||||||||||||
created_at |
integer | ||||||||||||||||||
parent_id (optional) |
uuid | ||||||||||||||||||
flags |
integer | ||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||
item_id |
uuid | ||||||||||||||||||
permissions |
| ||||||||||||||||||
type |
integer | ||||||||||||||||||
desc |
string | ||||||||||||||||||
_created_items | |||||||||||||||||||
_updated_category_versions |
linked_id |
uuid |
---|---|
name |
string |
created_at | |
parent_id |
uuid |
agent_id |
uuid |
item_id |
uuid |
inv_type |
integer |
type |
integer |
desc |
string |
_created_items | |
_updated_category_versions |
Location | The URL of the copied inventory. |
---|
403
Description
- Permissions check failed.
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
error_code |
integer |
404
Description
- Destination category not found.
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
410
Description
- Source item gone
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
item_id |
uuid |
error_code |
integer |
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 | ||||||||||||||||||
name |
string | ||||||||||||||||||
sale_info |
| ||||||||||||||||||
created_at |
integer | ||||||||||||||||||
parent_id (optional) |
uuid | ||||||||||||||||||
flags |
integer | ||||||||||||||||||
agent_id |
uuid | ||||||||||||||||||
item_id |
uuid | ||||||||||||||||||
permissions |
| ||||||||||||||||||
type |
integer | ||||||||||||||||||
desc |
string | ||||||||||||||||||
_updated_items | |||||||||||||||||||
_updated_category_versions |
linked_id |
uuid |
---|---|
name |
string |
created_at | |
parent_id |
uuid |
agent_id |
uuid |
item_id |
uuid |
inv_type |
integer |
type |
integer |
desc |
string |
_updated_items | |
_updated_category_versions |
Location | The URL of the moved inventory. |
---|
403
Description
- Permissions check failed.
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
error_code |
integer |
404
Description
- Destination category not found.
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
category_id (optional) |
uuid |
error_code |
integer |
410
Description
- Source item gone
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
item_id |
uuid |
error_code |
integer |
DELETE
Implementation Status
COMPLETE
Description
- Delete an item
Status Codes
200
Description
- Item deleted successfully
Response Schemas:
_attachments_removed | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
_update_result (optional) |
| ||||||||||
_active_gestures_removed | |||||||||||
_broken_links_removed | |||||||||||
_wearables_removed | |||||||||||
_category_items_removed | |||||||||||
_updated_category_versions |
410
Description
- Item gone
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
item_id |
uuid |
error_code |
integer |
Global Response Status Codes
400
Description
- Invalid request
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
error_code |
integer |
415
Description
- Unsupported media type
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
error_code |
integer |
500
Description
- Internal Error
Response Schemas:
error_line_number (optional) |
integer |
---|---|
error_filename (optional) |
string |
error_description |
string |
error_function (optional) |
string |
error_code |
integer |
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. |