We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Summary of the problem: 'Create Rules' API adding multiple times same rule.
Issue reproducible on below camera models: #Bosch DINION 6000HD
Reproduce steps:
Command to create rule
curl -X PUT http://localhost:59882/api/v2/device/name/Bosch-DINION-IP-starlight-6000-HD-00075fd8-7c31-317c-d85f-0700075fd85f/CreateRules --header 'Content-Type: application/json' --data-raw '
{ "CreateRules": { "ConfigurationToken": "1", "Rule": [ { "Name": "Test1", "Type": "tt:ObjectInField", "Parameters": { "SimpleItem": [ { "Name": "Armed", "Value": "true" } ] } } ] }
}'
Then verify with GetRules command- curl -x GET GET http://localhost:59882/api/v2/device/name/Bosch-DINION-IP-starlight-6000-HD-00075fd8-7c31-317c-d85f-0700075fd85f/Rules
Actual result - Adding multiple times same rule. Executed - Should be create one for same rule.
The text was updated successfully, but these errors were encountered:
Issue still exists with V3 code
Sorry, something went wrong.
No branches or pull requests
Summary of the problem:
'Create Rules' API adding multiple times same rule.
Issue reproducible on below camera models:
#Bosch DINION 6000HD
Reproduce steps:
Command to create rule
curl -X PUT http://localhost:59882/api/v2/device/name/Bosch-DINION-IP-starlight-6000-HD-00075fd8-7c31-317c-d85f-0700075fd85f/CreateRules
--header 'Content-Type: application/json'
--data-raw '
}'
Then verify with GetRules command-
curl -x GET GET http://localhost:59882/api/v2/device/name/Bosch-DINION-IP-starlight-6000-HD-00075fd8-7c31-317c-d85f-0700075fd85f/Rules
Actual result - Adding multiple times same rule.
Executed - Should be create one for same rule.
The text was updated successfully, but these errors were encountered: