Templates

Registers a new device template within the system, using the JSON Schema standard to define the device template attributes and constraints.

Changed on
post/templates/device/{templateId}

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body

propertiesobject

Map of allowed properties (string, number, boolean and datetime types allowed only)

requiredstring[]

List of required properties

Response

Created successfully

Changes

    • info

      added the non-success response with the status

    • breaking

      the /// request property type changed from string to no type (media type: application/vnd.aws-cdf-v1.0+json)

    • breaking

      the /// request property type changed from string to no type (media type: application/vnd.aws-cdf-v2.0+json)

    • breaking

      the /// request property type changed from string to no type (media type: application/vnd.aws-cdf-v1.0+json)

    • breaking

      the /// request property type changed from string to no type (media type: application/vnd.aws-cdf-v2.0+json)

    • info

      added subschema #1 subschema #2 to the /// request property oneOf list (media type: application/vnd.aws-cdf-v1.0+json)

    • info

      added subschema #1 subschema #2 to the /// request property oneOf list (media type: application/vnd.aws-cdf-v2.0+json)

    • info

      added subschema #1 subschema #2 to the /// request property oneOf list (media type: application/vnd.aws-cdf-v1.0+json)

    • info

      added subschema #1 subschema #2 to the /// request property oneOf list (media type: application/vnd.aws-cdf-v2.0+json)