Manage Domain Columns

Login as an administrative user before using these API calls.

get

Get almost every thing related a domain name column. These include label, width, access level, type of field etc.

Parameter Notes
c admin
t domain
oper get
name name of the domain or sub-domain column
?c=admin&t=domain&oper=get&name=domain
{
    "status": "ok",
    "error": "",
    "validate": 0,
    "data": {
        "id": "2",
        "name": "domain",
        "tablename": "domains",
        "server": "*",
        "label": "Domain",
        "editable": "0",
        "gridview": "1",
        "custom": "0",
        "fieldtype": "string",
        "width": "181",
        "acslevel": "0"
    }
}

set

Set domain column properties like label, access level, width in table, etc.

Parameter Notes
c admin
t domain
oper set
name name of the domain or sub-domain column
label The label for the column
width Suggest width in pixels for the column
acslevel The access level for the column, 0 = maximum accessibility and 24 = minimum accessibility.
?c=admin&t=category&oper=set&name=customer_name&acslevel=1&label=Customer