Devices
Create
Create a new device.
post/devices
Request
- Base URLhttps://api.mirurobotics.com/beta
- URLhttps://api.mirurobotics.com/beta/devices
- AuthAPI key in header X-API-Key
Query parameters
expandDevice Expansion[]
Fields to expand on the device resource.
[ "current_release" ]
Request body
Example request
{
"name": "Robot 1"
}Response
Successfully created the device.
Example response
{
"object": "device",
"id": "dvc_123",
"name": "My Device",
"description": "Welder on line 3",
"status": "online",
"agent_version": "v1.0.0",
"os": "linux",
"hostname": "robot-1.local",
"arch": "x86_64",
"os_version": "Ubuntu 22.04",
"kernel_version": "5.15.0-91-generic",
"last_connected_at": "2021-01-01T00:00:00Z",
"last_disconnected_at": null,
"created_at": "2021-01-01T00:00:00Z",
"updated_at": "2021-01-01T00:00:00Z",
"group_id": "grp_123"
}Changes
No recorded changes to this operation across all 1 revision of this API.