基本信息

Action:/qai/aicp/trains/namespaces/{namespace}/endpoints/{endpoint}/trains/{uuid}

Method: PATCH

Content-Type:application/json

请求参数

参数 类型 描述 是否必须

uuid

string

任务唯一标识。

yes

endpoint

string

任务类型,用户可通过调用 GetEndpoint API 获取。

yes

namespace

string

命名空间名称。

yes

响应参数

此接口仅包含的公共响应参数,可参见前文内容

请求示例

curl -X 'PATCH' \
  'https://ai.coreshub.cn/qai/aicp/trains/namespaces/usr-5HY8cxxx/endpoints/{endpoints}/trains/tn-ehjysfi2my2o/priority/0' \
  -H 'accept: application/json'

响应示例

{
  "ret_code": 0,
  "message": "success",
  "meta": {
    "X_REQUEST_ID": "string",
    "X_REQUEST_USER": "string"
  }
}