SaveRack
Atomically creates or updates a rack with its membership and slot assignments. All operations (metadata, membership, slot positions) are applied in a single transaction.
SaveRackRequest
Request
This endpoint expects an object.
_collection_id
label
Label for the rack (required, 1-100 characters)
rack_info
Rack-specific metadata (required)
device_selector
Devices that should be members of this rack. Replaces all existing members atomically.
slot_assignments
Slot assignments for devices within the rack. Only devices included in device_selector may be assigned slots. Devices not listed here will be members without a slot position.
SaveRackResponse
Response
This endpoint returns an object.
collection
The created or updated rack collection
assigned_count
Number of slot positions assigned