Retrieve a process
Endpoint
GET /v1/processes/{id}
Retrieves a process running on a Raspberry Pi
Path Parameters
id
REQUIRED type INTEGER
A process id
Responses
json
{
"id":{
"type":"int32"
},
"name":{
"type":"string"
},
"username":{
"type":"string"
},
"commandLine":{
"type":"string"
},
"status":{
"type":"string"
},
"creationTime":{
"type":"int64"
},
"foreground":{
"type":"bool"
},
"background":{
"type":"bool"
},
"isRunning":{
"type":"bool"
},
"cpuPercent":{
"type":"float64"
},
"memPercent":{
"type":"float32"
},
"parentPID":{
"type":"int32"
}
}
text
Failed to retrieve a process due to an invalid type for the process id. It should be an integer.
text
Failed to retrieve a process with given id.