Hosts
Path parameters
uidintegerRequired
Responses
200
Successful Response
application/json
idintegerRequired
namestringRequired
internal_ipstringRequired
400
Bad request
application/json
404
Not found
application/json
422
Validation Error
application/json
get/api/v2/hosts/{uid}
GET /api/v2/hosts/{uid} HTTP/1.1
Accept: */*
{
"id": 1,
"name": "text",
"internal_ip": "text"
}Path parameters
uidintegerRequired
host_idintegerRequired
Responses
200
Successful Response
application/json
process_idintegerRequired
process_namestringRequired
host_idintegerRequired
architecturestring · nullableOptional
userstring · nullableOptional
stalebooleanRequired
agent_idstring · nullableOptional
400
Bad request
application/json
404
Not found
application/json
422
Validation Error
application/json
get/api/v2/hosts/{host_id}/processes/{uid}
GET /api/v2/hosts/{host_id}/processes/{uid} HTTP/1.1
Accept: */*
{
"process_id": 1,
"process_name": "text",
"host_id": 1,
"architecture": "text",
"user": "text",
"stale": true,
"agent_id": "text"
}Path parameters
host_idintegerRequired
Responses
200
Successful Response
application/json
400
Bad request
application/json
404
Not found
application/json
422
Validation Error
application/json
get/api/v2/hosts/{host_id}/processes
GET /api/v2/hosts/{host_id}/processes HTTP/1.1
Accept: */*
{
"records": [
{
"process_id": 1,
"process_name": "text",
"host_id": 1,
"architecture": "text",
"user": "text",
"stale": true,
"agent_id": "text"
}
]
}Last updated
Was this helpful?