POST /api/v1/tables/list

Retrieve an ordered list of all existing tables.

Resource Information

Content-Type application/json

Parameters

database (optional) The name of the database.
order (optional) The order of the table names ("desc" or "asc"). Defaults to "asc".

Example Request

    >> POST /api/v1/tables/list HTTP/1.1
    >> Content-Type: application/json
    >> Content-Length: ...
    >>
    >> {
    >>   "database": "sensor_database",
    >>   "order": "desc"
    >> }

Example Response

    << HTTP/1.1 200 OK
    << Content-Type: application/json
    << Content-Length: ...
    <<
    << {
    <<   "tables": [
    <<     {
    <<       "name": "my_sensor_table"
    <<     }
    <<   ]
    << }