Skip to contents

Update a blueprint in the telemetry API

Usage

telem_update_blueprint(.x, dry_run = FALSE, verbosity = 0)

Arguments

.x

A single-row tibble of fields to update. Must include an id column identifying the blueprint.

dry_run

Logical. If TRUE, prints the request without sending it.

verbosity

Integer. How much information to print (0 = silent, 1 = headers, 2 = headers + body, 3 = full).

Value

A tibble of the updated blueprint.

Details

This is how a placeholder blueprint becomes a real one. Devices reference a blueprint by id, so correcting model or version in place keeps every device attached; creating a second blueprint and re-pointing the devices would not, because serial_number is unique per blueprint_id and the move has to happen device by device.