Returns category hierarchy with category properties available on the site.
Name | Value | Description |
---|---|---|
root | category_name | Name of the category data requested for. |
select | select_string | Determines properties written out. |
depth | number | Sets the number of nesting levels for the child nodes in the request. Depth=1 requests only direct children. |
hidezerohits | true | false | Hides (TRUE) or shows (FALSE) categories having zero hit count value. |
filter | hit-top(number) | total-top(number) | none | If select_string contains "children" then no more than number children node will be returned with maximum values of hit-count or total-count attribute. Default value is none |
q, x, d, s, mh | Specifies the query for hit-count calculation. Similar to XHitList URL-parameters. |
Value | Description |
---|---|
name | Returns category's name. |
title | Returns category's title. |
total-count | Returns the total amount of documents belonging to the category. |
hit-count | Returns the total amount of documents belonging to the category AND the query specified in q, x, d, s, mh parameters. |
has-children | Returns a flag indicating presence of children for the category. |
path | Returns all parent categories of the specified category. For example, if category=year/september/15 then properties of the year/september and year will be also returned. |
children | Returns children in of the category. |
http://localhost/NXT/Gateway.dll?f=category& root=medals& select=name;title;children;total-count;has-children& depth=1
The result of this sample request is the following XML file:
Copyright © 2006-2023, Rocket Software, Inc. All rights reserved.