创建远端提交版本任务 | 大装置帮助中心
跳到主要内容

创建远端提交版本任务

创建远端数据集特定分支提交版本任务。

Path Parameters
    data_space_id string required

    数据空间ID。

    repo_id string required

    数据集ID。

    branch_id string required

    分支ID。

Request Body required
    dir_abs_path string

    提交文件所属目录绝对路径。

    commit_message string

    版本提交信息。

    oss_bucket_name string

    oss桶名称。

    oss_temp_path string

    oss存文件的临时路径: /graviton/repo/repoID/tmp/taskID/。

Responses

OK


Schema
    name string

    ID.

    metadata object

    Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

    @type string

    The type of the serialized message.

    property name* any

    Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

    done boolean

    如果值为“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.

    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.

  • Array [
  • @type string

    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.

    @type string

    The type of the serialized message.

    property name* any

    Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

Loading...