| Outdated Please upgrade to the latest version. |
smugmug.categories.get
Retrieves a list of categories for a given user.
Arguments
- SessionID - String.
- NickName - String (optional).
- SitePassword - String (optional).
Result
- array Categories
- struct Category
- string id
- string Title
- struct Category
| 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"
Sample Responses
REST
JSON
PHP
XML-RPC
Labels:
None
1 Comment
comments.show.hideOct 14, 2009
Anonymous
NickName appears to be required. Without it I got: err code="4" msg="invalid user"