@@ -1207,7 +1207,7 @@ <h4 id="_example_request"><a class="anchor" href="#_example_request"></a><a clas
12071207< div class ="content ">
12081208< pre class ="highlightjs highlight "> < code data-lang ="bash " class ="language-bash hljs "> $ curl 'http://localhost:8080/items' -i -X POST \
12091209 -H 'Content-Type: application/json' \
1210- -H 'Authorization: Bearer 99d6ee1d-c96a-4385-b391-127dbfce4092 ' \
1210+ -H 'Authorization: Bearer 9779cd69-14d4-470b-9069-162881b61f96 ' \
12111211 -d '{"description":"Hot News"}'</ code > </ pre >
12121212</ div >
12131213</ div >
@@ -1470,7 +1470,7 @@ <h4 id="_example_request_2"><a class="anchor" href="#_example_request_2"></a><a
14701470< div class ="content ">
14711471< pre class ="highlightjs highlight "> < code data-lang ="bash " class ="language-bash hljs "> $ curl 'http://localhost:8080/items/1' -i -X PUT \
14721472 -H 'Content-Type: application/json' \
1473- -H 'Authorization: Bearer 99d6ee1d-c96a-4385-b391-127dbfce4092 ' \
1473+ -H 'Authorization: Bearer 9779cd69-14d4-470b-9069-162881b61f96 ' \
14741474 -d '{"description":"Hot News"}'</ code > </ pre >
14751475</ div >
14761476</ div >
@@ -1588,7 +1588,7 @@ <h4 id="_example_request_3"><a class="anchor" href="#_example_request_3"></a><a
15881588< div class ="listingblock ">
15891589< div class ="content ">
15901590< pre class ="highlightjs highlight "> < code data-lang ="bash " class ="language-bash hljs "> $ curl 'http://localhost:8080/items/1' -i -X DELETE \
1591- -H 'Authorization: Bearer 99d6ee1d-c96a-4385-b391-127dbfce4092 '</ code > </ pre >
1591+ -H 'Authorization: Bearer 9779cd69-14d4-470b-9069-162881b61f96 '</ code > </ pre >
15921592</ div >
15931593</ div >
15941594</ div >
@@ -1918,123 +1918,6 @@ <h4 id="_query_parameters_5"><a class="anchor" href="#_query_parameters_5"></a><
19181918</ tr >
19191919</ tbody >
19201920</ table >
1921- < div class ="paragraph ">
1922- < p > Uses < a href ="#overview-pagination "> pagination</ a > query params.</ p >
1923- </ div >
1924- < table class ="tableblock frame-all grid-all stretch ">
1925- < colgroup >
1926- < col style ="width: 25%; ">
1927- < col style ="width: 25%; ">
1928- < col style ="width: 25%; ">
1929- < col style ="width: 25%; ">
1930- </ colgroup >
1931- < thead >
1932- < tr >
1933- < th class ="tableblock halign-left valign-top "> Parameter</ th >
1934- < th class ="tableblock halign-left valign-top "> Type</ th >
1935- < th class ="tableblock halign-left valign-top "> Optional</ th >
1936- < th class ="tableblock halign-left valign-top "> Description</ th >
1937- </ tr >
1938- </ thead >
1939- < tbody >
1940- < tr >
1941- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> offset</ p > </ td >
1942- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> Integer</ p > </ td >
1943- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> true</ p > </ td >
1944- < td class ="tableblock halign-left valign-top "> </ td >
1945- </ tr >
1946- < tr >
1947- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> paged</ p > </ td >
1948- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> Boolean</ p > </ td >
1949- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> true</ p > </ td >
1950- < td class ="tableblock halign-left valign-top "> </ td >
1951- </ tr >
1952- < tr >
1953- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> sort</ p > </ td >
1954- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> Object</ p > </ td >
1955- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> true</ p > </ td >
1956- < td class ="tableblock halign-left valign-top "> </ td >
1957- </ tr >
1958- < tr >
1959- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> sort.orders</ p > </ td >
1960- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> Array[Object]</ p > </ td >
1961- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> true</ p > </ td >
1962- < td class ="tableblock halign-left valign-top "> </ td >
1963- </ tr >
1964- < tr >
1965- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> sort.orders[].direction</ p > </ td >
1966- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> String</ p > </ td >
1967- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> true</ p > </ td >
1968- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> Must be one of [ASC, DESC].</ p > </ td >
1969- </ tr >
1970- < tr >
1971- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> sort.orders[].property</ p > </ td >
1972- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> String</ p > </ td >
1973- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> true</ p > </ td >
1974- < td class ="tableblock halign-left valign-top "> </ td >
1975- </ tr >
1976- < tr >
1977- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> sort.orders[].ignoreCase</ p > </ td >
1978- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> Boolean</ p > </ td >
1979- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> true</ p > </ td >
1980- < td class ="tableblock halign-left valign-top "> </ td >
1981- </ tr >
1982- < tr >
1983- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> sort.orders[].nullHandling</ p > </ td >
1984- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> String</ p > </ td >
1985- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> true</ p > </ td >
1986- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> Must be one of [NATIVE, NULLS_FIRST, NULLS_LAST].</ p > </ td >
1987- </ tr >
1988- < tr >
1989- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> sort.orders[].ascending</ p > </ td >
1990- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> Boolean</ p > </ td >
1991- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> true</ p > </ td >
1992- < td class ="tableblock halign-left valign-top "> </ td >
1993- </ tr >
1994- < tr >
1995- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> sort.orders[].descending</ p > </ td >
1996- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> Boolean</ p > </ td >
1997- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> true</ p > </ td >
1998- < td class ="tableblock halign-left valign-top "> </ td >
1999- </ tr >
2000- < tr >
2001- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> sort.sorted</ p > </ td >
2002- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> Boolean</ p > </ td >
2003- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> true</ p > </ td >
2004- < td class ="tableblock halign-left valign-top "> </ td >
2005- </ tr >
2006- < tr >
2007- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> sort.unsorted</ p > </ td >
2008- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> Boolean</ p > </ td >
2009- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> true</ p > </ td >
2010- < td class ="tableblock halign-left valign-top "> </ td >
2011- </ tr >
2012- < tr >
2013- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> sort.empty</ p > </ td >
2014- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> Boolean</ p > </ td >
2015- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> true</ p > </ td >
2016- < td class ="tableblock halign-left valign-top "> </ td >
2017- </ tr >
2018- < tr >
2019- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> pageNumber</ p > </ td >
2020- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> Integer</ p > </ td >
2021- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> true</ p > </ td >
2022- < td class ="tableblock halign-left valign-top "> </ td >
2023- </ tr >
2024- < tr >
2025- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> pageSize</ p > </ td >
2026- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> Integer</ p > </ td >
2027- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> true</ p > </ td >
2028- < td class ="tableblock halign-left valign-top "> </ td >
2029- </ tr >
2030- < tr >
2031- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> unpaged</ p > </ td >
2032- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> Boolean</ p > </ td >
2033- < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> true</ p > </ td >
2034- < td class ="tableblock halign-left valign-top "> </ td >
2035- </ tr >
2036- </ tbody >
2037- </ table >
20381921</ div >
20391922< div class ="sect3 ">
20401923< h4 id ="_request_fields_7 "> < a class ="anchor " href ="#_request_fields_7 "> </ a > < a class ="link " href ="#_request_fields_7 "> 2.7.4. Request fields</ a > </ h4 >
@@ -2250,8 +2133,8 @@ <h4 id="_example_response_5"><a class="anchor" href="#_example_response_5"></a><
22502133 "offset" : 0,
22512134 "pageNumber" : 0,
22522135 "pageSize" : 20,
2253- "paged " : true ,
2254- "unpaged " : false
2136+ "unpaged " : false ,
2137+ "paged " : true
22552138 },
22562139 "total" : 1,
22572140 "last" : true,
@@ -2460,11 +2343,14 @@ <h4 id="_path_parameters_8"><a class="anchor" href="#_path_parameters_8"></a><a
24602343< div class ="sect3 ">
24612344< h4 id ="_query_parameters_7 "> < a class ="anchor " href ="#_query_parameters_7 "> </ a > < a class ="link " href ="#_query_parameters_7 "> 2.9.3. Query parameters</ a > </ h4 >
24622345< div class ="paragraph ">
2463- < p > No parameters .</ p >
2346+ < p > Uses < a href =" #overview-pagination " > pagination </ a > query params .</ p >
24642347</ div >
24652348</ div >
24662349< div class ="sect3 ">
24672350< h4 id ="_request_fields_9 "> < a class ="anchor " href ="#_request_fields_9 "> </ a > < a class ="link " href ="#_request_fields_9 "> 2.9.4. Request fields</ a > </ h4 >
2351+ < div class ="paragraph ">
2352+ < p > Uses < a href ="#overview-pagination "> pagination</ a > query params.</ p >
2353+ </ div >
24682354< table class ="tableblock frame-all grid-all stretch ">
24692355< colgroup >
24702356< col style ="width: 25%; ">
@@ -2487,6 +2373,19 @@ <h4 id="_request_fields_9"><a class="anchor" href="#_request_fields_9"></a><a cl
24872373< td class ="tableblock halign-left valign-top "> < p class ="tableblock "> false</ p > </ td >
24882374< td class ="tableblock halign-left valign-top "> < p class ="tableblock "> Command to execute.</ p > </ td >
24892375</ tr >
2376+ < tr >
2377+ < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> tag</ p > </ td >
2378+ < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> String</ p > </ td >
2379+ < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> true</ p > </ td >
2380+ < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> Only items with this tag should be returned.</ p > </ td >
2381+ </ tr >
2382+ < tr >
2383+ < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> name</ p > </ td >
2384+ < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> String</ p > </ td >
2385+ < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> true</ p > </ td >
2386+ < td class ="tableblock halign-left valign-top "> < p class ="tableblock "> < strong > Deprecated.</ strong > </ p >
2387+ < p class ="tableblock "> New item’s name.</ p > </ td >
2388+ </ tr >
24902389</ tbody >
24912390</ table >
24922391</ div >
@@ -2535,7 +2434,7 @@ <h4 id="_example_request_7"><a class="anchor" href="#_example_request_7"></a><a
25352434< div class ="content ">
25362435< pre class ="highlightjs highlight "> < code data-lang ="bash " class ="language-bash hljs "> $ curl 'http://localhost:8080/items/1/process' -i -X POST \
25372436 -H 'Content-Type: application/x-www-form-urlencoded' \
2538- -d 'command=increase'</ code > </ pre >
2437+ -d 'command=increase&tag=processed&page=1&name=myitem '</ code > </ pre >
25392438</ div >
25402439</ div >
25412440</ div >
@@ -2551,10 +2450,10 @@ <h4 id="_example_response_7"><a class="anchor" href="#_example_response_7"></a><
25512450Pragma: no-cache
25522451Expires: 0
25532452X-Frame-Options: DENY
2554- Content-Length: 55
2453+ Content-Length: 161
25552454
25562455{
2557- "output" : "Command executed on item 1: increase"
2456+ "output" : "Command executed on item 1: increase, method: POST, tag: processed, data: myitem, errors: 0, Page request [number: 1, size 20, sort: UNSORTED] "
25582457}</ code > </ pre >
25592458</ div >
25602459</ div >
@@ -3724,7 +3623,7 @@ <h4 id="_example_request_13"><a class="anchor" href="#_example_request_13"></a><
37243623< div class ="content ">
37253624< pre class ="highlightjs highlight "> < code data-lang ="bash " class ="language-bash hljs "> $ curl 'http://localhost:8080/items/filtered/1' -i -X PUT \
37263625 -H 'Content-Type: application/json' \
3727- -H 'Authorization: Bearer 99d6ee1d-c96a-4385-b391-127dbfce4092 ' \
3626+ -H 'Authorization: Bearer 9779cd69-14d4-470b-9069-162881b61f96 ' \
37283627 -d '{"description":"Hot News"}'</ code > </ pre >
37293628</ div >
37303629</ div >
0 commit comments