v8

latestSwagger 2.02026-07-13120150263.9 KB

Publish a new device template. Default views will be automatically generated for new device templates created this way.

put/deviceTemplates/{deviceTemplateId}

Path parameters

deviceTemplateIdstring required

Unique Digital Twin Model Identifier of the device template.

Query parameters

api-versionstring required

The version of the API being called.

Request body

@idstring

Unique ID of the device template.

@typestring[] required

The JSON-LD types of this device template.

etagstring

ETag used to prevent conflict in device template updates.

displayNamestring

Display name of the device template.

descriptionstring

Detailed description of the device template.

capabilityModelobject required

The capability model utilized by this device template.

Response

Success

@idstring

Unique ID of the device template.

@typestring[] required

The JSON-LD types of this device template.

etagstring

ETag used to prevent conflict in device template updates.

displayNamestring

Display name of the device template.

descriptionstring

Detailed description of the device template.

capabilityModelobject required

The capability model utilized by this device template.