Files
2026-08-31 16:19:06 +02:00

36 lines
746 B
HTTP

### 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