Help Center/ Object Storage Service/ SDK Reference/ C/ Parameters/ Request Parameters for Obtaining a Bucket Storage Quota
Updated on 2026-08-03 GMT+08:00

Request Parameters for Obtaining a Bucket Storage Quota

Table 1 List of request parameters

Parameter

Type

Mandatory (Yes/No)

Description

options

const obs_options *

Yes

The context of the requested bucket. Refer to Configuring option (SDK for C) to set the AK, SK, endpoint, bucket, timeout, and temporary credentials through obs_options.

storagequota_return

uint64_t *

Yes

The obtained quota size, in bytes.

handler

obs_response_handler *

Yes

A callback structure where all members are pointers to callback functions, used to set the callback functions that handle response data. You can set a callback function to copy the response data from the server to your custom callback_data.

callback_data

void *

No

Custom callback data.