Datasets
Copy or move images to a dataset
Changed onCopies hosted images as content-addressed references without moving bytes. Omit release and classMapping for unlabeled train images. Set release to false (copy) or true (move), or supply classMapping, to preserve annotations, metadata, depth targets, and splits from editable sources; classes match by name. Other readable sources remain unlabeled train images. Moves delete only inserted source rows in the same transaction. Existing images are skipped.
post/api/datasets/{owner}/{dataset}/images/adopt
Request
- Base URLhttps://platform.ultralytics.com
- AuthHTTP bearer
Path parameters
ownerstring required
Example:ultralytics
Dataset owner
datasetstring required
Example:coco8
Dataset name
Request body
Example request
{
"imageIds": [
"507f1f77bcf86cd799439011"
]
}Response
Images added
Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the non-success response with the status
- info
- info
endpoint added
- info