Create Deriver
POST/api/v1/derivers
Create Deriver
Request
- application/json
Body
Body
2025-01-01T00:00:00ZCreate parent resources if they don't exist
falseResponses
- 201
- 400
- 401
- 403
- 404
- 409
- 500
201
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
ID of the Deriver
Possible values: > 0
1000Name of the Deriver class definition
TestDeriverCreation Date of the Deriver
2025-08-25T19:29:40.668ZUpdate Date of the Deriver
2025-08-25T19:29:40.668Z2025-01-01T00:00:00Zinputs
object[]
required
ID of the Signal
Possible values: > 0
1000Name of the Signal
Signal 1Creation Date of the Signal
2025-08-25T19:29:40.667ZUpdate Date of the Signal
2025-08-25T19:29:40.667ZPhysical unit of the Signal
m/sData type of the Signal
Possible values: [float, boolean, string, json]
floatDescription of the Signal
DescriptionLong description of the Signal
workspace
object
required
ID of the Workspace
Possible values: > 0
1000Name of the Workspace
Workspace 1asset
object
required
ID of the Asset
Possible values: > 0
1000Name of the Asset
Asset 1division
object
required
ID of the Division
Possible values: > 0
1000Name of the Division
Division 1unit
object
required
ID of the Unit
Possible values: > 0
1000Name of the Unit
Unit 1outputs
object[]
required
ID of the Signal
Possible values: > 0
1000Name of the Signal
Signal 1Creation Date of the Signal
2025-08-25T19:29:40.667ZUpdate Date of the Signal
2025-08-25T19:29:40.667ZPhysical unit of the Signal
m/sData type of the Signal
Possible values: [float, boolean, string, json]
floatDescription of the Signal
DescriptionLong description of the Signal
workspace
object
required
ID of the Workspace
Possible values: > 0
1000Name of the Workspace
Workspace 1asset
object
required
ID of the Asset
Possible values: > 0
1000Name of the Asset
Asset 1division
object
required
ID of the Division
Possible values: > 0
1000Name of the Division
Division 1unit
object
required
ID of the Unit
Possible values: > 0
1000Name of the Unit
Unit 1Possible values: [STARTING, RUNNING, STOPPED, ERROR]
{
"id": 1000,
"name": "TestDeriver",
"createdAt": "2025-08-25T19:29:40.668Z",
"updatedAt": "2025-08-25T19:29:40.668Z",
"definition": "string",
"description": "string",
"startAt": "2025-01-01T00:00:00Z",
"inputs": [
{
"id": 1000,
"name": "Signal 1",
"createdAt": "2025-08-25T19:29:40.667Z",
"updatedAt": "2025-08-25T19:29:40.667Z",
"physicalUnit": "m/s",
"dataType": "float",
"description": "Description",
"longDescription": "string",
"workspace": {
"id": 1000,
"name": "Workspace 1"
},
"asset": {
"id": 1000,
"name": "Asset 1"
},
"division": {
"id": 1000,
"name": "Division 1"
},
"unit": {
"id": 1000,
"name": "Unit 1"
}
}
],
"outputs": [
{
"id": 1000,
"name": "Signal 1",
"createdAt": "2025-08-25T19:29:40.667Z",
"updatedAt": "2025-08-25T19:29:40.667Z",
"physicalUnit": "m/s",
"dataType": "float",
"description": "Description",
"longDescription": "string",
"workspace": {
"id": 1000,
"name": "Workspace 1"
},
"asset": {
"id": 1000,
"name": "Asset 1"
},
"division": {
"id": 1000,
"name": "Division 1"
},
"unit": {
"id": 1000,
"name": "Unit 1"
}
}
],
"status": "STARTING"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: [Validation Error]
errors
object[]
required
Possible values: [body, query, path, headers]
{
"status": "Validation Error",
"errors": [
{
"error": "string",
"location": "body"
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [Unauthorized]
{
"status": "Unauthorized"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [Forbidden]
{
"status": "Forbidden"
}
Not found
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
oneOf
Workspaces not found
Possible values: [Workspaces not found]
outputs
object[]
required
Outputs with missing workspaces
Name of the Workspace
Workspace 1Name of the Asset
Asset 1Name of the Division
Division 1Name of the Unit
Unit 1Name of the Signal
Signal 1Output name
Assets not found
Possible values: [Assets not found]
outputs
object[]
required
Outputs with missing assets
Name of the Workspace
Workspace 1Name of the Asset
Asset 1Name of the Division
Division 1Name of the Unit
Unit 1Name of the Signal
Signal 1Output name
Divisions not found
Possible values: [Divisions not found]
outputs
object[]
required
Outputs with missing divisions
Name of the Workspace
Workspace 1Name of the Asset
Asset 1Name of the Division
Division 1Name of the Unit
Unit 1Name of the Signal
Signal 1Output name
Units not found
Possible values: [Units not found]
outputs
object[]
required
Outputs with missing units
Name of the Workspace
Workspace 1Name of the Asset
Asset 1Name of the Division
Division 1Name of the Unit
Unit 1Name of the Signal
Signal 1Output name
Signals not found
Possible values: [Signals not found]
inputs
object[]
required
Inputs with missing signals
Name of the Workspace
Workspace 1Name of the Asset
Asset 1Name of the Division
Division 1Name of the Unit
Unit 1Name of the Signal
Signal 1Input name
{}
Already exists
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
- MOD3
Array [
]
Array [
]
oneOf
Deriver already exists
Possible values: [Deriver already exists]
Deriver Output already exists
Possible values: [Deriver Output already exists]
outputs
object[]
required
Name of the Workspace
Workspace 1Name of the Asset
Asset 1Name of the Division
Division 1Name of the Unit
Unit 1Name of the Signal
Signal 1Output name
Input type mismatch
Possible values: [Input type mismatch]
inputs
object[]
required
Input name
Received data type
Possible values: [float, boolean, string, json]
Expected data type
Possible values: [float, boolean, string, json]
{}
Unexpected error
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [Unexpected error]
{
"status": "Unexpected error"
}