可发现性

可发现性

你的对象存储系统可能未完全启用该文档描述的所有特性。这些特性是;

使用``/info``请求查看你的对象存储系统已启用哪些特性。

在该例中,使用``GET``、路径为``/info``发送请求到对象存储:

$ curl https://storage.example.com/info

这个例子显示了一个被截断的响应体:

{
   "swift":{
      "version":"1.11.0"
   },
   "staticweb":{

   },
   "tempurl":{

   }
}

这个输出显示了对象存储系统已经启用了静态网站和临时的网址功能。

注解

在某些情况下,/info``请求会返回错误。这可能是由于你的服务提供商禁用了/info``请求功能,或你使用了不支持该功能的过时版本。

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.