Skip to content

Commit c2f3f28

Browse files
committedMar 17, 2025
Regenerate REST API Reference's HTML
1 parent b1f4c82 commit c2f3f28

File tree

1 file changed

+157
-5
lines changed

1 file changed

+157
-5
lines changed
 

‎docs/api/rest_api/rest_api_reference/rest_api_reference.html

+157-5
Original file line numberDiff line numberDiff line change
@@ -75577,14 +75577,158 @@ <h4 id="/cart/{identifier}/entry/{entryid}" class="heading text-gray">/cart/{ide
7557775577
</p>
7557875578
<p data-field="body"><p>Removes the given entry from the given Cart.</p>
7557975579
</p>
75580+
<div class="py-3">
75581+
<h6 class="heading text-gray border-bottom pb-2">Header parameters</h6>
75582+
<div class="mb-2">
75583+
<p class="mt-3 mb-0 font-weight-medium">Accept</p>
75584+
<p>The updated Cart is returned in XML or JSON format.</p>
75585+
<div class="table-responsive mb-2">
75586+
<table class="table">
75587+
<thead>
75588+
<tr>
75589+
<th scope="col">Property</th>
75590+
<th scope="col">Value</th>
75591+
</tr>
75592+
</thead>
75593+
<tbody>
75594+
<tr>
75595+
<td>Type</td>
75596+
<td>
75597+
75598+
<span>
75599+
string
75600+
</span>
7558075601

7558175602

75603+
75604+
</td>
75605+
</tr>
75606+
<tr>
75607+
<td>Examples</td>
75608+
<td>
75609+
<code>application/vnd.ibexa.api.Cart+xml
75610+
application/vnd.ibexa.api.Cart+json
75611+
</code>
75612+
</td>
75613+
</tr>
75614+
</tbody>
75615+
</table>
75616+
</div>
75617+
</div>
75618+
</div>
75619+
7558275620

75583-
75621+
<div class="py-3">
75622+
<h6 class="heading text-gray border-bottom pb-2">Possible responses</h6>
75623+
<div class="table-responsive">
75624+
<table class="table">
75625+
<thead>
75626+
<tr>
75627+
<th scope="col">Code</th>
75628+
<th scope="col">Description</th>
75629+
</tr>
75630+
</thead>
75631+
<tbody>
75632+
<tr>
75633+
<td>
75634+
<a href="#cart-identifier-entry-entryid-delete-response-200"
75635+
class="text-ocean-blue ">
75636+
200
75637+
</a>
75638+
</td>
75639+
<td>
75640+
<p>OK - return the updated cart</p>
75641+
</td>
75642+
</tr>
75643+
<tr>
75644+
<td>
75645+
401
75646+
</td>
75647+
<td>
75648+
<p>Error - the user is not authorized to remove an entry from this cart.</p>
75649+
</td>
75650+
</tr>
75651+
<tr>
75652+
<td>
75653+
404
75654+
</td>
75655+
<td>
75656+
<p>Error - the identifiers don&#039;t match any cart or entry.</p>
75657+
</td>
75658+
</tr>
75659+
</tbody>
75660+
</table>
75661+
</div>
75662+
</div>
75663+
75664+
<div class="py-3">
75665+
<h6 class="heading text-gray border-bottom pb-2">Types</h6>
75666+
<div class="table-responsive">
75667+
<table class="table">
75668+
<thead>
75669+
<tr>
75670+
<th scope="col">Type</th>
75671+
<th scope="col">Description</th>
75672+
</tr>
75673+
</thead>
75674+
<tbody>
75675+
<tr>
75676+
<td>
75677+
<a href="#" class="text-ocean-blue" data-toggle="modal" data-target="#CartEntryUpdate">
75678+
CartEntryUpdate
75679+
</a>
75680+
</td>
75681+
<td></td>
75682+
</tr>
75683+
<tr>
75684+
<td>
75685+
<a href="#" class="text-ocean-blue" data-toggle="modal" data-target="#CartEntryUpdateWrapper">
75686+
CartEntryUpdateWrapper
75687+
</a>
75688+
</td>
75689+
<td>JSON object with only a CartEntryUpdate property.</td>
75690+
</tr>
75691+
<tr>
75692+
<td>
75693+
<a href="#" class="text-ocean-blue" data-toggle="modal" data-target="#Cart">
75694+
Cart
75695+
</a>
75696+
</td>
75697+
<td>This class represents a Cart</td>
75698+
</tr>
75699+
<tr>
75700+
<td>
75701+
<a href="#" class="text-ocean-blue" data-toggle="modal" data-target="#CartWrapper">
75702+
CartWrapper
75703+
</a>
75704+
</td>
75705+
<td>JSON object with only a Cart property.</td>
75706+
</tr>
75707+
</tbody>
75708+
</table>
75709+
</div>
75710+
</div>
75711+
7558475712
</div>
7558575713
<div class="col-lg-6 px-3 examples">
7558675714

75587-
</div>
75715+
<div class="request">
75716+
<div class="pb-3" id="cart-identifier-entry-entryid-delete-request">
75717+
<div class="d-flex justify-content-between align-items-baseline">
75718+
<ul class="nav nav-tabs border-bottom-0" id="cart-identifier-entry-entryid-delete-requestTab" role="tablist">
75719+
</ul>
75720+
</div>
75721+
</div>
75722+
</div>
75723+
<div class="response">
75724+
<div class="pb-3 response__code" id="cart-identifier-entry-entryid-delete-response-200">
75725+
<div class="d-flex justify-content-between align-items-baseline">
75726+
<ul class="nav nav-tabs border-bottom-0" id="cart-identifier-entry-entryid-delete-response-200Tab" role="tablist">
75727+
</ul>
75728+
</div>
75729+
</div>
75730+
</div>
75731+
</div>
7558875732
</div>
7558975733
</div>
7559075734
<div id="managing-commerce-carts-update-entry-from-cart-section" class="search-container px-3" data-parent="Managing Commerce carts">
@@ -75703,21 +75847,29 @@ <h6 class="heading text-gray border-bottom pb-2">Possible responses</h6>
7570375847
<td>
7570475848
<p>OK - return the updated cart</p>
7570575849
</td>
75850+
</tr>
75851+
<tr>
75852+
<td>
75853+
400
75854+
</td>
75855+
<td>
75856+
<p>Error - the input doesn&#039;t match the input schema definition.</p>
75857+
</td>
7570675858
</tr>
7570775859
<tr>
7570875860
<td>
7570975861
401
7571075862
</td>
7571175863
<td>
75712-
<p>Error - the user is not authorized to remove an entry from this cart.</p>
75864+
<p>Error - the user is not authorized to update an entry of this cart.</p>
7571375865
</td>
7571475866
</tr>
7571575867
<tr>
7571675868
<td>
7571775869
404
7571875870
</td>
7571975871
<td>
75720-
<p>Error - the identifier doesn&#039;t match any cart.</p>
75872+
<p>Error - the identifiers don&#039;t match any cart or entry.</p>
7572175873
</td>
7572275874
</tr>
7572375875
</tbody>
@@ -75791,7 +75943,7 @@ <h6 class="heading text-gray border-bottom pb-2">Types</h6>
7579175943
</ul>
7579275944
</div>
7579375945
</div>
75794-
</div>
75946+
</div>
7579575947
</div>
7579675948
</div>
7579775949
</div>

0 commit comments

Comments
 (0)