Skip to content

Does datahub provide a rest interface for data ingestion #1793

@cobolbaby

Description

@cobolbaby

Before I used the python script under metadata-ingestion to import data.

But I found an HTTP interface in #1791 accidentally. Is this method recommended? Is there any related documentation?

curl 'http://localhost:8080/datasets?action=ingest' -X POST -H 'X-RestLi-Protocol-Version:2.0.0' --data '{"snapshot":{"aspects":[{"com.linkedin.dataset.DatasetProperties":{"description":"descriptionForTest2","tags":["tag1","tag2"],"customProperties":{}}}],"urn":"urn:li:dataset:(urn:li:dataPlatform:hdfs,test2,EI)"}}'

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions