Get Hosts

Get Hosts

Use this endpoint to retrieve hosts information under the Environment
Authorized Roles : PROVIDER or ORG_ADMIN or ORG_USER

Request
URI
GET
https://{api_host}/monitoring/environments/{environmentId}/hosts
COPY
Path Parameters
string
environmentId
Required

Environment UUID

Query Parameters
integer
duration
Required

Time Period

string
timeunit
Required

Time Unit

Possible values are : NANOSECONDS, MICROSECONDS, MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS,
integer
page
Optional

Zero-based page index (0..N)

integer
size
Optional

The size of the page to be returned

string of array
sort
Optional

Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Operation doesn't return any data structure

204

No Content

Returns ExceptionResponse of type(s) */*
{
    "timestamp": "string",
    "message": "string",
    "details": "string",
    "uri": "string"
}
string As date-time As date-time
timestamp
Optional

timestamp

string
message
Optional

message

string
details
Optional

details

string
uri
Optional

uri


500

Internal Server Error

Returns ExceptionResponse of type(s) */*
{
    "timestamp": "string",
    "message": "string",
    "details": "string",
    "uri": "string"
}
string As date-time As date-time
timestamp
Optional

timestamp

string
message
Optional

message

string
details
Optional

details

string
uri
Optional

uri