Help Center> Object Storage Service> SDK Reference> Python> Data Types> Message Body in the Request for an Appendable Upload

Message Body in the Request for an Appendable Upload

Namespace

obs.AppendObjectContent

Parameter Description

Field

Type

Optional or Mandatory

Description

content

str

or

readable object

Optional

Content to be appended

position

int

or

str

Mandatory

Start position for next appending. This parameter must be set to 0 when you create an appendable object.

offset

int

or

str

Optional

Offset, in bytes. This parameter is required if the content for an appendable upload is a local file.

isFile

bool

Optional

Whether content indicates the file path. The default value is False.

If content is a readable object that contains the read attribute, data can be read from content. Otherwise, the object content is a character string.