API URL/mnu/tree
    DescriptionGet CMS menu tree RESTFul API
    AccessRestricted to roles: admin, demo
    Rquest methodGET
    Request data
    • folders - get only folder nodes [true | false], default: false
    Response typeJSON
    Response data
    [ // fancytree object data { key: '###ROOT###', // menu root node key seq: '', filter: '', title: 'Site', // root node title folder: true, // node is folder type: '0', // 0 - menu root node hideCheckbox: true, // hide checkbox for root node unselectable: true, // node can't be selected children: [ // tree children nodes array { // language node key: 'language free code', // ex. 'eng' seq: 'XXXXXXX', // unique SEQ filter: 'language id in DB table', // ex. '1' title: 'language default page title', // ex. "Home" url: 'language URL', // ex. "/eng" tooltip: 'text about language', editor: 'last update editor name', // ex. 'Linkoln Edgar', 'CMS' - if cms builtin administrator timestamp: 'last update timestamp' // ex. '2013-09-02 15:04:33' folder: true, // node is folder type: '1', // 1 - language node extraClasses: 'styling classes', // ['cms-tree-language' | 'cms-tree-language-restricted'], if access is not free: 'cms-tree-language-restricted' childCounter: 'child count', // ex. 30 children: [ // node children items array { // menu node key: 'menu id in DB table', // ex. '1' seq: 'XXXXXXX', // unique SEQ filter: 'language id in DB table', // ex. '1' title: 'menu title', // ex. "Samples" url: 'menu URL', // ex. "/samples" lang: 'language free code', // ex. 'eng' tooltip: 'text about menu', editor: 'last update editor name', // ex. 'Linkoln Edgar', 'CMS' - if cms builtin administrator timestamp: 'last update timestamp' // ex. '2013-09-02 15:04:33' folder: true, // node is folder type: '2', // 2 - menu node extraClasses: 'styling classes', // ['cms-tree-page-hidden' | 'cms-tree-page-logon' | 'cms-tree-page-logoff' | 'cms-tree-page-restricted'] childCounter: 'child count', // ex. 15 children: [...] // children menu node array } ... ] } ... ] }, { key: '###COLLECTION###', // collection root node key seq: '', filter: '###COLLECTION###', title: 'Collection"', // root node title folder: true, // node is folder type: '3', // 3 - collection root node hideCheckbox: true, // hide checkbox for root node unselectable: true, // node can't be selected children: [ // tree children nodes array { // language node key: ''menu id in DB table', // ex. '563' seq: 'XXXXXXX', // unique SEQ filter: '###COLLECTION###', title: 'language default page title', // ex. "Home" url: 'language URL', // ex. "/eng" tooltip: 'text about language', editor: 'last update editor name', // ex. 'Linkoln Edgar', 'CMS' - if cms builtin administrator timestamp: 'last update timestamp' // ex. '2013-09-02 15:04:33' folder: true, // node is folder type: '1', // 1 - language node extraClasses: 'styling classes', // ['cms-tree-page-hidden' | 'cms-tree-page-logon' | 'cms-tree-page-logoff' | 'cms-tree-page-restricted'] childCounter: 'child count', // ex. 30 children: [ // node children items array { // menu node key: 'menu id in DB table', // ex. '1' seq: 'XXXXXXX', // unique SEQ filter: '###COLLECTION###', title: 'menu title', // ex. "Samples" url: 'menu URL', // ex. "/samples" lang: 'language free code', // ex. 'eng' tooltip: 'text about menu', editor: 'last update editor name', // ex. 'Linkoln Edgar', 'CMS' - if cms builtin administrator timestamp: 'last update timestamp' // ex. '2013-09-02 15:04:33' folder: true, // node is folder type: '2', // 2 - menu node childCounter: 'child count', // ex. 15 extraClasses: 'styling classes', // ['cms-tree-page-hidden' | 'cms-tree-page-logon' | 'cms-tree-page-logoff' | 'cms-tree-page-restricted'] children: [...] // children menu node array } ... ] } ... ] } ]