Metabase¶
With Metabase modules in Ibexa Connect , you can:
-
create, update, retrieve, search, and disable users
-
create, update, retrieve, search collections, and collection items
-
create, update, retrieve, search, and delete dashboards
-
add a card to a dashboard, generate links for a card, retrieve a card, list alerts for a card, search and delete cards
-
search, retrieve, and unsubscribe from an alert
-
create, update, retrieve, and list metrics
-
update, retrieve, and list tables
-
execute a query, retrieve, search, and delete databases
-
search, retrieve, and unsubscribe from dashboard subscription
To get started with Metabase, create an account at metabase.com
Connect Metabase to Ibexa Connect¶
To connect Metabase app:
-
Log in to your Ibexa Connect , insert a Metabase module in your scenario and click the Add button next to the Connection field.
-
In the Connection name field, enter a name for the connection.
-
In the Company Name field enter your company name.
-
In the Email and Password fields, enter your Metabase credentials and click Save.
You have successfully established the connection. You can now begin editing scenarios and adding more Metabase modules. If your connection needs reauthorization at any point, follow the connection renewal steps here.
Users¶
You can create, update, retrieve, search, and disable users using the following modules.
Create a User¶
Creates a new user.
For field descriptions, see the Metabase Users API reference.
Add a User to a Permissions Group¶
Adds a user to a permissions group.
Group ID | Select or map the Group ID whose users you want to add. |
User ID | Select or map the User ID whom you want to add. |
Is Group Manager | Select whether the user is a group manager. |
Update a User¶
Updates a user.
User ID | Select or map the User ID whose details you want to update. |
For field descriptions, see the Metabase Users API reference.
Get a User¶
Gets a user.
User ID | Select or map the User ID whose details you want to retrieve. |
Search Users¶
Searches users by given criteria.
Limit | Set the maximum number of users Ibexa Connect will return during one execution cycle. The default value is 10. |
See Metabase Users API reference for entering the field values to search the users that match the specified value.
Disable a User¶
Disables a user.
User ID | Select or map the User ID you want to disable. |
Collections¶
You can create, update, retrieve, and search collections, and collection items using the following modules.
Create a Collection¶
Creates a new collection.
For field descriptions, see the Metabase Collections API reference.
Update a Collection¶
Updates a collection.
Collection ID | Select or map the Collection ID whose details you want to update. |
For field descriptions, see the Metabase Collections API reference.
Get a Collection¶
Gets a collection.
Collection ID | Select or map the Collection ID whose details you want to retrieve. |
Search Collections¶
Searches collections by given criteria.
Limit | Set the maximum number of collections Ibexa Connect will return during one execution cycle. The default value is 10. |
See Metabase Collections API reference for entering the field values to search the collections that match the specified value.
Search Collection's Items¶
Searches a specific collection's Items.
Limit | Set the maximum number of collection items Ibexa Connect will return during one execution cycle. The default value is 10. |
See Metabase Collections API reference for entering the field values to search the collections that match the specified value.
Dashboards¶
You can create, update, retrieve, search, and delete dashboards using the following modules.
Create a Dashboard¶
Creates a new dashboard.
For field descriptions, see the Metabase Dashboard API reference.
Update a Dashboard¶
Updates a dashboard.
Dashboard ID | Select or map the Dashboard ID whose details you want to update. |
For field descriptions, see the Metabase Dashboard API reference.
Get a Dashboard¶
Gets a dashboard.
Dashboard ID | Select or map the Dashboard ID whose details you want to retrieve. |
Search Dashboards¶
Searches dashboards by given criteria.
Filter |
Select the filter:
|
Limit |
Set the maximum number of dashboards Ibexa Connect will return during one execution cycle. The default value is 10. |
Delete a Dashboard¶
Deletes a dashboard.
Dashboard ID | Select or map the Dashboard ID you want to delete. |
Cards¶
You can add a card to a dashboard, generate a link for a card, retrieve a card, list alerts for a card, search, and delete cards using the following modules.
Add a Card to a Dashboard¶
Adds a card to a dashboard.
For field descriptions, see the Metabase Card API reference.
Generate Link for Card¶
Generates a publicly accessible link for the card.
Card ID | Select or map the Card ID whose link you want to generate. |
Get a Card¶
Gets a card.
Card ID | Select or map the Card ID whose details you want to retrieve. |
List Alerts for a Card¶
Gets all alerts for the given card.
Card ID | Select or map the Card ID whose alerts you want to list. |
Limit | Set the maximum number of alerts Ibexa Connect will return during one execution cycle. The default value is 10. |
Search Cards¶
Searches cards by given criteria.
Filter | Select a filter to search cards by the criteria given. |
Limit | Set the maximum number of cards Ibexa Connect will return during one execution cycle. The default value is 10. |
Delete a Card¶
Deletes a card.
Card ID | Select or map the Card ID you want to delete. |
Alerts¶
You can search, retrieve, and unsubscribe from an alert using the following modules.
Get an Alert¶
Gets an alert.
Alert ID | Select or map the Alert ID whose details you want to retrieve. |
Search Alerts¶
Searches alerts by given criteria.
Archived | Select whether to search for archived alerts. |
User ID | Select or map the User ID whose alerts you want to search. |
Limit | Set the maximum number of alerts Ibexa Connect will return during one execution cycle. The default value is 10. |
Unsubscribe from an Alert¶
Unsubscribes from an alert.
Alert ID | Select or map the Alert ID you want to unsubscribe. |
Metrics¶
You can create, update, retrieve, and list metrics using the following modules.
Create a Metric¶
Creates a new metric.
For field descriptions, see the Metabase Metrics API reference.
Update a Metric¶
Updates a metric.
Metric ID | Select or map the Metric ID whose details you want to update. |
For field descriptions, see the Metabase Metrics API reference.
Get a Metric¶
Gets a metric.
Metric ID | Select or map the Metric ID whose details you want to retrieve. |
List Metrics¶
Lists all metrics.
Limit | Set the maximum number of metrics Ibexa Connect Ibexa Connect will return during one execution cycle. The default value is 10. |
Tables¶
You can update, retrieve, and list tables using the following modules.
Update a Table¶
Updates a table.
Table ID | Select or map the Table ID whose details you want to update. |
For field descriptions, see the Metabase Tables API reference.
Get a Table¶
Gets a table.
Table ID | Select or map the Table ID whose details you want to retrieve. |
List Tables¶
Lists all tables.
Limit | Set the maximum number of tables Ibexa Connect will return during one execution cycle. The default value is 10. |
Databases¶
You can execute a query, retrieve, search, and delete databases using the following modules.
Execute a Query¶
Executes a query.
Database | Select or map the Database whose query you want to execute. |
Query | Enter the query in a valid JSON string. |
Get a Database¶
Gets a database.
Database ID | Select or map the Database ID whose details you want to retrieve. |
Search Databases¶
Searches databases by given criteria.
Limit | Set the maximum number of databases Ibexa Connect will return during one execution cycle. The default value is 10. |
See Metabase Database API reference for entering the field values to search the databases that match the specified value.
Delete a Database¶
Deletes a database.
Database ID | Select or map the Database ID you want to delete. |
Dashboard Subscriptions¶
You can search, retrieve, and unsubscribe from the dashboard subscription using the following modules.
Get a Dashboard Subscription¶
Gets a dashboard subscription.
Dashboard Subscription ID | Select or map the Dashboard Subscription ID whose details you want to retrieve. |
Search Dashboard Subscriptions¶
Searches dashboard subscriptions by given criteria.
Archived | Select whether to search archived for subscriptions. |
Dashboard ID | Select or map the Dashboard ID whose dashboard subscriptions you want to search. |
User ID | Select or map the User ID whose dashboard subscriptions you want to search. |
Limit | Set the maximum number of dashboard subscriptions Ibexa Connect will return during one execution cycle. The default value is 10. |
Unsubscribe from a Dashboard Subscription¶
Unsubscribes users from a dashboard subscription.
Dashboard Subscription ID | Select or map the Dashboard Subscription ID you want to unsubscribe. |
Other¶
You can call APIs using the following module.
Make an API call¶
Performs an arbitrary authorized API call.
Note
For the list of available endpoints, refer to the Metabase API documentation.
URL |
Enter a path relative to |
Method |
GET to retrieve information for an entry. POST to create a new entry. PUT to update/replace an existing entry. PATCH to make a partial entry update. DELETE to delete an entry. |
Headers |
Enter the desired request headers. You don't have to add authorization headers; we already did that for you. |
Query String |
Enter the request query string. |
Body |
Enter the body content for your API call. |
Example of use - Search Collections¶
The following API call returns all collections from your account.
URL: /collection
Method: GET
Matches of the search can be found in the module's Output under Bundle > Body.
In our example 5 collections were returned: