Dashboard > Bla-bla List > ... > REST API > reorderlist
Bla-bla List Log In | Sign Up   View a printable version of the current page.
reorderlist


Added by Geert Bevin, last edited by Geert Bevin on Mar 24, 2005  (view change)
Labels: 
(None)

(authenticated)

Changes the priority of a list and adapts the other lists so that the all priorities continue to be ascending without holes. The list that's currently at the new priority, will be shifted down. To move a list to the end, use a priority that's larger that the current maximum value.

Submissions
reorderList
Reorders the list.
Parameters
from The current priority of the list.
to The new priority of the list.

example request

http://blablalist.com/reorderlist?
    authid=622c895dec2d96cf127f0d557785d200&
    submission=reorderList&
    from=2&
    to=0

example result

<reorderedlist>
    <success from="2" to="0"/>
</reorderedlist>

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:

<reorderedlist authid="622c895dec2d96cf127f0d557785d200">
    <failed from="20" to="0"/>
</reorderedlist>



Are you enjoying Confluence? Please consider purchasing it today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.1a Build:#515 May 19, 2006) - Bug/feature request - Contact Administrators