创建文件上传任务
创建数据集特定分支文件上传任务。
Path Parameters
数据空间ID。
数据集ID。
分支ID。
Request Body required
上传任务的类型。
新建commitID。
文件的所在的源桶名称。
对象存储的endpoint。
上传的源路径。
上传文件的远端目的路径。
版本提交信息。
real_user_info object
用户信息。
用户id。
用户名。
oss_config object
对象存储配置。
文件的所在的源桶名称。
对象存储的endpoint。
对象存储的access key。
对象存储的secret key。
aoss需要为false,阿里云oss需要为true。
一些自建的没配置https的对象存储需要为true。
一些自建的配置了https但是没配置证书的需要为true。
extra_info object
额外信息。
关联任务的ID
auth_info object
授权信息
授权状态
授权类型
授权项目id
- 200
- default
OK
Schema
- Array [
- ]
ID.
metadata object
Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
The type of the serialized message.
Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
如果值为“false”,则表示操作仍在进行中。如果为“true”,则操作完成。
error object
The Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status
message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
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.
The type of the serialized message.
response object
Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
The type of the serialized message.
Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
{
"name": "string",
"metadata": {
"@type": "string"
},
"done": true,
"error": {
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
},
"response": {
"@type": "string"
}
}
Default error response
Schema
- Array [
- ]
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
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.
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}