1.2.0 smugmug.albums.getInfo returns undocumented values
rkalla
Registered Users Posts: 108 Major grins
I'm working on parsing the 1.2.0 API reply from smugmug.albums.getInfo, the documented return values and the ones I'm actually seeing (for an album I own) are different.
I started to update the wiki with what I am actually seeing, but didn't want to jump the gun and end up dorking the doc. Please see my API call reply below, if it looks right let me know and I'll update the wiki.
NOTE: I replaced all personal values with '???' manually.
I started to update the wiki with what I am actually seeing, but didn't want to jump the gun and end up dorking the doc. Please see my API call reply below, if it looks right let me know and I'll update the wiki.
NOTE: I replaced all personal values with '???' manually.
<?xml version="1.0" encoding="utf-8"?> <rsp stat="ok"> <method>smugmug.albums.getInfo</method> <Album id="???" Position="14" ImageCount="168" Title="???" Description="" Keywords="" Public="1" Password="" PasswordHint="" Printable="1" Filenames="0" Comments="1" External="1" Originals="1" EXIF="1" Share="1" SortMethod="Position" SortDirection="0" LastUpdated="???" FamilyEdit="0" FriendEdit="0" HideOwner="0" CanRank="1" Clean="0" Geography="1" SmugSearchable="1" WorldSearchable="1" Header="0"> <Highlight id="0"/> <Category id="???"/> <SubCategory id="0"/> <Community id="0"/> <Template id="0"/> </Album> </rsp>
0
Comments
If you want to go and fix up the documentation, go for it...but it's going to get a major overhaul for the 1.2.1 release anyway.
It will look something like this.
Cheers,
David
SmugMug API Developer
My Photos
DOH! :bash
If 1.2.0 isn't the latest I'll leave it as-is, I just wanted to help contribute to whatever the latest revision is. Didn't even know there was a 1.2.1
I'll have to revise my project and make sure I'm coding against that.
Thanks for the heads up David!
kallasoft | The "Break It Down" Blog
I have taking a break from working on it while I rewrite the MacUploader, but I am hoping to start up again very soon.
SmugMug API Developer
My Photos