Skip to content

Create a new device model

POST
/device-models
curl --request POST \
--url https://api.waku-robotics.com/v1/device-models \
--header 'Authorization: <Authorization>' \
--header 'Content-Type: application/json' \
--data '{ "manufacturer_id": "example", "name": "example" }'

Create a new device model

Device-model

Media typeapplication/json
object
manufacturer_id
required

The ID of the manufacturer of the device model

string
name
required

The name of the device model

string

Example generated

{
"manufacturer_id": "example",
"name": "example"
}

OK

Media typeapplication/json
object
created_at
required
string
id
required
string
manufacturer
required
string
manufacturer_id
required
string
name
required
string
slug
required
string
updated_at
required
string

Example generated

{
"created_at": "example",
"id": "example",
"manufacturer": "example",
"manufacturer_id": "example",
"name": "example",
"slug": "example",
"updated_at": "example"
}
Media typeapplication/json
object
code
integer
message
string

Example generated

{
"code": 1,
"message": "example"
}