Appearance
Catgeories
There are three main groups, that resemble the top level categories. Each group contains two more levels. The categories array itself does not contain the hierarchy of the categories. It is a flat array of objects.
The hierarchy can be retrieved from the key of a category object: where the first level contains one letter e.g. D; the second level contains two letters e.g. DC and the third level contains three letters e.g. DC1 or DCA.
Read as:
Dis the first levelDCis the second levelDCAis the third level
A category object has the following structure:
json
{
"key" : "DCA",
"name" : "Wintervorzelt",
"shortname" : null,
"active" : true,
"images" : [ {
"url" : "...",
"width" : 226,
"height" : 188,
"size" : 30891,
"id" : 4036080,
"thumbnails" : [ {
"url" : "...",
"width" : 200,
"height" : 200,
"size" : 1
}, {
"url" : "...",
"width" : 500,
"height" : 500,
"size" : 1
} ],
"description" : ""
} ],
"imagesHeader" : [ ],
"position" : 5
}positionis used for a custom sorting within a category hierarchy