Skip to main content
Version: 3.5.x

Selectors

Selectors identify which device and which session an HTTP request or WebSocket command targets.

Device selector — URL path

Used in all device-level HTTP routes as /{device_type}/{id_or_index}/….

Route exampleSelector meaning
inverse3/0First Inverse3 by index (0-based)
inverse3/A14Inverse3 with device ID A14
inverse3/*All Inverse3 devices (wildcard)
*inverse/*All Inverse-family devices (Inverse3, Inverse3x, Minverse)
verse_grip/0First wired VerseGrip by index
wireless_verse_grip/*All Wireless VerseGrips
*verse_grip/*All VerseGrip-family devices (wired, wireless, custom)

Rules:

  • GET rejects wildcard selectors (ambiguous) → 400
  • POST and DELETE accept wildcards — operation applied to all matches

Supported {device_type} values: inverse3, verse_grip, wireless_verse_grip, or family wildcards *inverse, *verse_grip.

Session selector — ?session=<expr> query parameter

Session-scoped HTTP endpoints (basis, mount, preset, filters, navigation, SDF) require a ?session=<expr> query parameter to identify which session's context to operate in.

ExpressionMeaning
(omitted)All sessions (allowed on DELETE only)
#123 or 123Session with numeric ID 123
:0First session by index
:-1Last session by index
profile_nameFirst session with this profile (may be ambiguous)
profile_name:0First session with profile + index 0
:default:0First session with profile default at index 0

Example:

GET /inverse3/0/config/navigation?session=:default:0
WebSocket sessions don't need selectors

On a WebSocket connection, you are the session — your configure and commands entries automatically target the current session's devices. Session selectors are only needed for HTTP requests (including cross-session remote control — see Sessions).