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


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.
  1. Jan 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.