forked from docs/doc-exports
Reviewed-by: Muller, Martin <martin.muller@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
20 KiB
20 KiB
Listing File Systems
Function
This API is used to list file systems.
URI
GET /
Request Parameters
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
x-obs-bucket-type |
Yes |
String |
The header used to specify the content to be obtained. Enumerated value:
|
Authorization |
Yes |
String |
The signature information. |
Date |
Yes |
String |
The request time. |
Host |
Yes |
String |
The host address. |
Response Parameters
Status code: 200
Example Request
GET / HTTP/1.1 Host: sfs3.example.region.com Date: date x-obs-bucket-type: SFS Authorization: authorization
Example Response
HTTP/1.1 200 OK
Server: OBS
X-Obs-Request-Id: 0000018893B8126DC048B06DD3816BD4
X-Obs-Id-2: 32AAAQAAEAABAAAQAAEAABAAAQAAEAABCTMZh3Thi7lcDxuGWu9Qtp9PJbYXa7lb
Date: Wed, 07 Jun 2023 02:38:14 GMT
Content-Type: application/xml
Content-Length: 377
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ListAllMyBucketsResult xmlns="http://obs.otc.t-systems.com/doc/2016-01-01/">
<Owner>
<ID>783fc6652cf246c096ea836694f71855</ID>
</Owner>
<Buckets>
<Bucket>
<Name>examplebucket01</Name>
<CreationDate>2018-06-21T09:15:01.032Z</CreationDate>
<Location>example-region-1</Location>
<BucketType>SFS</BucketType>
</Bucket>
<Bucket>
<Name>examplebucket02</Name>
<CreationDate>2018-06-22T03:56:33.700Z</CreationDate>
<Location>example-region-2</Location>
<BucketType>SFS</BucketType>
</Bucket>
</Buckets>
</ListAllMyBucketsResult>
Status Codes
Status Code |
Description |
|---|---|
200 |
The file systems are obtained. |
Error Codes
Parent topic: File Systems