Options

1.2.0 smugmug.albums.getInfo returns undocumented values

rkallarkalla 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.
<?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>

Comments

  • Options
    devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited August 26, 2007
    Hi Riyad,

    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
    David Parry
    SmugMug API Developer
    My Photos
  • Options
    rkallarkalla Registered Users Posts: 108 Major grins
    edited August 26, 2007
    devbobo wrote:
    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.

    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!
  • Options
    devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited August 26, 2007
    well, 1.2.1 is still in development.

    I have taking a break from working on it while I rewrite the MacUploader, but I am hoping to start up again very soon.
    David Parry
    SmugMug API Developer
    My Photos
Sign In or Register to comment.