DriveLock API icon

DriveLock API

Consume DriveLock API

Drive Rule → Get Collections

AI-generated

Summary

Retrieve drive rule collections from a specified DriveLock policy configuration.

Inputs

  • Config ID (required) — The unique identifier of the DriveLock policy configuration to query.
  • Config Version — The specific version of the configuration to retrieve collections from (0 to use the latest).

Output shape

a JSON object containing the drive rule collections associated with the specified configuration ID and version.

Returns the extracted data from the DriveLock API under the 'data' key if present. The configVersion defaults to 0 for the latest version. The operation makes a GET request to the endpoint '/api/administration/driveControl/collections/{configId}' optionally with 'configVersion' as a query parameter.

Examples

Example 1: Retrieve all collections for configuration ID 'abc123' using latest version.

Set Config ID to 'abc123' and Config Version to 0 (default). The node returns JSON describing the drive control collections for that policy configuration version.

Links

Discussion