Metadata template key
回答済みI was attempting to search using mdfilters in the API.
I got an error like this one (I xx'ed out the enterprise number, I'm assuming it refers to me)
message: "Instance not found for '"template", "scopedKey", "enterprise_XXXXX", "Archives"'", code: "instance_tuple_not_found",
"Archives" is the name I've selected for my metadata template (I edited it from "Archives Artifacts" however it appears as though the name I've chosen for the metadata template may not be the same as it's "templateKey?" I'm having difficulty finding the key in the metadata template setup. Is the templateKey required by the mdfilters parameter the same as the template's name that I edit/choose in the metadata admin interface and if so, is it case sensitive?
Thanks for your time and your help!
-
Following up on this:
I was able to find the template key with the following API call:
https://api.box.com/2.0/metadata_templates/enterprise
It appears to be some version of the first name you've chosen for your template: camel case with the spaces removed.
Thanks all.
サインインしてコメントを残してください。
コメント
1件のコメント