Functions

Requests sent to OBS must comply with REST specifications and contain required header parameters. If a request is successfully processed, a success response is returned. If a request fails to be processed, an error response message that clarifies causes is returned. As data containers, buckets provide operation interfaces.

Table 1 lists some bucket operation APIs provided by OBS.

Table 1 Bucket operation APIs provided by OBS

API

Description

CreateBucket

Creates a bucket.

GetAllMyBucket

Obtains a user's bucket list.

DeleteBucket

Deletes a bucket.

Data is stored in OBS. Table 2 lists some object operation APIs provided by OBS.

Table 2 Object operation APIs provided by OBS

API

Description

PutObject

Uploads an object (PUT)

PostObject

Uploads an object (POST)

GetObject

Obtains the content of an object.

Registration