huawei-cloud-api-definitions-VIS 0.1.20240402

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"UpdateAuthorityRequestBody":{"properties":{"bucket":{"description":"桶名称","example":"bucketName","maxLength":63,"minLength":3,"type":"string"},"operation":{"description":"表示授权还是取消授权的动作,ON表示授权,OFF表示取消授权","enum":["ON","OFF"],"example":"ON","type":"string"}}}},"description":null,"group_id":"5346b7c1dc284228a28795d5bcbd550d","host":"vis.cn-north-4.myhuaweicloud.com","id":"8d309faf0fcb4421ac537d94b3a89ee1","info_version":"v1","method":"put","name":"UpdateAuthority","parameters":{"Authorization":{"description":"使用AK/SK方式认证时必选,携带的鉴权信息。","in":"header","maxLength":256,"minLength":1,"name":"Authorization","required":false,"type":"string","x-example":"SDK-HMAC-SHA256 Access=xxx, SignedHeaders=content-type;host;x-sdk-date, Signature=xxx"},"X-Auth-Token":{"description":"普通租户的token。","in":"header","maxLength":10240,"minLength":1,"name":"X-Auth-Token","required":true,"type":"string"},"X-Project-Id":{"description":"使用AK/SK方式认证时必选,携带项目ID信息。","in":"header","maxLength":64,"minLength":1,"name":"X-Project-Id","required":false,"type":"string","x-example":"70b76xxxxxx34253880af501cdxxxxxx"},"X-Sdk-Date":{"description":"使用AK/SK方式认证时必选,请求的发生时间。","in":"header","maxLength":256,"minLength":1,"name":"X-Sdk-Date","required":false,"type":"string","x-example":"20191115T033655Z"},"project_id":{"description":"项目ID,获取方法请参考[获取项目ID](https://support.huaweicloud.com/api-vis/vis_03_0005.html)","in":"path","maxLength":32,"minLength":32,"name":"project_id","required":true,"type":"string"}},"paths":{"/v1/{project_id}/buckets/authority":{"put":{"consumes":[],"deprecated":false,"description":"此接口用于用户更新桶授权:授权和取消授权。授权时,operation设置为\"ON\",取消授权时,operation设置为\"OFF\"。","operationId":"UpdateAuthority","parameters":[{"$ref":"#/parameters/project_id"},{"$ref":"#/parameters/X-Auth-Token"},{"$ref":"#/parameters/Authorization"},{"$ref":"#/parameters/X-Sdk-Date"},{"$ref":"#/parameters/X-Project-Id"},{"description":"更新桶授权请求体","in":"body","name":"UpdateAuthorityRequestBody","required":true,"schema":{"$ref":"#/definitions/UpdateAuthorityRequestBody"}}],"produces":[],"responses":{"200":{"description":"正常"},"400":{"description":"请求错误。具体返回错误码请参考错误码说明"},"401":{"description":"鉴权失败"},"403":{"description":"没有操作权限"},"404":{"description":"找不到资源或没有开通服务"},"500":{"description":"服务内部错误"},"503":{"description":"服务不可用"}},"summary":"更新桶授权","tags":["obs桶策略管理"],"x-apiexplorer-hide":"N","x-is-registered":"Y","x-name":"更新桶授权","x-request-examples-1":{"bucket":"bucketName","operation":"ON"},"x-request-examples-2":{"bucket":"bucketName","operation":"OFF"},"x-request-examples-description-1":"桶授权","x-request-examples-description-2":"桶取消授权","x-request-examples-url-1":"PUT /v1/0572be6bdf80d4ad2f0******/buckets/authority","x-request-examples-url-2":"PUT /v1/0572be6bdf80d4ad2f0******/buckets/authority","x-support-sdk":"Y"}}},"product_short":"VIS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"更新桶授权","tags":"obs桶策略管理","uri":null,"version":"2.0"}