Publish a dataset to an external platform
POST/api/v1/datasets/{dataset_id}/publish
Publishes the processed dataset to Hugging Face or Kaggle. Currently returns 501 — not yet implemented.
Body ParametersJSON
Publish a dataset to an external platform
curl https://api.adaptionlabs.ai/api/v1/datasets/$DATASET_ID/publish \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $ADAPTION_API_KEY" \
-d '{
"target": "huggingface",
"target_spec": {
"repo_name": "bar",
"private": "bar"
}
}'{
"publish_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "queued",
"message": "message"
}Returns Examples
{
"publish_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "queued",
"message": "message"
}