Traffic Data
GET/backend/api/openstack/instances/:instance_id/traffic-data
Host: https://core.ocplanet.cloud
Retrieve traffic data for the specified instance.
Request
Responses
- 200
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
- Array [
- ]
cycle_traffic object[]required
month integerrequired
in integerrequired
out integerrequired
start_dt stringrequired
end_dt stringrequired
month_traffic object[]required
id integerrequired
in integerrequired
out integerrequired
start_dt stringrequired
end_dt stringrequired
{
"cycle_traffic": [
{
"month": 0,
"in": 0,
"out": 0,
"start_dt": "string",
"end_dt": "string"
}
],
"month_traffic": [
{
"id": 0,
"in": 0,
"out": 0,
"start_dt": "string",
"end_dt": "string"
}
]
}
{
"month_traffic": [
{
"month": 202403,
"in": 36839,
"out": 37524,
"start_dt": "2024-03-01T00:00:00Z",
"end_dt": "2024-03-31T23:59:59Z"
}
],
"cycle_traffic": [
{
"id": 1333,
"in": 36839,
"out": 37524,
"start_dt": "2024-03-14T00:00:00Z",
"end_dt": "2024-03-31T23:59:59.999999Z"
}
]
}
Loading...