Retrieves the health score trend.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sysom:GetRangeScore |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v1/openapi/cluster_health/range/score HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| cluster |
string |
No |
The cluster ID. |
2ijff4be-bf24-4070-89ca-c47c879b0g32 |
| instance |
string |
No |
The instance ID. |
i-wz9d00ut2ska3mlyhn6j |
| start |
number |
Yes |
The start time. |
1725797727754 |
| end |
number |
Yes |
The end time. |
1725801327754 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| code |
string |
The status code.
|
Success |
| data |
array<object> |
The returned data. |
|
|
object |
The returned data. |
||
| time |
integer |
The point in time. |
1725797727754 |
| type |
string |
The metric type. Valid values:
|
saturation |
| value |
integer |
The score. |
100 |
| message |
string |
The error message.
|
"" |
| request_id |
string |
The request ID. |
35F91AAB-5FDF-5A22-B211-C7C6B00817D0 |
| total |
number |
The total data volume. |
2 |
Examples
Success response
JSON format
{
"code": "Success",
"data": [
{
"time": 1725797727754,
"type": "saturation",
"value": 100
}
],
"message": "\"\"",
"request_id": "35F91AAB-5FDF-5A22-B211-C7C6B00817D0",
"total": 2
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.