Album ID missing from images.get in 1.2.2...

mattwrightmattwright Registered Users Posts: 124 Major grins
I had been using 1.2.0 which returns Album id/key for each image in images.get (overkill for sure), but moving to 1.2.2, it now seems like I can't determine which album the response is related to (this is a problem if sending multiple images.get queries that could complete in different order than sent)...

Can you add an "id" field to the "Album" struct that is returned from images.get in 1.2.2, much like it has for "ImageCount"? Then it will be obvious which album this images.get response relates to.

Thanks!

Matt

Comments

  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited February 12, 2009
    That seems like a smart idea, adding the root level Album element was kinda last minute since I had no where to append the ImageCount parameter.

    In the meantime, if you want to get the Album element for each image like in 1.2.0, you can append &Extras=AlbumID to your request.

    Cheers,

    David
    David Parry
    SmugMug API Developer
    My Photos
  • mattwrightmattwright Registered Users Posts: 124 Major grins
    edited February 12, 2009
    thanks
    devbobo wrote:
    In the meantime, if you want to get the Album element for each image like in 1.2.0, you can append &Extras=AlbumID to your request.
    Awesome -- thanks for the workaround!
Sign In or Register to comment.