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":{"ApiTestDTO":{"properties":{"body":{"description":"请求体","example":"","type":"string"},"paras":{"$ref":"#/definitions/ApiTestParas"}},"type":"object"},"ApiTestParas":{"properties":{"page_num":{"description":"page num","example":"1","type":"string"},"page_size":{"description":"page size","example":"10","type":"string"}},"type":"object"},"ApiTestRequestHeader":{"properties":{"path":{"description":"请求路径","example":"GET /testApi/1 HTTP","type":"string"},"user_agent":{"description":"代理(固定值)","example":"DLMDebugClient/1.0","type":"string"},"x_apig_mode":{"description":"请求方式(固定值)","example":"DEBUG","type":"string"},"x_app_identity":{"description":"识别编号(固定值)","example":1,"type":"integer"}},"type":"object"},"ApiTestResponse":{"properties":{"request_header":{"$ref":"#/definitions/ApiTestRequestHeader"},"request_id":{"description":"请求编号","example":"704742365000242752","type":"string"},"response_header":{"$ref":"#/definitions/ApiTestResponseHeader"},"result":{"description":"调试结果","example":"[]","type":"string"},"success":{"description":"是否调试成功","example":true,"type":"boolean"},"timeout":{"description":"调试耗时","example":3826,"format":"int64","type":"integer"},"url":{"description":"请求url","example":"/testApi/1","type":"string"}},"type":"object"},"ApiTestResponseHeader":{"properties":{"cache_control":{"description":"缓存控制(固定值)","example":"private","type":"string"},"connection":{"description":"连接状态","example":"keep-alive","type":"string"},"content_length":{"description":"内容大小","example":2,"type":"integer"},"content_type":{"description":"内容类型 (固定值)","example":"application/json;charset=UTF-8","type":"string"},"date":{"description":"日期","example":"Tue Apr 28 17:14:37 GMT+08:00 2020","type":"string"},"result_status":{"description":"是否成功","example":"HTTP 200 Success","type":"string"},"x_request_id":{"description":"请求ID","example":"704742365000242752","type":"string"}},"type":"object"},"ErrorResponse":{"properties":{"error_code":{"description":"错误码","example":"DLS.1000","maxLength":128,"minLength":1,"type":"string"},"error_msg":{"description":"错误描述","example":"process failed","maxLength":10240,"minLength":1,"type":"string"}},"type":"object"}},"description":null,"group_id":"23bb69798aaf409da161a43a90617121","host":"dayu.cn-north-4.myhuaweicloud.com","id":"efc77a2b8eef408397174bf7c72681cb","info_version":"v1","method":"post","name":"DebugApi","parameters":{},"paths":{"/v1/{project_id}/service/apis/{api_id}/instances/{instance_id}/test":{"post":{"description":"调试API。","operationId":"DebugApi","parameters":[{"description":"用户Token,使用[Token认证](dataartsstudio_02_0010.xml)时必选。通过调用“获取用户Token”接口获取响应消息头中X-Subject-Token的值。","in":"header","name":"X-Auth-Token","required":true,"type":"string"},{"description":"工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。","in":"header","name":"workspace","required":true,"type":"string"},{"description":"数据服务的版本类型,指定SHARED共享版或EXCLUSIVE专享版。","enum":["SHARED","EXCLUSIVE"],"in":"header","name":"Dlm-Type","required":false,"type":"string"},{"default":"application/json","description":"消息体的类型(格式),有Body体的情况下必选,没有Body体无需填写。如果请求消息体中含有中文字符,则需要通过charset=utf8指定中文字符集,例如取值为:application/json;charset=utf8。","in":"header","name":"Content-Type","required":true,"type":"string"},{"description":"项目ID,获取方法请参见[项目ID和账号ID](projectid_accountid.xml)。","in":"path","name":"project_id","required":true,"type":"string"},{"description":"api编号。","in":"path","name":"api_id","required":true,"type":"string"},{"description":"集群编号。","in":"path","name":"instance_id","required":true,"type":"string"},{"description":"调试参数。","in":"body","name":"DebugApiRequestBody","required":true,"schema":{"$ref":"#/definitions/ApiTestDTO"}}],"produces":["application/json"],"responses":{"200":{"description":"Success。","examples":{"application/json":{"request_header":{"path":"GET /testApi/1 HTTP","user_agent":"DLMDebugClient/1.0","x_apig_mode":"DEBUG","x_app_identity":1},"request_id":"704742365000242752","response_header":{"cache_control":"private","connection":"keep-alive","content_length":2,"content_type":"application/json;charset=UTF-8","date":"Tue Apr 28 17:14:37 GMT+08:00 2020","result_status":"HTTP 200 Success","x_request_id":"704742365000242752"},"result":"[]","success":true,"timeout":3826,"url":"/testApi/1"}},"schema":{"$ref":"#/definitions/ApiTestResponse"}},"400":{"description":"BadRequest。","schema":{"$ref":"#/definitions/ErrorResponse"}}},"summary":"调试API","tags":["API管理接口"],"x-api-type":"dataservice-openapi","x-is-registered":"Y","x-support-sdk":"Y"}}},"product_short":"DataArtsStudio","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"调试API","tags":"API管理接口","uri":null,"version":"2.0"}