Docs
api
Object-based Storage(US3)
GetUFileDailyBill

GetUFileDailyBill - GetUFileDailyBill

Overview

Get bucket daily bill

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is GetUFileDailyBill.Yes
PublicKeystringThe user’s public key can be obtained from ConsoleYes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
RegionstringRegion. See Region and Zone ListYes
ProjectIdstringProject ID. Leave it blank for the default project. Sub-accounts must fill in. Please refer to the GetProjectList APINo
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 bill of this Bucket.otherwise, return the daily bill 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[BucketBills]Consumption SituationYes

Data Model

BucketBills

Field NameTypeDescription InformationRequired
BucketBillsarray[UFileDailyBillItem]No

UFileDailyBillItem

Field NameTypeDescription InformationRequired
GetCountIaBillfloatNo
GetCountBillfloatNo
PutCountAcBillfloatNo
PutCountIaBillfloatNo
PutCountBillfloatNo
ObjectTagCountBillfloatObject Tagging Fee: CentsNo
StorageBillfloatStandard - Total Storage Capacity Fee; DividedNo
IaStorageBillfloatLow-frequency - Total storage capacity fee; dividedNo
AcStorageBillfloatArchive - Total storage capacity fee; dividedNo
IaGetSizeBillfloatLow-frequency - Data retrieval volume, which is the cost of data retrieval for low-frequency files; dividedNo
AcRestoreBillfloatArchive - Standard Thawing Volume, that is, the thawing volume cost of the archive file type is standard (Strandard); DividedNo
AcExpeditedRetrievalBillfloatArchive - High priority thawing volume, that is, the thawing volume cost of the archive file type is high priority (Expedited); DividedNo
IaShortStorageBillfloatLow-frequency - short-term storage volume, that is, the storage volume cost for the remaining days to make up for the shortest storage period; dividedNo
AcShortStorageBillfloatArchive - Short-term storage volume, that is, the storage volume cost for the remaining days to make up for the shortest storage period; dividedNo
ImageHandleFlowBillfloatBasic image processing volume fee; dividedNo
ImageCompressCountBillfloatAdvanced Image Compression Count Fee; DividedNo
BusyFlowBillfloatPeak traffic cost; minute; No such field overseasNo
IdleFlowBillfloatIdle traffic cost; minute; No such field overseasNo
CdnFlowBillfloatCDN back-to-source traffic cost; dividedNo
FlowBillfloatDownload traffic cost: points; No such field in ChinaNo
DateintQuota consumption time, unix timestamp; unit is seconds, accurate to the date.No
GetCountAcBillfloatRequest Count Fee; MinuteNo

Example

Request Example

https://api.dezai.com/?Action=GetUFileDailyBill
&Region=cn-zj
&ProjectId=UdlOdbuF
&BucketName=HGrwkMQD
&StartTime=7
&EndTime=7

Response Example

{
  "Action": "GetUFileDailyBillResponse",
  "DataSet": [
    "AALyFfHn"
  ],
  "RetCode": 0
}