Query Remaining Space
POST
/v1/vip-ip/available-space/calcdomain_id AND group_pay_id can't both empty
请求参数
Token generated by the management backend.
Domain ID (can be obtained from the GetMX management backend or through the /v1/domain/list endpoint; the 'id' field is the 'domain_id')
Group pay ID (group_pay_id can be obtained from the GetMX backend or through the /v1/group-pay/list endpoint, with the 'id' field corresponding to 'group_pay_id').
示例代码
Responses
System Remaining Percentage: The percentage of remaining space on the system, with a total value of 1.
System Remaining Space: The amount of remaining space on the system, measured in gigabytes (G).
Space Expansion Status: Indicates whether space expansion has been performed. 1: Expanded -1: Not Expanded
Email Remaining Percentage: The percentage of remaining space for emails, with a total value of 1. This value is only returned for servers that have undergone space expansion.
Email Remaining Space: The amount of remaining space for emails, measured in gigabytes (G). This value is only returned for servers that have undergone space expansion.
{
"code": 200,
"msg": "成功",
"data": {
"message_available_space_per": 0.977,
"message_available_space_size": 97,
"space_expansion_status": 1,
"system_available_space_per": 0.7525,
"system_available_space_size": 37.625
}
}