Files
2026-10-06 13:46:04 +02:00

38 lines
777 B
HTTP

### Units
GET http://localhost:3000/rk2/units/6a8c116adbe08c3d75e3aefd
### Get By Ids
GET http://localhost:3000/rk2/components/6a9687c9115d604d8f1f05ce
### Add Component
### Create
POST http://localhost:3000/rk2/components/6a8c116adbe08c3d75e3aefd
Content-Type: application/json
{
"name":"ES1",
"type":"Endschalter",
"properties":{"name2":"kind2"}
}
### Delete Component
### Delete
DELETE http://localhost:3000/rk2/components/6a9687c9115d604d8f1f05ce
### Delete Propertie
### Create
DELETE http://localhost:3000/rk2/components/6a968b22b46fd50d5cbe7bcc/deleteProp/name2
### Change Component
PATCH http://localhost:3000/rk2/components/6a968b22b46fd50d5cbe7bcc
Content-Type: application/json
{
"name":"ES2",
"type":"Endschalter",
"properties":{"name2":"kind2"}
}