You are here

Invalid category ID

Hi.
Please look at this script http://dumpz.org/6000/
It produces following output:
[{u'id': u'1921', u'weight': u'0.6942493'}]

Is value 1921 is valid?
Documentation says [1] that default dimensions have number between 1 and 1776 [2]

[1]: http://www.semantichacker.com/api_docs/api/configuration_ids.xhtml
[2]: http://www.semantichacker.com/api_docs/labels/odp_2007_l1_1.7k.txt

Forums: 

Lorien,
The primary purpose of the labels file is for use with mapping a dimension id for dimensions contained within a signature to a human readable label. While a category returned by the category call is a dimension, the id returned in that structure is currently an internal category id and not a dimension id. We will be working on a solution to the problem you have reported. In the mean time you can obtain the label for the category by specifying the ‘showLabels=true’ parameter within your call to the API call as follows:

http://api.semantichacker.com/[TOKEN]/category?uri=http://dumpz.org/6000/&showLabels=true

Regards,
Bill