PDA

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


luke_church
Sep-14-2005, 05:27 AM
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:





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