Skip to main content
PUT
Sync entity schemas

Authorizations

api_key
string
header
required

Personal API key.

Path Parameters

app_id
string
required

ID of the app whose entity schemas you want.

Body

application/json
entityNameToSchema
Entitynametoschema · object
required

The app's complete set of entities, keyed by entity name. Each value is that entity's JSON Schema. Any entity the app currently has and this map does not is deleted.

Example:

Response

What the sync created, updated, and deleted, plus any warnings.

created
string[]
required

Entities that did not exist before and were added.

Example:
updated
string[]
required

Entities that already existed and were replaced.

Example:
deleted
string[]
required

Entities the app had and the request left out, which were removed.

Example:
warnings
string[]

Problems Base44 accepted rather than rejected. Currently these are row-level security rules it cannot enforce on an entity that has no previous version, which a deploy usually carried over rather than wrote. The sync still applied.

Example: