Skip to main content
POST
/
projects
/
{project_name}
/
tables
/
{table_id}
/
schema
POST /projects/{project_name}/tables/{table_id}/schema
curl --request POST \
  --url https://api.cloudsquid.io/api/projects/{project_name}/tables/{table_id}/schema \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "schema": {
    "name": "<string>",
    "description": "<string>",
    "fields": {},
    "id": "<string>"
  }
}
'

Authorizations

X-API-Key
string
header
required

Path Parameters

project_name
string
required

The name of the project

table_id
string<uuid>
required

The id of the table

Body

application/json

schema of the data

schema
object
required

Response

Successfully created field