利用unix_account取得單筆會員當下HFS空間設定及已使用量資料
Query Parameters
- unix_account string required
使用者主機帳號
Responses
- 200
- 400
- 404
- application/json
- Schema
- Example (from schema)
- Response
Schema
- unix_account string
會員unix帳號
- work_quota_gb string
work目錄空間上限
- home_quota_gb string
home目錄空間上限
- latest_quota_modify_time string
最後空間異動時間
- home_used_gb string
home目錄已使用空間
- home_used_last_update_time string
最後home目錄已使用空間計算時間
- work_used_gb string
work目錄已使用空間
- work_used_last_update_time string
最後work目錄已使用空間計算時間
{
"unix_account": "string",
"work_quota_gb": "string",
"home_quota_gb": "string",
"latest_quota_modify_time": "string",
"home_used_gb": "string",
"home_used_last_update_time": "string",
"work_used_gb": "string",
"work_used_last_update_time": "string"
}
{
"unix_account": "member_unix_account",
"work_quota_gb": 1587200,
"home_quota_gb": 2867200,
"latest_quota_modify_time": "2020-01-07 16:07:49",
"home_used_gb": 0,
"home_used_last_update_time": "2020-01-16 09:09:17",
"work_used_gb": 0,
"work_used_last_update_time": "2020-01-16 10:01:14"
}
- application/json
- Schema
- Example (from schema)
- Response
Schema
errors object[]
code integer錯誤碼
message string錯誤訊息
{
"errors": [
{
"code": 0,
"message": "string"
}
]
}
{
"errors": [
{
"code": 400,
"message": "Bad Request"
}
]
}
- application/json
- Schema
- Example (from schema)
- Response
Schema
errors object[]
code integer錯誤碼
message string錯誤訊息
{
"errors": [
{
"code": 0,
"message": "string"
}
]
}
{
"errors": [
{
"code": 50,
"message": "User not found."
}
]
}
Loading...