Model Service Overview


A model is the abstraction and digitization of an entity object in the physical world. You can search and get models through the APIs in the model service. For details about models, see Device Modeling.


The APIs in the model service are some of the APIs EnOS provides that cover the core business processes of the system. For more information on EnOS APIs and the different APIs that EnOS provides, see About EnOS API.


For more information on how to invoke EnOS APIs, see Get Started with EnOS API.

Prerequisites

Ensure that you have read the limitations for models. See Limitations.

API List

Refer to the table below for the list of APIs, and whether they can be used by EnOS Cloud and EnOS Edge.


Operation Name Description URL EnOS Cloud EnOS Edge
Get Thing Model Get models by modelId /model-service/v2.1/thing-models?action=get
Search Thing Model Search for models /model-service/v2.2/thing-models?action=search
Update Thing Model Update a model /model-service/v2.1/thing-models?action=update ×

API Editions


The following table lists the API services included in Model Service Enterprise and Lightweight editions.

Operation Name Enterprise Lightweight
Get Thing Model
Search Thing Model
Update Thing Model

SDK Samples


You can access the SDK samples for model service on GitHub: