Skip to content

CreateEdgeDeviceBody

Field Type Required Description and constraints
platform string No values "native", "axis". default "native"
organizationId string (uuid) or null No
name string Yes minimum length 1. maximum length 128
cameraIds array of string (uuid) No maximum items 100
settings EdgeSettings No
replacesDeviceId string (uuid) or null No

Additional properties are rejected by this schema.

{
"properties": {
"platform": {
"type": "string",
"enum": [
"native",
"axis"
],
"title": "Platform",
"default": "native"
},
"organizationId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
],
"title": "Organizationid"
},
"name": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"title": "Name"
},
"cameraIds": {
"items": {
"type": "string",
"format": "uuid"
},
"type": "array",
"maxItems": 100,
"title": "Cameraids"
},
"settings": {
"$ref": "#/components/schemas/EdgeSettings"
},
"replacesDeviceId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
],
"title": "Replacesdeviceid"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"name"
],
"title": "CreateEdgeDeviceBody"
}
Image preview