Options

[RESOLVED] Documentation Ommision: smugmug.subcategories.get

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

Percieved Priority: Low

Issue: Documentation doesn't state response to there being no subcategories.

http://www.smugmug.com/hack/method-smugmug.subcategories.get

Given what the documentation states about get albums, that if there aren't any an empty array will be returned, http://www.smugmug.com/hack/method-smugmug.albums.get:
Array of structs: [empty arrary if no albums]
The same behaviour might be assumed for subcategories.

However, XML-RPC 1.1.0 returns fault code 15, empty set:

[php]



smugmug.subcategories.get



...




0




Header






faultCode

15



faultString

empty set - no subcategories found







[/php]
Sign In or Register to comment.