Options

[RESOLVED] Documentation Bug: smugmug.albums.get -SubCategory should be mark optional

luke_churchluke_church Registered Users Posts: 507 Major grins
Mod Edit: SmugWiki documentation updated

Description: The documentaiton for albums.get states that the subcategory will allways be returned as part of the struct. However, if there are albums that are only associated with a category, the method does not return a subCategoryID or a SubCategory. Both should therefore be marked optional

Behaviour of XML-RPC 1.1.1 confirmed against XML-RPC 1.1.0

Sample:

[php]



smugmug.albums.get



..














AlbumID

808726



Title

Israel



CategoryID

38758



Category

FlickrTest




...
(Example with subcat)



AlbumID

801894



Title

378d93cc-bba6-4b3c-bb6a-63afb636e3152005-09-04-19-39-50



CategoryID

0



Category

Other



SubCategoryID

111083



SubCategory

ImagesTest











[/php]
Sign In or Register to comment.