Conversation
This new function retrieves a specific Helix event. It takes camera ID, event type UID, and timestamp as input and retrieves the corresponding event data from the Verkada API. Includes parameter validation and error handling. Updates the module manifest to export the new function and its alias. closes #266
Updates the examples in the Get-VerkadaHelixEvent function documentation to remove the `-attributes` parameter to match the actual parameter set.
Adds the `Set-VerkadaHelixEvent` function, which enables users to update existing Helix events in Command. This function allows users to modify event attributes, such as adding additional key-value pairs, by providing the camera ID, event type UID, timestamp, and the attributes to update. The function leverages the Verkada API to perform the update. closes #267
Adds a new cmdlet to delete Helix events using the Verkada API, enabling users to manage and remove specific events from Command. Includes parameter validation, error handling, and the ability to write errors to a file. Also updates the module manifest to export the new function and its aliases. closes #268
Adds epoch time as a parameter for removing Helix events. Also updates timestamp parameter to be optional and includes validation logic. If neither parameter is supplied the script will throw an error Related to 260-add-helix-endpoints
Allows users to provide epoch time instead of datetime. Adds epoch_time parameter and alias time_ms. Datetime is now optional as epoch time can be used instead. Adds exception if neither datetime nor epoch_time is provided.
Adds a new function to find Helix events based on specified criteria. This function allows users to search for Helix events by camera ID, event type UID, start and end times, and attribute keys/values. It leverages the Verkada API to retrieve and filter events based on the provided parameters, enhancing the module's event search capabilities. closes #269
Adds Helix event endpoints
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds cmdlets to manage Helix events and adds epoch time parameter option:
Find-VerkadaHelixEventcmdlet to find Helix eventsGet-VerkadaHelixEventcmdlet to get a specific Helix eventRemove-VerkadaHelixEventcmdlet to delete a Helix eventSet-VerkadaHelixEventcmdlet to update a Helix eventepoch_timeparameter option toAdd-VerkadaHelixEvent,Get-VerkadaHelixEvent, andRemove-VerkadaHelixEvent