doc-exports/docs/modelarts/api-ref/SyncDataSource.html
Beibei 525370b67d
ModelArts GA API 06052022 from R&D (#14)
ModelArts GA API 06052022 from R&D

R&D has provided a right version of ModelArts GA API (06052022)

Reviewed-by: Artem Goncharov <Artem.goncharov@gmail.com>
2022-05-23 16:26:34 +00:00

4.1 KiB

Synchronizing a Dataset

Function

This API is used to synchronize samples and labeling information from the input dataset path to the dataset.

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 the project ID, see Obtaining a Project ID.

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.