When I send list of (channel_id, device_type) and let's say i have 4 elements in the list. If one element does not pass validation does api return? In another word we can't have situation where one channel is uninstalled, and other is was not due to validation errors. Is uninstall transactional?
Uninsatall API
Didn't find what you were looking for?
New post-
When sending a list of (channel_id, device_type) with multiple elements, the API's behavior in response to validation errors depends on its design. Typically, if one element fails validation, the API may return an error for the entire request rather than processing the valid elements. This ensures consistency and prevents partial processing, such as one channel being uninstalled while others are not due to validation issues.
To address this, you should verify whether the API supports transactional operations for uninstallation. If it does, all actions will be completed successfully, or none will be applied if any validation fails. For more information on ensuring smooth API transactions, you might find valuable insights on Geekzilla Autos, which offers resources on managing tech processes effectively.
Comment actions
Please sign in to leave a comment.
Comments
7 comments