Skip to main content
POST
/
api
/
v1
/
projects
/
{projectUuid}
/
sqlRunner
/
virtual-view
cURL
curl --request POST \
  --url http://api/v1/projects/{projectUuid}/sqlRunner/virtual-view \
  --header 'Content-Type: application/json' \
  --data '
{
  "columns": [
    {
      "type": "string",
      "reference": "<string>"
    }
  ],
  "sql": "<string>",
  "name": "<string>"
}
'
{
  "results": {
    "name": "<string>"
  },
  "status": "ok"
}

Path Parameters

projectUuid
string
required

Body

application/json
columns
object[]
required
sql
string
required
name
string
required

Response

Success

results
object
required

From T, pick a set of properties whose keys are in the union K

status
enum<string>
required
Available options:
ok