v1

latestOpenAPI 3.0.32026-07-13218142597.2 KB
Database

Create database

Creates a database in the space.

Permissions required: Permission to view the corresponding space. Permission to create a database in the space.

post/databases

Query parameters

privateboolean

The database will be private. Only the user who creates this database will have permission to view and edit one.

Request body

spaceIdstring required

ID of the space.

titlestring

Title of the database.

parentIdstring

The parent content ID of the database.

Response

Returned if the database was successfully created.

idstring

ID of the database.

typestring

The content type of the object.

status'current' | 'draft' | 'archived' | 'historical' | 'trashed' | 'deleted' | 'any'

The status of the content.

titlestring

Title of the database.

parentIdstring

ID of the parent content, or null if there is no parent content.

parentType'page' | 'whiteboard' | 'database' | 'embed' | 'folder'

Content type of the parent, or null if there is no parent.

positioninteger nullable

Position of the database within the given parent page tree.

authorIdstring

The account ID of the user who created this database originally.

ownerIdstring

The account ID of the user who owns this database.

createdAtstring date-time

Date and time when the database was created. In format "YYYY-MM-DDTHH:mm:ss.sssZ".

spaceIdstring

ID of the space the database is in.