V2 API and Folder Tree Navigation

fitter manfitter man Registered Users Posts: 9 Beginner grinner
What's the best way to get a complete list of folders and then iterate over all the albums within each using the V2 API? In making a call like this: "https://api.smugmug.com/api/v2/folder/user/myusername!folderlist" I see that the JSON response comes back containing this node when using the live API browser.
"Notes": [
            "This endpoint is deprecated"
        ],

Comments

  • ktvoelkerktvoelker Registered Users Posts: 25 Big grins
    edited April 1, 2015
    Thanks for the question. We recommend using !folders instead of !folderlist. It only returns the immediate child folders, not all descendant folders — but that's usually better, anyway.
    Karl Voelker
    Sorcerer and API Guy at SmugMug
Sign In or Register to comment.