Hi all.... I'm trying to "save" the definition of ...
# ingestion
m
Hi all.... I'm trying to "save" the definition of a dataset such that I can easily restore it using the saved definition - even after a hard delete of the dataset from datahub. I was hoping to use the swagger-ui to
GET
the dataset and dump it to JSON, and then use
POST
action to recreate. However it seems the format of the JSON delivered by
GET
is considerably different than that required by
PUT
??? Does anyone have a simple method of saving an entity and recreating it ?
plus1 1
l
Hi @magnificent-camera-71872! Thanks for raising this; we’re a bit short-staffed due to some much-deserved PTO, but we’ll take a look at this within the next couple of weeks!
m
no worries @little-megabyte-1074 It would be great if we could just feed the output of
GET
directly into
POST
- would make life much simpler 🙂
o
Hi @magnificent-camera-71872! Updates to the Datahub system are framed at a per-aspect level which doesn't cleanly translate to a full "entity." You'll need to pull out each aspect from the response and link it with the urn to create the UpsertAspectRequests