Model /model
/model base endpoint provides a set of methods dedicated to data modeling.
Unlike other endpoints /model is basically a prefix to the actual endpoints that handle object types, property types, properties and relations. You can see this endpoints collection as the API Modeling part of BEdita.
Main operations available on these endpoints:
list, create, update and (de)activate object types via
/model/object_typesdefine new property types using JSON SCHEMA
/model/property_typeshandle object type properties with
/model/propertiesdefine relations between objects with
/model/relationsretrieve JSON SCHEMA of object types and resources from
/model/schema
Model endpoints reference
Naming convention
Main entities describing your data model must be in lowered snake_case format as internal naming convention.
This applies to name attribute of object types (also singular see Create an object type), property types, properties and relations (also inverse_name)