huawei-cloud-api-definitions-DataArtsStudio 0.1.20250411

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"ApprovalInfoParam":{"example":{"ids":["885830700668964864"],"msg":"ok"},"properties":{"ids":{"description":"审批单ID列表,ID字符串。","items":{"type":"string"},"minItems":1,"type":"array","uniqueItems":true},"msg":{"description":"审批单信息,审批人填写的审批意见。","maxLength":500,"type":"string"}},"required":["ids","msg"],"type":"object"},"BatchOperationVO":{"description":"批量操作对象,只读。","properties":{"biz_id":{"description":"业务ID,ID字符串。","type":"string"},"biz_info":{"description":"业务详情。","type":"string"},"biz_name":{"description":"业务名。","type":"string"},"create_by":{"description":"创建人。","type":"string"},"failed":{"default":0,"description":"操作失败个数。","type":"integer"},"group_id":{"description":"组ID,ID字符串。","type":"string"},"groups":{"description":"分组信息。","items":{"$ref":"#/definitions/BatchOperationVO"},"type":"array"},"id":{"description":"批量审批ID,ID字符串。","type":"string"},"logs":{"description":"日志。","type":"string"},"operation_status":{"description":"操作结果类型枚举。RUNNING(运行中)、SUCCESS(操作成功)、FAILED(操作失败)。\n枚举值:\n  - RUNNING: 运行中\n  - SUCCESS: 操作成功\n  - FAILED: 操作失败","enum":["RUNNING","SUCCESS","FAILED"],"type":"string"},"operation_type":{"description":"类型。","type":"string"},"rate":{"default":0,"description":"当前进度。","type":"string"},"remark":{"description":"remark信息。","type":"string"},"success":{"default":0,"description":"操作成功个数。","type":"integer"},"tenant_id":{"description":"项目ID。","type":"string"},"total":{"default":0,"description":"总数。","type":"integer"}},"readOnly":true,"type":"object"},"ConfirmApprovalsResult":{"description":"审批单撤回的最终返回结果,成功的个数。","properties":{"data":{"description":"审批单撤回的返回结果,成功的个数。","properties":{"value":{"$ref":"#/definitions/BatchOperationVO","description":"审批操作返回结果","type":"object"}},"type":"object"}},"type":"object"}},"description":null,"group_id":"23bb69798aaf409da161a43a90617121","host":"dayu.cn-north-4.myhuaweicloud.com","id":"6dc8139159994b39953639af9675886c","info_version":"v1","method":"put","name":"ConfirmApprovals","parameters":{"approvalPutActionParam":{"description":"处理审批单结果类型。\n枚举值:\n  - reject: 审批驳回\n  - resolve: 审批通过","enum":["reject","resolve"],"in":"query","name":"action-id","required":true,"type":"string"},"contextTypeParam":{"description":"默认值:application/json;charset=UTF-8\n可选,有Body体的情况下必选,没有Body体则无需填写和校验。","in":"header","maxLength":64,"minLength":3,"name":"Content-Type","required":false,"type":"string"},"tenantIdParam":{"description":"项目ID,获取方法请参见[项目ID和账号ID](projectid_accountid.xml)。","in":"path","maxLength":64,"minLength":3,"name":"project_id","required":true,"type":"string"},"tenantXIdParam":{"description":"项目ID,获取方法请参见[项目ID和账号ID](projectid_accountid.xml)。\n\n多project场景采用AK/SK认证的接口请求,则该字段必选。","in":"header","maxLength":64,"minLength":3,"name":"X-Project-Id","required":false,"type":"string"},"tokenParam":{"description":"IAM Token,通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)\n使用Token认证时必选。","in":"header","maxLength":4096,"minLength":0,"name":"X-Auth-Token","required":true,"type":"string"},"workspaceParam":{"description":"工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。","in":"header","maxLength":64,"minLength":3,"name":"workspace","required":true,"type":"string"}},"paths":{"/v2/{project_id}/design/approvals/action":{"put":{"consumes":["application/json;charset=UTF-8"],"description":"审批驳回/通过,单个或多个action-id=reject/resolve。","operationId":"ConfirmApprovals","parameters":[{"$ref":"#/parameters/tokenParam"},{"$ref":"#/parameters/workspaceParam"},{"$ref":"#/parameters/tenantIdParam"},{"$ref":"#/parameters/tenantXIdParam"},{"$ref":"#/parameters/contextTypeParam"},{"$ref":"#/parameters/approvalPutActionParam"},{"description":"审批单相关信息。","in":"body","name":"ConfirmApprovalsRequestBody","required":true,"schema":{"$ref":"#/definitions/ApprovalInfoParam"}}],"produces":["application/json;charset=UTF-8"],"responses":{"200":{"description":"Success,返回data数据是执行结果。","schema":{"$ref":"#/definitions/ConfirmApprovalsResult"}},"400":{"$ref":"#/responses/400"},"401":{"$ref":"#/responses/401"},"403":{"$ref":"#/responses/403"},"404":{"$ref":"#/responses/404"}},"summary":"审批单处理","tags":["审批管理接口"],"x-api-type":"doc-open","x-is-registered":"Y","x-request-examples-1":{"ids":["1214980984198561792"],"msg":"同意!"},"x-request-examples-description-1":"审批通过物理表发布。","x-request-examples-url-1":"PUT https://{endpoint}/v2/{project_id}/design/approvals/action?action-id=resolve&from=standard","x-support-sdk":"Y"}}},"product_short":"DataArtsStudio","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"审批单处理","tags":"审批管理接口","uri":null,"version":"2.0"}