getTree does not return sub categories

blackgold9blackgold9 Registered Users Posts: 52 Big grins
The documentation for 1.2.2 says gettree should return subcategories nested within categories.
The output im actually getting seems to only show categories->albums, with no nested subcategories. Is this expected?

Comments

  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited November 16, 2010
    blackgold9 wrote: »
    The documentation for 1.2.2 says gettree should return subcategories nested within categories.
    The output im actually getting seems to only show categories->albums, with no nested subcategories. Is this expected?

    I double checked and the call appears to be working fine on all my accounts. Can you please provide the nickname for the account that you are using so I can take a look.

    Cheers,

    David
    David Parry
    SmugMug API Developer
    My Photos
  • blackgold9blackgold9 Registered Users Posts: 52 Big grins
    edited November 16, 2010
    blackgold9
  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited November 17, 2010
    I compared your site with what the api is returning for smugmug.users.getTree, as far as I can determine (from manual inspection of about two dozen albums) the response appears accurate.

    Albums will only appear in a SubCategory when they have been defined within one on your site...as far as I can determine you haven't actually used SubCategories on your site.

    If that is incorrect, please point me to such a gallery.

    Cheers,

    David
    David Parry
    SmugMug API Developer
    My Photos
Sign In or Register to comment.