ListTable Request¶
-
GET/Database/list¶ This get request returns a list of tables that the token has access to.
Example request:
GET /Database/List HTTP/1.1 Host: example.com Accept: application/json
- Request Headers
user_token – User token.
admin_token – Admin token.
Note
Only one token should be provided. If provided both user token will be ignored.
Example response:
HTTP/1.1 200 OK Vary: Accept Content-Type: application/json { "List": [ "table-local-name-1", "table-local-name-2", "table-local-name-3", "table-local-name-4" ], "status": "success" }- Status Codes
200 OK – No errors.
400 Bad Request – Bad request. Check request body.