Active Table Versions User can View

The GetActiveTables function returns an array of all active table versions the user has permission to view. If the user belongs to more than one account, active table versions from all accounts will be returned. The optional account parameter can be included to show only active table versions for a specific account.

GET/Remote/GetActiveTables

REQUEST PARAMETERS

ParameterTypeDescriptionRequired
account string If the parameter is included in the request, response will contain only table versions from this account.

EXAMPLE REQUEST

https://my.maplarge.com/Remote/GetActiveTables?mluser=user@domain.com&mltoken=token

*Either a token or password can be used in any request where authentication is required.

RETURNS

{
    {
    "id": "f102980fc37e4654b5ddc22ef20c65fc",
    "hash": null,
    "success": true,
    "isCached": false,
    "authorized": true,
    "errors": [],
    "timestamp": 1420568626,
    "data": null,
    "tables": [
        {
            "id": "test/tristateroads/635298070320796866",
            "acctcode": "test",
            "name": "tristateroads",
            "version": 635298070320796900,
            "description": "None currently",
            "created": "3/7/2014 4:37:12 PM",
            "inram": false,
            "columns": [
                {
                    "id": "test/tristateroads/635298070320796866/estimatedSpeed",
                    "type": "Int32",
                    "created": "5/20/2014 3:08:57 PM"
                },
                {
                    "id": "test/tristateroads/635298070320796866/GRAPH",
                    "type": "Graph",
                    "created": "5/20/2014 3:08:57 PM"
                }
            ]
        }
    ]
}

ACTION SPECIFIC RESPONSE VALUES

ParameterTypeDescription
Tables[].id string Long table name: account/tablename/version
Tables[].acctcode string Account that owns the table version.
Tables[].name string Name of table
Tables[].version int Table version: 634539686979616719
Tables[].created datetime Date and time when table version was created.
Tables[].inram boolean Table is currently in RAM: true or false
Tables[].columns JSON An array containing all of the columns in the table version.
Columns[].id string Long table name and column name: account/tablename/version/columnname.
Columns[].type string Data type of column.