| Outdated Please upgrade to the latest version. |
smugmug.subcategories.get
Retrieves a list of subcategories within a specified category for a given user.
Arguments
- string SessionID
- integer CategoryID
- string NickName (optional)
- string SitePassword (optional)
Result
- array SubCategories
- struct SubCategory
- string id
- string Title
- struct SubCategory
| Note: From API version 1.2.1 onwards, to resolve naming inconsistencies the "Title" parameter has been renamed to "Name". |
Fault Codes
- 3 - "invalid session"
- 4 - "invalid user"
- 15 - "empty set - no subcategories found"
Sample Responses
REST
JSON
PHP
XML-RPC
Labels:
None
1 Comment
comments.show.hideJan 24, 2009
Anonymous
The json and php methods show Categories as the name of the array, but the REST and documentation at the top show SubCategories as the name.