PDA

View Full Version : [RESOLVED] Documentation Ommision: smugmug.subcategories.get


luke_church
Sep-11-2005, 12:52 PM
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:





smugmug.subcategories.get



...




0




Header






faultCode

15



faultString

empty set - no subcategories found