Is there an API for viewing and manipulating DataSet tags?
Hi, we would like to do something via the API where we search for DataSets with specific tags and also add and remove tags for DataSets. I have been reading through the docs for the DataSet API but I couldn't find any info for how to do this (or if it's even possible). I also skimmed through the other topics in the API docs but I couldn't see anything that seemed like it was related so I thought I'd check here to see if people more knowledgeable than I might be able to point me in the right direction.
Best Answers
-
There is an API but it's not documented in the API docs (that I have seen). I worked with the third party support team to help me when I needed a curl request to get the dataset tags from the datasets.
The API url was https://yourinstance.domo.com/api/data/ui/v3/datasources/search
1 -
The 'X-DOMO-Developer_token' is the argument header i.e. headers = {
'X-DOMO-Developer-Token': developertokenhere,
'Content-Type': 'application/json'
}
The developer token is generated in admin -> authentication --> access token (https://domohelp.domo.com/hc/en-us/articles/360042934494-Managing-Access-Tokens).
Third party support is separate from the domo support portal. You can put in a ticket through the portal and they can redirect it or you can reach out to third party support via connectorhelp@domo.com
1
Answers
-
There is an API but it's not documented in the API docs (that I have seen). I worked with the third party support team to help me when I needed a curl request to get the dataset tags from the datasets.
The API url was https://yourinstance.domo.com/api/data/ui/v3/datasources/search
1 -
Thanks a ton for responding. That's interesting. So it's using the UI API and not the DataSet API? Do you know what the endpoint is to be able to add and remove tags?
0 -
Just as a follow up... Since you mentioned that it was using the UI API I thought I'd check my browser's developer tools to see if that same API is being used and it looks like it is with some additional endpoints. Are those available to get called as well? How did you set up the authentication with the CURL request? Did you use an API key or did you set up a cookie?
0 -
@jlrosenlof I have not done anything yet with adding/removing tags - it's (low) on my to-do list. I'd probably either sniff the network traffic while doing it manually or just reach out to the third party support to get that endpoint info.
As far authentication I did that with the X-DOMO-Developer-Token and the API token in the header of the CURL request.
0 -
@mhouston Thanks a ton for all your help. Just two final questions, if I could...
For the authentication, you mentioned that you use the X-DOMO-Developer-Token and the API token in the header of the CURL request. Where did you get those tokens. I'm familiar with the Domo API where you get a client ID and secret but it sounds like you're talking about some different things. Where can I get the tokens that you're talking about?
Finally, when you mention third party support is that the Domo support that I can get to from the Help Center (domo-support.domo.com)?
Thanks again for all of your help.
0 -
The 'X-DOMO-Developer_token' is the argument header i.e. headers = {
'X-DOMO-Developer-Token': developertokenhere,
'Content-Type': 'application/json'
}
The developer token is generated in admin -> authentication --> access token (https://domohelp.domo.com/hc/en-us/articles/360042934494-Managing-Access-Tokens).
Third party support is separate from the domo support portal. You can put in a ticket through the portal and they can redirect it or you can reach out to third party support via connectorhelp@domo.com
1 -
@mhouston Thanks so much for all of your help. You've helped me get going in the right direction and I've got a path forward. Thanks!
1 -
@jlrosenlof glad I could help!
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive