curl --location --request PUT '/projects//panels//loads' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"revision": 0,
"data": {
"rooms": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"type": "hallway",
"loads": [
{
"type": "custom",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"powerW": 0,
"phases": "single_phase"
}
]
}
]
}
}'{
"revision": 0,
"data": {
"rooms": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"type": "hallway",
"iconUrl": "string",
"loads": {
"type": "custom",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"powerW": 0,
"currentA": 0,
"phases": "single_phase"
}
}
]
},
"reactivity": {
"eventId": "d6703cc8-9e79-415d-ac03-a4dc7f6ab43c",
"trigger": {
"step": "object_params",
"action": "string"
},
"revision": {
"from": 0,
"to": 0
},
"stepEffects": {
"property1": {},
"property2": {}
},
"mutations": [
{
"path": "string",
"kind": "string",
"reason": "string"
}
]
}
}