Welcome, guest ( Login )

Powered by JotSpot

WikiHome » 1.2.0 » smugmug.albums.get

smugmug.albums.get

Version 4, changed by devbobo@gmail.com. 05/10/2007.   Show version history

API Method: smugmug.albums.get

This method returns a list of albums for a given user (either via SessionID or (optional) NickName). If the session is logged in as the requested user, a complete list of albums is returned. Otherwise, only the public albums are returned.

Arguments:
  • String SessionID
  • String NickName optional
  • Boolean Heavy optional
  • String SitePassword optional

Result:
  • Array of structs: [empty array if no albums]
    • int "AlbumID"
    • String "Title"
    • String "Category"
    • int "CategoryID"
    • String "SubCategory" optional
    • int "SubCategoryID" optional

Fault Codes:

  • 4 - "invalid user (message)"
  • 5 - "system error"

Attachments (0)

  File By Size Attached Ver.