docs
api
Object-based Storage(US3)
GetUFileDailyReport

View Daily Consumption Report - GetUFileDailyReport

Overview

View Daily Consumption Report

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is GetUFileDailyReport.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
RegionstringRegion. See List of Regions and Availability ZonesYes
ProjectIdstringProject ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the GetProjectList interface.No
StartTimeintQuery start time; unix timestamp, unit sYes
EndTimeintQuery end time; unix timestamp, unit sYes
BucketNamestringSpace name. If this field is not empty, return the daily usage of this Bucket; otherwise, return the daily usage of this project.No

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
DataSetarray[UFileReportItem]Consumption SituationYes

Data Model

UFileReportItem

Field NameTypeDescription InformationRequired
Totalarray[UFileTotalReportItem]Total Consumption SituationNo
Dailyarray[UFileDailyReportItem]Daily Consumption SituationNo

UFileTotalReportItem

Field NameTypeDescription InformationRequired
FlowfloatDownload Traffic: Unit GB; This field does not exist domestically.No
IdleFlowfloatIdle traffic; Unit GB; This field does not exist overseasNo
BusyFlowfloatPeak traffic; Unit GB; This field is not available overseasNo
CdnFlowfloatCDN back-to-source traffic; unit GBNo
ApiTimesfloatAPI Request Times (Ten Thousand Times)No

UFileDailyReportItem

Field NameTypeDescription InformationRequired
StoragefloatStandard - Total Storage Capacity; Unit GBNo
IaStoragefloatLow-frequency - Total storage capacity; Unit GBNo
AcStoragefloatArchiving - Total storage capacity; Unit GBNo
IaGetSizefloatLow-frequency data retrieval, that is, the data retrieval volume of low-frequency files; unit GBNo
AcRestorefloatArchive - Standard Thaw Volume, that is, the thaw volume of the archive file type is standard (Strandard); unit GBNo
AcExpeditedRetrievalfloatArchive - High Priority Thawing Volume, that is, the thawing type of the archived file is high priority (Expedited); unit is GB.No
IaShortStoragefloatLow-frequency - short-term storage volume, that is, the storage volume of the remaining days to make up for the shortest storage period; unit GBNo
AcShortStoragefloatArchive - Short-term storage volume, that is, the storage volume of the remaining days to make up for the shortest storage period; unit GBNo
ImageHandleFlowfloatBasic Image Processing Volume; Unit GBNo
ImageCompressCountfloatAdvanced image compression times; unit: thousand timesNo
BusyFlowfloatPeak traffic; Unit GB; This field is not available overseasNo
IdleFlowfloatIdle traffic; Unit GB; This field does not exist overseasNo
CdnFlowfloatCDN back-to-source traffic; unit GBNo
FlowfloatDownload Traffic: Unit GB; This field does not exist domestically.No
DateintQuota consumption time, unix timestamp; unit is seconds, accurate to the dateNo
ApiTimesfloatRequest times; per ten thousand timesNo
ObjectTagCountfloatNumber of Object Tags; Unit: Ten ThousandNo

Example

Request Example

https://api.surfercloud.com/?Action=GetUFileDailyReport
&Region=cn-zj
&ProjectId=hKcUXqkX
&StartTime=4
&EndTime=7
&Bucket=vdXesnhh

Response Example

{
  "Action": "GetUFileDailyReportResponse",
  "RetCode": 0
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved