Help Center/ Object Storage Service/ SDK Reference/ C/ Parameters/ Request Parameters for Downloading an Object
Updated on 2026-08-03 GMT+08:00

Request Parameters for Downloading an Object

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.

object_info

obs_object_info *

Yes

Object name and version ID. For non-multi-version objects, set version to 0.

get_conditions

obs_get_conditions *

Yes

Sets filter conditions of the object and read range.

encryption_params

server_side_encryption_params *

No

Obtains the decryption settings of an object.

handler

obs_get_object_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.