Hi! What all APIs/entities have the PATCH support ...
# advice-metadata-modeling
a
Hi! What all APIs/entities have the PATCH support as announced here https://datahubspace.slack.com/archives/CUMV92XRQ/p1664207504723529. Is there support for patching customProperties?
2
a
Hi @astonishing-guitar-79208, I believe that announcement referred to our REST api- here’s the schema: https://datahubproject.io/docs/api/openapi/openapi-usage-guide
m
@astonishing-guitar-79208 this test is a good one to understand which entities support PATCH. https://github.com/datahub-project/datahub/blob/master/smoke-test/tests/patch/test_dataset_patches.py
Looks like we don’t support customProperties yet .
a
Actually its supported. Although we have to build the JSON patch ourselves to achieve the patch the
customProperties
field using
MetadataChangeProposal
m
Ah good to know. Maybe you can contribute an improvement to the dataset patch builder sdk in py.
a
Sure