How to determine if a given node is visible to the public?
Hello! I am trying to figure out if it's possible, via API, to determine if a given node is visible to the public. E.g. is the "read posts" permission granted by default on that node. (which I suppose isn't a FULL check of the whole permissions tree but probably adequate for our needs) I've found that the roles collection will give you the list of roles for the node (https://developer.khoros.com/khoroscommunitydevdocs/docs/role-api-support#roles-collection-constraint-combinations ) - but that isn't actually helpful for figuring out what the permissions are, especially the DEFAULT permissions. I've also found the coreNode.permissions.hasPermission (https://developer.khoros.com/khoroscommunitydevdocs/reference/permissionshaspermissionpermission_identifier) call - but I think this can only be used to check if the user in context has a specific permission, not whether or not a node has a certain default permission. (I'm not actually a developer / won't be the one developing this, just trying to determine if a specific enhancement request is possible :-)) Thanks!!33Views0likes2CommentsLooking for a Consultant for quick remote help
Need help with Khoros Community API integration. We're trying to sync user data from our CRM to Khoros using the REST API, but getting authentication errors when posting user profile updates. Can authenticate and retrieve data fine, but PUT requests to update user roles and custom fields are returning 401 errors. Need someone familiar with Khoros API permissions and user management endpoints. Should be 2-3 hours remote work to fix the API calls and test user sync. Need working by end of week.82Views0likes2CommentsSubscriptions to a label?
Hi all, I'm attempting to get the list of people who have subscribed to a label, but am struggling. The documentation is a bit confusing: It says both that you have to use a community ID as the node.id constraint but also that you can give the node.id constraint as a board id? Seems conflicting. And, regardless of the documentation, I get an error when I try to use a board ID (such as node.id='board:wireless-lan' where wireless-lan is the id of the board) My user has full admin permissions. Any ideas? I am not really a developer (as is probably evident!), just trying to pull a few bits of data for a stakeholder. Thanks!Solved84Views0likes6CommentsCan someone walk me through authenticating and using Postman with Aurora?
I'm a bit of a newbie when it comes to GraphQL and Postman and I'm struggling to work through the dev docs when it comes to authenticating and setting up the basics in Postman for testing in API calls in Aurora. We're looking ahead to migration and want to start getting familiar with basic API calls. Has anyone successfully got Postman and Aurora working? Is anyone willing to walk me through the bare minimum basics of getting this set up to authenticate into our Aurora instance and run a basic GraphQL call? I'm finding the dev docs pretty lacking currently so I'm turning to the expertise of the developer community here hoping someone has already figured this out. Or, if Khoros is reading this, can we have another Developer Webinar where we can walk through this? Or is this something you can offer through training or update the docs with more details? We've reached out to our CSM to see if we can get some 1:1 training but so far it doesn't look like that's an option right now.Solved586Views1like13CommentsContraint conversationlastpostime in Api graphql getmessages does not work
Hi everyone, Has anyone here ever tried using the messages API with the conversationLastPostTime constraint? In my case, the constraint is completely ignored — it doesn’t seem to have any effect at all. What I’d like to do is retrieve only the conversations starting from a certain date limit. But no matter what value I pass to conversationLastPostTime.gte, the results I get are not filtered by date. Has anyone else faced this issue, and did you find a workaround or a proper way to make this constraint work? Here’s the GraphQL body I’m using: Thanks a lot for your help38Views1like0CommentsThe total number of views in bulk data table doesn't match the views display in community,
Hello all, I have a question, I search all the action keys of an article from the bulk data API table, Gives this result: ACTION_KEY COUNT(KHO.ACTION_KEY) moderation.mark-unread 1 visits.member-entrance 15 moderation.mark-read 1 messages.edit 1 view 57 visits.visit-summary 24 total counts is: 99 for all actions, and the view is 57, but the views display 181 in community. why the number of views in database doesn't match the views display in community, the difference between these two numbers is so significant. any idea?69Views0likes4CommentsHTML support for GraphQL API
Hi Khoros, I've been roadmapping usage for the GraphQL API that allows for the creation of a Knowledge Base Article: https://developer.khoros.com/khorosauroradevdocs/docs/create-a-knowledge-base-article#create-a-knowledge-base-article When it comes to populating the GraphQL, I noticed some fields that we can use to populate an article, like "subject", "body", "introduction". However, when it comes to creating a Knowledge Base Article, I'm curious if there is support for some things I can do with the GraphQL API that we can already do with the UI version of creating a Knowledge Base Article. For example, in the UI, I can open the Source Code field in the editor of the article (please see attached screenshot). What this allows me to do is to essentially author the article in HTML, rather than in plaintext. So, as seen in the screenshot, I can set the Source Code for the new Knowledge Base Article. My question is this: with the GraphQL API, can I submit the body content as straight HTML just like I can in the UI > SourceCode? If the answer is no, my question we then be, is there a way we can set the HTML of a new Knowledge Base Article using the GraphQL API in any way (Source Code or otherwise)? Thanks, Edson44Views1like1CommentClassic: setting (and uploading) a user avatar through the API
Hey folks, The docs aren't very clear on how to actually upload a user avatar on Classic. I think I have to upload an image to an album and then link to that image from the userprofile endpoint, but the steps are unclear. Which album? How do I tell it which album? The reason: I have a whole bunch of old migrated avatars that are http endpoints. Many of the users with those avatars were very active but are no longer with us. Our SEO team says we should update them to https to eliminate mixed http/https. Seems like an easy one-off script, but I don't see the right set of incantations. Any pointers? I'll be doing this in python with an AI copilot if that helps (I'm a rusty developer). Thanks!29Views1like0Comments