Skip to content
On this page

Retrieve a virtual core

Endpoint

GET /v1/vcores/{id}

Retrieves a virtual core present on a Raspberry Pi


Path Parameters


id REQUIRED type INTEGER

A virtual core id

Responses

json
{
   "id":{
      "type":"int"
   },
   "cores":{
      "type":"int32"
   },
   "modelName":{
      "type":"string"
   },
   "mhz":{
      "type":"float64"
   },
   "stats":{
      "type":"object",
      "properties":{
         "percentUsed":{
            "type":"float64"
         },
         "user":{
            "type":"float64"
         },
         "system":{
            "type":"float64"
         },
         "idle":{
            "type":"float64"
         }
      }
   }
}
text
Failed to retrieve a virtual core due to an invalid type for the virtual CPU id. It should be an integer.
text
Failed to retrieve a virtual core with given id.