Documentation Bugs: smugmug.albums.getInfo

luke_churchluke_church Registered Users Posts: 507 Major grins
Documentation URL: http://www.smugmug.com/hack/method-smugmug.albums.getInfo

Issue 1:
boolean "FamilyEdit"
  • Owner only
XML-RPC 1.1.1 -> String, not bool

Issue 2:
boolean "FriendEdit"
  • Owner only
XML-RPC 1.1.1 -> String, not bool

Issue 3:
Item 'Keywords' does not exist in documentation,
XML-RPC 1.1.1 -> String

Areas of the method remain untested as I am only using a standard account for testing.

Luke

Comments

  • luke_churchluke_church Registered Users Posts: 507 Major grins
    edited September 13, 2005
    Sorry, I must be getting tired...

    The modified software works against XML-RPC 1.1.0, so we can assume that all the bugs apply to that as well.

    Sample response:

    [php]

    <?xml version="1.0"?>
    <methodCall>
    <methodName>smugmug.albums.getInfo</methodName>
    <params>
    <param>
    <value>
    <string>...</string>
    </value>
    </param>
    <param>
    <value>
    <i4>801895</i4>
    </value>
    </param>
    </params>
    </methodCall>
    Header
    <methodResponse>
    <params>
    <param>
    <value>
    <struct>
    <member>
    <name>AlbumID</name>
    <value>
    <int>801895</int>
    </value>
    </member>
    <member>
    <name>HighlightID</name>
    <value>
    <int>0</int>
    </value>
    </member>
    <member>
    <name>CategoryID</name>
    <value>
    <int>0</int>
    </value>
    </member>
    <member>
    <name>SubCategoryID</name>
    <value>
    <int>111083</int>
    </value>
    </member>
    <member>
    <name>CommunityID</name>
    <value>
    <int>0</int>
    </value>
    </member>
    <member>
    <name>Position</name>
    <value>
    <int>8</int>
    </value>
    </member>
    <member>
    <name>ImageCount</name>
    <value>
    <int>52</int>
    </value>
    </member>
    <member>
    <name>Title</name>
    <value>
    <string>Evo3D</string>
    </value>
    </member>
    <member>
    <name>Description</name>
    <value>
    <string/>
    </value>
    </member>
    <member>
    <name>Keywords</name>
    <value>
    <string/>
    </value>
    </member>
    <member>
    <name>Public</name>
    <value>
    <boolean>1</boolean>
    </value>
    </member>
    <member>
    <name>Password</name>
    <value>
    <string/>
    </value>
    </member>
    <member>
    <name>Printable</name>
    <value>
    <boolean>1</boolean>
    </value>
    </member>
    <member>
    <name>Filenames</name>
    <value>
    <boolean>0</boolean>
    </value>
    </member>
    <member>
    <name>Comments</name>
    <value>
    <boolean>1</boolean>
    </value>
    </member>
    <member>
    <name>External</name>
    <value>
    <boolean>1</boolean>
    </value>
    </member>
    <member>
    <name>Originals</name>
    <value>
    <boolean>1</boolean>
    </value>
    </member>
    <member>
    <name>EXIF</name>
    <value>
    <boolean>1</boolean>
    </value>
    </member>
    <member>
    <name>Share</name>
    <value>
    <boolean>1</boolean>
    </value>
    </member>
    <member>
    <name>SortMethod</name>
    <value>
    <string>Position</string>
    </value>
    </member>
    <member>
    <name>SortDirection</name>
    <value>
    <boolean>0</boolean>
    </value>
    </member>
    <member>
    <name>LastUpdated</name>
    <value>
    <string>2005-09-11 18:05:50</string>
    </value>
    </member>
    <member>
    <name>FamilyEdit</name>
    <value>
    <string>0</string>
    </value>
    </member>
    <member>
    <name>FriendEdit</name>
    <value>
    <string>0</string>
    </value>
    </member>
    <member>
    <name>HideOwner</name>
    <value>
    <boolean>0</boolean>
    </value>
    </member>
    </struct>
    </value>
    </param>
    </params>
    </methodResponse>



    [/php]
Sign In or Register to comment.