基本信息

Action:/qai/aicp/notebooks/namespaces/{namespace}/save

Method: POST

Content-Type:application/json

请求参数

参数 类型 描述 是否必须

namespance

string

命名空间。

yes

nb_id

string

容器实例的 ID。

yes

image_name

string

待保存至的镜像仓库。

yes

image_tag

string

镜像标签。

yes

describe

string

描述性信息。

yes

响应参数

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

请求示例

curl -X 'POST' \
  'https://ai.coreshub.cn/qai/aicp/notebooks/namespaces/usr-5HY8cxxx/save' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "nb_id": "string",
  "image_name": "string",
  "image_tag": "latest",
  "describe": ""
}'

响应示例

{
    "message": "success",
    "meta": {
        "X_REQUEST_ID": "3317f487",
        "X_REQUEST_USER": "usr-5HY8cBJF"
    },
    "data": {},
    "ret_code": 0
}