XEP-0060: remove exception for last item when purging a node

master
Jérôme Poisson 2 years ago committed by Jonas Schäfer
parent f71389ca4a
commit 2f70a2181e

@ -49,6 +49,12 @@
&pgmillard;
&stpeter;
&ralphm;
<revision>
<version>1.22.0</version>
<date>2021-09-07</date>
<initials>jp</initials>
<remark><p>Remove exception for last item when purging a node: all items must be removed.</p></remark>
</revision>
<revision>
<version>1.21.0</version>
<date>2021-08-03</date>
@ -4099,7 +4105,7 @@ And by opposing end them?
</section3>
</section2>
<section2 topic='Purge All Node Items' anchor='owner-purge'>
<p>If a service persists published items, a node owner may want to purge the node of all published items (thus removing all items from the persistent store, with the exception of the last published item, which MAY be cached). It is OPTIONAL for a service to implement this feature.</p>
<p>If a service persists published items, a node owner may want to purge the node of all published items (thus removing all items from the persistent store). It is OPTIONAL for a service to implement this feature.</p>
<section3 topic='Request' anchor='owner-purge-request'>
<p>In order to purge a node of all items, a node owner sends a node purge request consisting of a &lt;purge/&gt; element whose 'node' attribute specifies the NodeID of the node to be purged.</p>
<example caption='Owner purges all items from a node'><![CDATA[

Loading…
Cancel
Save