Forum Discussion
Hey wmertens,
The issue here is that you have both a metadata item named cisco.ispublishable and a custom tag named cisco.ispublishable. When creating a message it looks like the custom tag is applied. In order to lookup using the custom tag, you need to prepend "modbar" to the key as outlined here:
So the call should be restapi/vc/posts/for/metadata/key/modbar.cisco.ispublishable/value/true
Also thanks to KrisS for helping out with this.
Hope this helps,
Yuri
- BradR11 years agoKhoros Alumni (Retired)
I'm running into the same issue here and wondering if there is any insight to be had. I have defined a metadata element as canonicalized_string.
I have that metadata set on a specific post, and can verify it:
/restapi/vc/messages/id/154625/metadata/key/lithiumcse.metabrad
But when I use the existence method as follows:
/restapi/vc/posts/for/metadata/key/lithiumcse.metabrad/exists
returns false.
Any thoughts?
- ChhamaJ11 years agoKhoros Staff
Hi Bradley,
I tried to replicate this and it seems to be a valid bug. I have created a ticket for it and hope to fix that soon.
Let me know if you have any questions.Regards,
Chhama- ChhamaJ11 years agoKhoros StaffThis bug has been fixed and the exists call should be working in release versions 14.7 and later. Let me know if there are any questions.
Regards,
Chhama
Related Content
- 3 years ago
- 11 years ago
- 5 years ago