API & Integrations
Discuss the Guru API, Zapier and Workato workflows, and integrations with Guru
- 82 Posts
- 288 Replies
Questions about automating card verification when a user adds a card URL to a specific field in Zendesk
Hey Team :wave: I'm working with one of our devs to build out an MVP for automating card verification when a user adds a card URL to a specific field in Zendesk. It's built on Rails. We've a couple of questions we're hoping you could answer. We can't find any reference to the verifier endpoint in the API docs. - Would it be possible to get an example of a POST updating a cards verifier via the `https://api.getguru.com/api/v1/cards//verifiers/` endpoint? An example in Ruby would be amazing, but curl would be fine too. - What are the required fields for this request? - We're also wondering if it's possible to update the verification interval without also having to "update" the `preferredPhrase` or content by sending the same current value? Our previous MVP used the `https://api.getguru.com/api/v1/facts//extended` endpoint but we'd like to work around updating the title/content with every request. Can you recommend an alternative?
Is it possible to get a list of all users who have modified a Card?
Another question about API responses. Does anyone know whether it's possible to get a list structure of ALL users who have modified a card, rather than just the record of the *last* person to modify it? I'm keen to understand the full audit trail of a card's history. Thank you!
Search API query not returning archived Card details
Hi team, I think that I have found a bug in the API. I am using the search/query with success in our code. I have noticed that it *doesn't* return any archived card details when we use the simple `q` query parameter. I know that there is another query parameter called `showArchived` which takes true or false. When I set this extra parameter to true, then it *only* returns archived cards: that's correct behavior. When I set it to false, it *only* returns non-archived cards: that correct behavior. However, when I *omit* the `showArchived` parameter, I believe that it should return BOTH archived and non-archived cards. Unfortunately, this is not the case. It does not return any archived cards. Please can you investigate? If this behavior is intentional, how am I supposed to return both archived and non-archived cards without making two separate API calls…? Thank you :slightlysmilingface:
Questions about using Guru's API to update a Card's verifier
Hey folks, first time caller long time fan :wave: We're in the process of adapting how one of our teams verifies content in Guru to more closely align with our KCS methodology. We've built an MVP where once a card has been added to a custom field in Zendesk and the ticket is submitted, we catch the hook, get the card ID from the Guru URL, and once it passes our validation, use PUT to update the card's verifier. We want to be able to set the verifier of the card as the ticket submitter, verify said card, and set its verification interval to 90 days. The MVP is functioning as expected but we've hit a roadblock with API credentials. The issue is that AFAIK we don't have a general or admin API token with read/write access. The collection API token would work for our use case, but they're read-only. As a result, while we can assign the card to the SME who submits the ticket, we can't set the verification status to trusted. Without the ability to do so its purpose is defeated. Any suggestion
How can I pipe unverified Cards into a Slack channel?
Hi! I have an API question! I want to set up a way to pipe super duper old & dusty unverified cards into a Slack channel using Workato. In theory I can do this if I can update a Google spreadsheet using API calls, but that's where I'm getting stuck. Right now, I use the Card Manager to look a set of parameters to pull it manually - but I'd like to take myself out of the process and operationalize this process! Has anyone done anything similar to this?
Guru the Gathering resources - Extending Guru through the API
• More info. on the Guru Developer Network, including API documentation, how to sign up for a developer account, and examples of how others are using the API: https://www.getguru.com/developers • Deck from today: https://app.getguru.com/card/crkRA9Xi/121819-Virtual-Guru-the-Gathering-online-Extending-Guru-through-the-API • Questions for @mhouston about the API and/or Guru Developer Network? Feel free to reach out here in Slack, or via email:
Log in to engage in discussions
Use your Guru account credentialsLog in
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.