PUT
/
api
/
projects
/
{projectName}
/
views
/
{viewName}
curl --request PUT \
  --url http://127.0.0.1:47334/api/projects/{projectName}/views/{viewName} \
  --header 'Content-Type: application/json' \
  --data '{
  "view": {
    "name": "<string>",
    "query": "<string>"
  }
}'
{
  "name": "<string>",
  "query": "<string>"
}

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

Path Parameters

projectName
string
required

The name of the project

viewName
string
required

The name of the view

Body

application/json
view
object

Response

200 - application/json
name
string
query
string

SELECT query used to create the view