2026_08_31

This commit is contained in:
marco committed 2026-08-31 16:19:06 +02:00
commit 73015386e9
2320 files changed
+80291

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
### Get By Ids
GET http://localhost:3000/rk2/components/6a901cc6939c157328d3e3e7
+32
View File
@@ -0,0 +1,32 @@
### Get All
GET http://localhost:3000/rk2/groups
### Get By Ids
GET http://localhost:3000/rk2/groups/6a8bf9e853f346de0c74c3d2
### Get Childs of Id
GET http://localhost:3000/rk2/groups/childs/6a8bf9e853f346de0c74c3d2
### Create
POST http://localhost:3000/rk2/groups
Content-Type: application/json
{
"name":"Teil 2",
"nr":"1007",
"container": false,
"parentId":"6a8bf9e853f346de0c74c3d2"
}
### Update
PATCH http://localhost:3000/rk2/groups/6a8bf89253f346de0c74c3d1
Content-Type: application/json
{
"container":true
}
### Delete
DELETE http://localhost:3000/rk2/groups/6a8bf89253f346de0c74c3d1
+38
View File
@@ -0,0 +1,38 @@
### Get All
GET http://localhost:3000/rk2/ios
### Get By Ids
GET http://localhost:3000/rk2/ios/6a8fed5b7a860633403a0ce9
### Create
POST http://localhost:3000/rk2/ios
Content-Type: application/json
{
"type":"DigitalInput",
"address":50,
"adrBit":0,
"text":"G500X1 MS Band xyz",
"seite":100,
"seiteName":"G500/1",
"excelData":"dadasdd"
}
### Update
PATCH http://localhost:3000/rk2/ios/6a8fed5b7a860633403a0ce9
Content-Type: application/json
{
"type":"DigitalInput",
"text":"G500X1 MS Band xyz",
"seite":100,
"seiteName":"G500/1",
"excelData":"dadasdd"
}
### Delete
DELETE http://localhost:3000/rk2/ios/6a8fed5b7a860633403a0ce9
+35
View File
@@ -0,0 +1,35 @@
### Get All
GET http://localhost:3000/rk2/signals
### Get By Ids
GET http://localhost:3000/rk2/signals/6a8fe1ef52451d9bf8918418
### Get By Ids
GET http://localhost:3000/rk2/signals/byComponent/6a901cc6939c157328d3e3e7
### Create
POST http://localhost:3000/rk2/signals
Content-Type: application/json
{
"name": "start",
"type": "DigitalOutput",
"description": "Start Antrieb",
"componentId": "6a8c182db0eb8eff30b703e5"
}
### Update
PATCH http://localhost:3000/rk2/signals/6a8fe1ef52451d9bf8918418
Content-Type: application/json
{
"anlageId":"6995c490bb286cf2c27da0da",
"name": "start2",
"type": "DigitalOutput",
"description": "Start Antrieb Links"
}
### Delete
DELETE http://localhost:3000/rk2/signals/6a8fe1ef52451d9bf8918418
+69
View File
@@ -0,0 +1,69 @@
### Get All
GET http://localhost:3000/rk2/units
### Get All
GET http://localhost:3000/rk2/units/expand
### Get By Ids
GET http://localhost:3000/rk2/units/6a8c116adbe08c3d75e3aefd
### Create
POST http://localhost:3000/rk2/units
Content-Type: application/json
{
"name":"Unit2",
"type":"Sieb",
"groupId":"6a8bf89253f346de0c74c3d1"
}
### Update Base
PATCH http://localhost:3000/rk2/units/6a8c116adbe08c3d75e3aefd
Content-Type: application/json
{
"name":"Unit30",
"components":[
{
"name":"Antrieb2",
"type":"Antrieb",
"signalIds":[]
},
{
"name":"HS",
"type":"Reparaturschalter",
"signalIds":[]
}
]
}
### Update
PATCH http://localhost:3000/rk2/units/6a8c116adbe08c3d75e3aefd/component/6a8c182db0eb8eff30b703e5
Content-Type: application/json
{
"name":"Antrieb22",
"type":"Endschalter",
"signalIds": ["6a8c112cdbe08c3d75e3aefc"],
"properties":{"test":"1"}
}
### Update Unit - Add Component
PATCH http://localhost:3000/rk2/units/6a8c116adbe08c3d75e3aefd/addComponent
Content-Type: application/json
{
"name":"Antrieb122",
"type":"Endschalter",
"signalIds": ["6a8c112cdbe08c3d75e3aefc"],
"properties":{"test":"1"}
}
### Delete
DELETE http://localhost:3000/rk2/units/6a8c112cdbe08c3d75e3aefc