- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2022 09:10 AM
We are trying to expose a REST API endpoint using python notebook. Does databricks allow this?
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2022 10:54 AM
- You can query tables in your metastore using JDBC drivers etc., so create tables, and then you can query them from your web service,
- There is also an API service for consuming ML models.
If you clarify what exactly you want to expose in REST API, it would be easier to help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2022 11:08 PM
Hi @Muniyappan Mani
Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.
We'd love to hear from you.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2022 07:04 PM
Not very clear are you trying to run a job using REST API endpoint
something like this Execute Databricks Jobs via REST API in Postman (mssqltips.com) ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2022 10:06 PM
@Priya Ananthram No, that's not what we are looking for; we are already aware of Databricks REST API. But we are looking for a way to expose a custom REST API from Databricks. (Say: to add a two number , when we submit input data to an HTTP via REST API )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2022 03:16 PM
I dont think you can do that thats more like a webservice happy to be corrected by the databricks community
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2022 10:54 AM
- You can query tables in your metastore using JDBC drivers etc., so create tables, and then you can query them from your web service,
- There is also an API service for consuming ML models.
If you clarify what exactly you want to expose in REST API, it would be easier to help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2022 11:08 PM
Hi @Muniyappan Mani
Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.
We'd love to hear from you.
Thanks!