Skip to end of metadata
Go to start of metadata
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


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
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Oct 14, 2009

    Anonymous

    NickName appears to be required. Without it I got: err code="4" msg="invalid user"