Get CPU & power temperature metric with edge gateway
GET/organizations/:organizationId/edge-gateways/:edgeGatewayId/metrics/temperature
Get CPU & power temperature metric with edge gateway
Request
Path Parameters
organizationId stringrequired
The ID of organization.
edgeGatewayId stringrequired
Edge Gateway ID
Query Parameters
period string
Possible values: [60
, 300
, 900
, 3600
, 86400
, 604800
, 2592000
]
Default value: 300
Period of metric(unit: sec).
periodTime number
Possible values: >= 1
and <= 129600
Default value: 60
Period time of metric(unit: sec).
statistic string
Possible values: [Average
, Minimum
, Maximum
]
Statistic of metric
Responses
- 200
- 401
- 403
- 422
- application/json
- Schema
- Example (from schema)
- Example
Schema
data objectrequired
Data of the edge gateway.
cpuTemperature objectrequired
timestamps number[]required
values number[]required
powerTemperature objectrequired
timestamps number[]required
values number[]required
{
"data": {
"cpuTemperature": {
"timestamps": [
0
],
"values": [
0
]
},
"powerTemperature": {
"timestamps": [
0
],
"values": [
0
]
}
}
}
{
"data": {
"cpuTemperature": {
"timestamps": [
1704067200000,
1706659200000
],
"values": [
55,
57
]
},
"powerTemperature": {
"timestamps": [
1704067200000,
1706659200000
],
"values": [
33,
34
]
}
}
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Unauthenticated",
"message": "Authentication is required and has failed or has not yet been provided."
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Forbidden",
"message": "Access to the requested resource is forbidden."
}
The input data has invalid.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The input data has invalid.
message stringrequired
The input data has invalid message.
{
"error": "string",
"message": "string"
}
{
"error": "ValidationError",
"message": "Input data validation failed."
}
Loading...