After adding/rearranging cameras in Management Client, my AI Bridge GraphQL
cameras
query doesn’t reflect the new list. I’d like to force a refresh/sync of the camera inventory using GraphQL without losing my application registration and topic subscriptions.
Expected
After changes in Management Client (enable camera, move group, change recording server), the AI Bridge inventory exposed via GraphQL should reflect the current VMS configuration—or there should be a supported GraphQL-only way to trigger a resync without having to fully unregister/re-register the app.
Questions for Milestone
Is there a GraphQL mutation to trigger a sync/refresh of the camera inventory from XProtect to AI Bridge? (Something akin to resync, reload , or similar.)
I haven’t worked directly with AI Bridge, but based on Milestone’s SDK behaviour, the
RefreshConfiguration() method is typically used to refresh the configuration so that clients receive the latest camera and device info on the next Get operation( example GetItems()). In the context of AI Bridge, you might be able to trigger this refresh without unregistering the application by:
Calling RefreshConfiguration() (or its equivalent in your AI Bridge environment) to ensure the inventory reflects the current VMS setup.
Subscribing your GraphQL queries to events or notifications from Milestone that indicate configuration changes. This way, your camera list query can be refreshed automatically when cameras are added, moved, or updated.
It would be better if someone from the Milestone Forum team responded, as they might have better insights into your problem.