Skip to end of metadata
Go to start of metadata
Outdated
Please upgrade to the latest version.

smugmug.subcategories.getAll

Retrieves a list of all subcategories for a given user.

Arguments

  • string SessionID
  • string NickName (optional)
  • string SitePassword (optional)

Result

  • array SubCategories
    • struct SubCategory
      • string id
      • string Title
      • struct Category
        • integer id


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