Download
Last stable v 5.2 2024-11-01
API URL | /logged |
Description | Get CMS logged user info |
Access | free |
Rquest method | GET |
Request data type | n/a |
Request data | n/a |
Response type | JSON |
Response data |
{
rc:'0',
msg:'',
data: {
uid: 'user id',
name: 'user name',
logged: true/false,
remember: false, // don't remember
limit: false, // don't limit access control
admin: true/false,
ip: 'http clent ip address',
lang: 'language code',
lang_id: 'language id',
url: 'language url',
grp: ['grp code', ...],
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: [] }
},
root: 'site root folder real path',
data: 'site CMS data folder real path',
files: 'site/subsite CMS files folder real path',
files_config: 'root site/subsite CMS files folder relative path',
files_not_local: 'root site CMS files folder real path',
images: 'site/subsite CMS images folder real path',
images_config: 'root site/subsite CMS images folder relative path',
db_id: 'DB connector ID',
db_type: 'DB type',
db_server: 'DB server',
db_usr: 'DB user',
db_sch: 'DB schema'
}
}
|