/login/:uid/:psw

    API URL/login/:uid/:psw
    DescriptionCMS user login RESTFul API
    Accessfree
    Rquest methodGET
    Request data typeURL route parameters
    Request data
    • :uid - user ID
    • :psw - user password (md5 32 byte code)
    Response typeJSON
    Response data
    { rc: 'return code', // '0' - success, '1' - error msg: 'return message', // error message data:[ uid: 'user id', // user id grp: ['grp id',...], // array of assigned group id name: 'user name', // user name = last name + first name logged: true, // logged remember: false, // don't remember limit: false, // don't limit access control admin: true/false, // true if builtin administrator ip: 'client ip address', // http client ip address lang: 'language code', // language, ex. 'eng' lang_id: 'language id', // language id, ex. 'en' lang_preferred_id: : 'language id', // preferred language id, ex. 'en' url: 'language url', // language url, ex. '/' access: { i: "1", r: { g: [], u: [] }, w: { g:[], u: [] }, e: { g: [], u: [] }, m: { g: [], u: [] } }, access_inherit: { root: 1, r: { g: [], u: [] }, w: { g: [], u: [] }, e: { g: [], u: [] }, m: { g: [], u: [] } } ] }