创建远端提交版本任务
创建远端数据集特定分支提交版本任务。
Path Parameters
数据空间ID。
数据集ID。
分支ID。
Request Body required
提交文件所属目录绝对路径。
版本提交信息。
oss桶名称。
oss存文件的临时路径: /graviton/repo/repoID/tmp/taskID/。
- 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"
}
]
}