-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
Current behaviour
It returns errors saying the payload is incorrect, most likely because it is reaching the wrong handler (I believe empty routes should be ordered before routes with IDs.)
Desired behaviour
No response
Steps to reproduce
curl -X 'POST' \
'https://aurora.gewis.nl/api/handler/lights/scenes' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"name": "GEWIS GOT TALENT",
"favorite": true,
"effects": [
{
"effectName": "StaticColor",
"lightsGroups": [
{ "id": 1 }
]
},
{
"effectName": "StaticColor",
"lightsGroups": [
{ "id": 2 }
]
}
]
}
'Other information
No response
Reactions are currently unavailable