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, relations, categories, tags and project model information. 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 categories with
/model/categorieshandle object type properties with
/model/propertieshandle object type tags with
/model/tagsdefine relations between objects with
/model/relationsretrieve JSON SCHEMA of object types and resources from
/model/schemaretrieve current project model data from
/model/project
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)