模型预下载
模型预下载
Path Parameters
service string required
The service id.
application/json
Request Body required
- Array [
- ]
model_list object[] required
模型信息列表
name string required
名称
ref object required
git引用
tag string
标签
branch string
分支
hash string required
提交
type enum required
Possible values: [TYPE_AMP_PRIVATE_MODEL_UNSPECIFIED
, TYPE_AMP_PUBLIC_MODEL
, TYPE_AFT_FINETUNE_MODEL
]
类型
Responses
- 200
- default
OK
Default error response
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
code int32
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
message string
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
@type string
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Loading...