Download
Last stable v 5.2 2024-11-01
API URL | /login/:uid/:psw |
Description | CMS user login RESTFul API |
Access | free |
Rquest method | GET |
Request data type | URL route parameters |
Request data |
|
Response type | JSON |
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: [] }
}
]
}
|