# 列举空间 (/products/mikustream/mikustream-live-bucket-api/0-mikustream-live-bucket-list-api)



最近更新时间: 2025-11-20 22:45:08

# 描述 [#描述]

列举当前账户下的所有直播空间（Bucket）的信息

# 接口信息 [#接口信息]

* **请求方法**: `GET`
* **请求地址**: mls.cn-east-1.qiniumiku.com
* **请求路径**: `/`

# 请求参数 [#请求参数]

## Header 参数 [#header-参数]

| 参数名称          |   类型   |  必填 | 示例值                         | 描述                                                                                          |
| :------------ | :----: | :-: | :-------------------------- | :------------------------------------------------------------------------------------------ |
| Host          | string |  是  | mls.cn-east-1.qiniumiku.com | 请求的服务域名                                                                                     |
| Authorization | string |  是  | `&lt;QiniuToken&gt;`        | 管理凭证 QiniuToken，[生成规则](/products/mikustream/3-mikustream-live-http-requests-authentication) |

# 请求示例 [#请求示例]

```http
GET / HTTP/1.1
Host: mls.cn-east-1.qiniumiku.com
Authorization: <QiniuToken>
Content-Type: application/json

{}
```

# 返回响应 [#返回响应]

## 响应状态码 [#响应状态码]

* **请查阅**: [这里](/products/mikustream/4-mikustream-live-error-code)

## 响应示例 [#响应示例]

```json
{
  "buckets": [
    {
      "name": "test",
      "region": "cn-east-1",
      "creationDate": "2019-01-01T00:00:00.000+08:00",
      "status": "Enabled"
    }
  ],
  "connectId": "QXV0aG9yaXphdGlvbg"
}
```

## 响应参数 [#响应参数]

| 参数名称      |     类型    | 说明                                |
| :-------- | :-------: | :-------------------------------- |
| buckets   | \[]object | 空间列表，[详见bucket对象](#bucket-object) |
| connectId |   string  | 连接 id                             |

<a id="bucket-object" />

## bucket 对象 [#bucket-对象]

| 参数名称         |   类型   | 说明                                     |
| :----------- | :----: | :------------------------------------- |
| name         | string | 空间名称                                   |
| region       | string | 区域，暂时只支持 `cn-east-1`                   |
| status       | string | 状态 （Enabled：可用；Disabled：不可用；Banned：禁用） |
| creationDate | string | 创建时间，遵循 ISO 8601 格式                    |
