Downloading only user-created metadata #434
-
Related to #221, but different question. I'm currently working on trying to implementing an experimental feature to allow users to download and upload the metadata. We're using the python-irodsclient API to get all available metadata for collections and data objects. I have a prototype that is working, however, it also downloads non-user created metadata such as I could blacklist those two specific keys within the iBridges API, but I'm worried that there will be other entries that I haven't seen yet that also should be blacklisted. What is the best way to skip these metadata entries? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
You can use the meta_form API (https://petstore.swagger.io/?url=https://utrechtuniversity.github.io/yoda-ruleset/api_core.json#/meta_form) to download and upload the metadata for collections using the python-irodsclient. This API also validates the metadata against the configured metadata schema. |
Beta Was this translation helpful? Give feedback.
-
Thanks @lwesterhof for the suggestion. I have a few questions:
|
Beta Was this translation helpful? Give feedback.
That would be a good workaround, just ignore all metadata with org_ prefix.