Create App Model

Path Params
string
required

Unique Product ID

Body Params
string
required

The stored name records are kept under and the data API's path names (/api/apps/models/{name}). Lowercase letters, digits and underscores; it cannot change later.

string
required
boolean

When true, the app's page cannot read or write this model; only its functions can. Defaults to false.

schema
object
required

{ "fields": [...], "key": [...] }. Each field has a key, a type (string, number, decimal, boolean, date, datetime, currency, enum, file) and optionally display, required, values (enum), max_length, function_only, sensitive, content_types and max_bytes (file). key names the fields a record is unique by within a practice.

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json