Dashboard > SmugMug > ... > API 1.2.0 > smugmug.albums 1.2.0 > smugmug.albums.reSort 1.2.0
Log In   View a printable version of the current page.
SmugMug
smugmug.albums.reSort 1.2.0
Added by David Parry , last edited by David Parry on Jan 18, 2008  (view change)
Labels: 
(None)

API Method: smugmug.albums.reSort

This method will re-sort all the photos inside of the album specified by AlbumID. Note that this is a one-time event, and doesn't apply directly to images added in the future by other means.

Arguments:

  • String SessionID
  • int AlbumID
  • String By
    o Current valid values:
    + FileName
    + Caption
    + DateTime
  • String Direction
    o Valid values:
    + ASC
    + DESC

Result:

  • boolean Album

Fault Codes:

  • 12 - "invalid sort method"
  • 13 - "invalid sort direction"
  • 5 - "system error"

By=Caption returns Fault Code 12.  The other two work.

Posted by Anonymous at Mar 07, 2008 09:35 | Reply To This
Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators