POST
/
api
/
databases
/
{databaseName}
/
tables
curl --request POST \
  --url http://127.0.0.1:47334/api/databases/{databaseName}/tables \
  --header 'Content-Type: application/json' \
  --data '{
  "table": {
    "name": "<string>",
    "select": "<string>",
    "replace": true
  }
}'
{
  "name": "<string>",
  "type": "<string>"
}

The REST API playground can currently only be used with MindsDB running locally at http://127.0.0.1:47334.

Path Parameters

databaseName
string
required

Name of the database

Body

application/json
table
object

Response

200 - application/json
name
string
type
string

Type of table (data | view)