Skip to content

Get Tables

nbajiaoshi edited this page Jun 4, 2018 · 2 revisions
GET /api/getTables

Returns a list of tables avaliable for the current user. Each table contains a display name and an actual table name. You should display the display name to user and user actual table name as parameter to communicate with other table api.

Parameters

None

Example

Request

GET https://localhost:8080/api/getTables

Response

{
    "status": "success",
    "message": null,
    "data": {
        "tables": [
            {
                "displayName": "Student",
                "tableName": "_sdfweokjfd_Student",
                "link":"dfjoewidoxEIWJAOIDX"
            },
            {
                "displayName": "Teacher",
                "tableName": "_OINKOjfeod_Professor",
                "link":"vjh6u3yqsFYTAMONBUX"
            },
        ]
    }
}

Clone this wiki locally