Skip to main content
POST
/
base
/
{baseId}
/
node
cURL
curl --request POST \
  --url http://127.0.0.1:3000/api/base/{baseId}/node \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "resourceType": "folder",
  "name": "<string>",
  "parentId": "<string>"
}
'
{
  "id": "<string>",
  "parentId": "<string>",
  "resourceId": "<string>",
  "order": 123,
  "resourceType": "table",
  "resourceMeta": {
    "name": "<string>",
    "icon": "<string>",
    "defaultViewId": "<string>"
  },
  "parent": {
    "id": "<string>"
  },
  "children": [
    {
      "id": "<string>",
      "order": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

baseId
string
required

Body

application/json
resourceType
enum<string>
required
Available options:
folder
name
string
required
Minimum string length: 1
parentId
string | null

Response

200 - application/json

Created node

id
string
required
parentId
string | null
required
resourceId
string
required
order
number
required
resourceType
enum<string>
required
Available options:
table
resourceMeta
object
required
parent
object
children
object[] | null