Domo Search API?
Hi All,
I'm working on a dynamic landing page and I am trying to make a 'universal search' within a Domo brick where users can type in whatever they are looking for and return back cards/dashboards that are relevant to their area of the business. I realize Domo already has a search, but I want to build off of that same search (at least the json data it returns), with some tweaks to better personalize and target specific content to end-users.
I've tried to use the search API that I found via network inspection:
https://xxxxxxx.domo.com/api/search/v1/query
It works fine if I use the full URL via postman. But if I attempt to use just the '/search/v1/query' part as you would in a domo brick (as it already knows what instance you're in), I get a 404 error.
Does anyone know of any alternate search API endpoints I can try out?
Thanks!
Best Answer
-
404 is the not found error. From the documentation, it seems Domo Bricks currently only supports getting data through either the SQL Endpoint or the Data Endpoint, not the Search one you're trying to leverage here. You might be able to work around this if you can use a different library to perform the call to the search endpoint, but no clue on how to do this.
1
Answers
-
Are you including the 'api' portion of your url in your request?
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 -
Hey Grant - No. Usually in a brick you can skip that. Just for the sake of trying I've tried with and without it.
0 -
404 is the not found error. From the documentation, it seems Domo Bricks currently only supports getting data through either the SQL Endpoint or the Data Endpoint, not the Search one you're trying to leverage here. You might be able to work around this if you can use a different library to perform the call to the search endpoint, but no clue on how to do this.
1 -
@marcel_luthi Thanks. I figured as much. It's not a documented API endpoint so I figured why not try to give it a shot and see if it works anyway. It's unfortunate because had it worked, it would have saved me so much time since I wouldn't have to go off and develop a bunch of ETL's bringing a bunch of governance data together to mimic a similar style search thats already built into Domo. All I wanted was that sweet JSON response data. It had everything I needed in one big ole object that I could've parsed through to display on my Domo brick.
Ah well, at least we tried :D
Have a wonderful day!
1
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