Creates new model
POST/iot/models
Creates new model. User identified by the provided access token will be the model's owner.
Authorization Action:
core:models:create
Request
- application/json
Body
required
JSON-formatted document describing the new model.
id uuid
Unique model identifier.
name string
Free-form model name.
description string
Free-form model description.
metadata object
Arbitrary, object-encoded model data.
tags string[]
List of tags associated with the model.
tenants string[]
List of tenants that can access this model.
image string
URL to model image.
created_at date-time
Time when the model was created.
updated_at date-time
Time when the model was last updated.
Responses
- 201
- 400
- 401
- 409
- 415
- 500
Model created successfully.
Response Headers
Location string
URL to created model resource.
Failed due to malformed JSON.
Missing or invalid access token provided.
Entity already exist.
Missing or invalid content type.
Unexpected server error.
- application/json
- Schema
Schema
- string byte
Loading...