Serialized PHP

StardogStardog Registered Users Posts: 15 Big grins
I'm in the process of testing out the serialized php endpoint. Here is a sample of the output for the method smugmug.albums.get.

Array (
[stat] => ok
[method] => smugmug.albums.get
[Albums] => Array (
[Album] => Array (
[1970035] => Array (
[Album] => Array (
[id] => 1970035
[Title] => Kris and Robin's Wedding )
[Category] => Array (
[Category] => Array (
[Category] => Array (
[id] => 23
[Title] => Weddings ) ) ) )
[1914702] => Array (
[Album] => Array (
[id] => 1914702
[Title] => Thanksgiving )
[Category] => Array (
[Category] => Array (
[Category] => Array (
[id] => 31
[Title] => Holidays ) ) )
[SubCategory] => Array (
[SubCategory] => Array (
[SubCategory] => Array (
[id] => 233479
[Title] => 2005 ) ) ) )
) ) )

There's two extra [Category] arrays. [SubCategory] does the same thing.

I'd file this as a smugbug, but I don't have an account :(

Comments

  • StardogStardog Registered Users Posts: 15 Big grins
    edited November 6, 2006
    Is it possible that the API has changed? Now I no longer get a category ID # back from the API. This has been working for me for a few weeks, and as of the past day or so, now all my photos are showing up in category 0, because the API is not returning the ID for the category array.


    [1963564] => Array
    (
    [Album] => Array
    (
    [id] => 1963564
    [Position] => 19
    [ImageCount] => 7
    [Title] => Jillian
    [Description] => Photos of my mom's Shih-Tzu, Jillian.
    [Keywords] =>
    [Public] => 1
    [Password] =>
    [Printable] => 1
    [Filenames] =>
    [Comments] => 1
    [External] => 1
    [Originals] =>
    [EXIF] => 1
    [Share] => 1
    [SortMethod] => DateTimeOriginal
    [SortDirection] =>
    [LastUpdated] => 2006-10-03 17:24:31
    [FamilyEdit] => 0
    [FriendEdit] => 0
    [HideOwner] =>
    )

    [highlight] => Array
    (
    [highlight] => Array
    (
    [id] => 0
    )

    )

    [Community] => Array
    (
    [Community] => Array
    (
    [id] => 0
    )

    )

    [Category] => Array
    (
    [Category] => Array
    (
    [Category] => Array
    (
    [id] =>
    [Title] => Pets
    )

    )

    )

    )
Sign In or Register to comment.