(authenticated)
Changes the priority of an entry in the list and adapts the other entries so that the all priorities continue to be ascending without holes. The entry that's currently at the new priority, will be shifted down. To move an entry to the end, use a priority that's larger that the current maximum value.
| Submissions |
reorderEntry Reorders the entry. |
| Parameters |
| listId |
The id of the list that the entry belongs to. |
| from |
The current priority of the entry. |
| to |
The new priority of the entry. |
|
example request
example result
<reorderentry>
<success listid="25" from="0" to="2"/>
</reorderentry>
failure
If the back-end wasn't able to perform the reordering, you'll receive a failed tag instead of a success tag, for instance:
<reorderentry authid="622c895dec2d96cf127f0d557785d200">
<failed listid="25" from="20" to="2"/>
</reorderentry>