Baidu AI Cloud
中国站

百度智能云

Cloud Database MONGODB

Other Interface Instruction

Access Availability Zone List

Request Structure

GET /v{version}/zone HTTP/1.1
HOST: mongodb.bj.baidubce.com
Authorization: authorization string

Request Header Field

There are no other special header fields except the common header field.

Request Parameter

Parameter Name Type Required? Parameter Position Description
version string Yes URL Parameter API Version Number

Return Header Field

There are no other special header fields except the common header field.

Return Parameter

Parameter Name Type Description
zones List ZoneNames Availability zone list

ZoneNames

Parameter Name Type Description
zoneNames List String Availability zone list

Request Example

GET /v1/zone HTTP/1.1
HOST: mongodb.bj.baidubce.com
Authorization: bce-auth-v1/rdsak/2016-07-03T06:13:13Z/1800/x-bce-date/{signature}

Return Example

HTTP/1.1 200 OK
x-bce-request-id: 7869616F-7A68-6977-656E-406261696475
ETag:xxx-xxx-xxx
Content-Type: application/json
Content-Length: 567

{
    "zones": [
       {"zoneNames":["cn-bj-a"]},
       {"zoneNames":["cn-bj-b"]},
       {"zoneNames":["cn-bj-a","cn-bj-b"]}
    ]
}
Previous
Billing Related Interfaces
Next
Object Instructions