Welcome, guest ( Login )

Powered by JotSpot

WikiHome » API » Versions » 1.1.1 » 1.1.1_smugmug.users.getTree

1.1.1_smugmug.users.getTree

Version 1, changed by admin. 09/26/2006.   Show version history

API Method: smugmug.users.getTree BETA

This method returns a complete tree, starting with Categories and descending into SubCategories (if any) and Albums (if any) for the specified user (identified by SessionID or (optional) NickName).

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

Result:
  • Array of structs (Categories):
    • int "CategoryID"
    • String Title
      • Array of structs: (SubCategories, if present)
        • SubCategoryID
        • Title
          • Array of structs: (Albums, if present)
            • struct: (Album Info, if Heavy is true)
      • Array of structs: (Albums, if present, and no SubCat)
        • struct: (Album Info, if Heavy is true)

Fault Codes:
  • 4 - "invalid user"
  • 5 - "system error"

Attachments (0)

  File By Size Attached Ver.