Viam · Example Payload

Viam Motor Go For Example

RoboticsEdge AIFleet ManagementComputer VisionMachine LearningIoTEmbeddedgRPC

Viam Motor Go For Example is an example object payload from Viam, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://machine.local.viam.cloud:443/viam.component.motor.v1.MotorService/GoFor",
    "headers": {
      "Content-Type": "application/json",
      "key_id": "abcd1234-key-id",
      "key": "viam_api_key_value"
    },
    "body": {
      "name": "left-wheel-motor",
      "rpm": 60,
      "revolutions": 5
    }
  },
  "response": {
    "status": 200,
    "body": {}
  }
}