{"base_path":null,"components":null,"consumes":"","definitions":{"BucketDetail":{"description":"obs桶详细信息","properties":{"creation_date":{"description":"obs桶创建时间","format":"date-time","type":"string"},"id":{"description":"obs桶id","type":"string"},"location":{"description":"所属region","type":"string"},"name":{"description":"obs桶名","type":"string"}},"required":["id","location","name"]},"BucketDetails":{"description":"total+obs桶信息列表","properties":{"buckets":{"description":"obs桶列表","items":{"$ref":"#/definitions/BucketDetail"},"maxItems":1000,"minItems":0,"type":"array"},"total":{"description":"obs桶总数","maximum":1000,"minimum":0,"type":"integer"}}},"ErrorMessage":{"description":"失败时返回的错误对象","properties":{"common_error_code":{"description":"CBC公共错误码","example":"CMM.1008","maxLength":36,"minLength":1,"type":"string"},"error_code":{"description":"错误码","example":"lakeformation.00010003","maxLength":36,"minLength":8,"type":"string"},"error_msg":{"description":"错误描述","example":"failed","maxLength":4096,"minLength":2,"type":"string"},"solution_msg":{"description":"解决方案描述","example":"Please use correct instance id.","maxLength":4096,"minLength":2,"type":"string"}},"required":["error_code","error_msg"],"type":"object"}},"description":null,"group_id":"bf0ce8340d8b4439b53683607ef0d87f","host":"lakeformation.cn-north-4.myhuaweicloud.com","id":"9f635f85f7374cdcb533c14af3076070","info_version":"v1","method":"get","name":"ListObsBuckets","parameters":{},"paths":{"/v1/{project_id}/obs/buckets":{"get":{"consumes":["application/json"],"deprecated":false,"description":"查询OBS桶列表","operationId":"ListObsBuckets","parameters":[{"description":"租户token","in":"header","name":"X-Auth-Token","required":true,"type":"string","x-example":"MIIjxxxxxxxxxxxxxxxxxxxxxxxx4qA="},{"description":"项目ID","in":"path","name":"project_id","pattern":"^[0-9a-zA-Z]{32}$","required":true,"type":"string","x-example":"41aaxxxxxxxxxxxxxxxxxxxxxxxcc046"},{"default":0,"description":"分页查询时的偏移量","in":"query","maximum":1000,"minimum":0,"name":"offset","required":false,"type":"integer","x-example":0},{"default":100,"description":"分页一页显示数","in":"query","maximum":1000,"minimum":1,"name":"limit","required":false,"type":"integer","x-example":1}],"produces":["application/json"],"responses":{"200":{"description":"obs桶列表","examples":{"application/json":{"buckets":[{"creation_date":"2022-06-01T09:32:01.487+00:00","id":"555d9e8999c94705be3d7edb70a3199a","location":"cn-north-7","name":"lakeformation"},{"creation_date":"2022-06-07T03:20:39.120+00:00","id":"555d9e8999c94705be3d7edb70a3199a","location":"cn-north-7","name":"lakeformation-test"},{"creation_date":"2022-08-02T09:36:37.193+00:00","id":"555d9e8999c94705be3d7edb70a3199a","location":"cn-north-7","name":"test-bk"}],"total":3}},"headers":{"X-request-id":{"type":"string"}},"schema":{"$ref":"#/definitions/BucketDetails"}},"400":{"description":"Bad Request","examples":{"application/json":{"error_code":"common.01000001","error_msg":"failed to read http request, please check your input, code: 400, reason: Type mismatch., cause: TypeMismatchException"}},"schema":{"$ref":"#/definitions/ErrorMessage"}},"401":{"description":"Unauthorized","examples":{"application/json":"{\n \"error_code\": 'APIG.1002',\n \"error_msg\": 'Incorrect token or token resolution failed'\n}"}},"403":{"description":"Forbidden","examples":{"application/json":{"error":{"code":"403","message":"X-Auth-Token is invalid in the request","title":"Forbidden"},"error_code":"403","error_msg":"X-Auth-Token is invalid in the request","title":"Forbidden"}}},"404":{"description":"Not Found","examples":{"application/json":{"error_code":"common.01000001","error_msg":"response status exception, code: 404"}},"schema":{"$ref":"#/definitions/ErrorMessage"}},"408":{"description":"Request Timeout","examples":{"application/json":{"error_code":"common.00000408","error_msg":"timeout exception occurred"}}},"500":{"description":"Internal Server Error","examples":{"application/json":{"error_code":"common.00000500","error_msg":"internal error"}},"schema":{"$ref":"#/definitions/ErrorMessage"}}},"summary":"查询OBS桶列表","tags":["OBS"],"x-apiexplorer-hide":"N","x-enable-auth-anno":{"type":"iam-token"},"x-iam-auth-meta-anno":{"abacAction":"lakeformation:instance:describe","authLevel":"project","rbac":"te_admin"},"x-is-registered":"Y","x-request-examples-url-1":"GET https://{endpoint}/v1/{project_id}/obs/buckets","x-support-sdk":"Y"}}},"product_short":"LakeFormation","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询OBS桶列表","tags":"OBS管理","uri":null,"version":"2.0"}