Updated on 2023-12-14 GMT+08:00

Synchronizing a Dataset

Function

Synchronize samples and labeling information from the input dataset path to the dataset. Text datasets do not support this operation.

Debugging

You can debug this API through automatic authentication in API Explorer or use the SDK sample code generated by API Explorer.

URI

POST /v2/{project_id}/datasets/{dataset_id}/sync-data

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

dataset_id

Yes

String

Dataset ID.

project_id

Yes

String

Project ID. For details about how to obtain a project ID, see Obtaining a Project ID and Name.

Request Parameters

None

Response Parameters

None

Example Requests

Synchronizing a Dataset

POST https://{endpoint}/v2/{project_id}/datasets/{dataset_id}/sync-data

Example Responses

None

Status Codes

Status Code

Description

200

OK

401

Unauthorized

403

Forbidden

404

Not Found

Error Codes

See Error Codes.