/dir/new/:id

    API URL/dir/new/:id
    DescriptionCreate new CMS pages tree folder RESTFul API
    AccessRestricted to roles: admin, demo (r/o)
    Rquest methodPOST
    Request data typeRequest variables
    Request data
    • key - pages tree parent folder id in DB table
    • title - new folder title
    Response typeJSON
    Response data
    { rc: 'return code', // '0' - success, '1' - error msg: 'return message', // error message data:[ key: 'pages tree folder id in DB table', seq: 'XXXXXXX', // unique SEQ up: 'parent folder id in DB table', title: 'folder title', // ex. 'demo' url: '', editor: 'last update editor name', // ex. 'Linkoln Edgar', '0' - if cms builtin administrator timestamp: 'last update timestamp' // ex. '2013-09-02 15:04:33' ] }