Skip to content

Commit

Permalink
chore(integration-templates): Automated commit updating flows.yaml ba…
Browse files Browse the repository at this point in the history
…sed on changes in NangoHQ/integration-templates@d9e7240 by Andrew Karanja. Commit message: feat(metabase): Implement Metabase user provisioning with create, delete, and list functionality (#184)
  • Loading branch information
github-actions[bot] committed Jan 15, 2025
1 parent 103914c commit 3e5a6f7
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs-v2/snippets/generated/metabase/PreBuiltTooling.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<Accordion title="✅ Read & write data">
| Tools | Status |
| - | - |
| Pre-built integrations | 🚫 (time to contribute: &lt;48h) |
| Pre-built integrations | |
| API unification ||
| 2-way sync ||
| Webhooks from Nango on data modifications ||
Expand Down
17 changes: 16 additions & 1 deletion docs-v2/snippets/generated/metabase/PreBuiltUseCases.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@

## Pre-built integrations

_No pre-built integration yet (time to contribute: &lt;48h)_
<AccordionGroup>


<Accordion title="Users">
| Endpoint | Description | Readme |
| - | - | - |
| `POST /users` | Creates a user in Metabase. | [🔗](https://github.com/NangoHQ/integration-templates/blob/main/integrations/metabase/actions/create-user.md) |
| `DELETE /users` | Disables a user in Metabase by id. | [🔗](https://github.com/NangoHQ/integration-templates/blob/main/integrations/metabase/actions/disable-user.md) |
| `PUT /users` | Updates an existing, active user in Metabase. | [🔗](https://github.com/NangoHQ/integration-templates/blob/main/integrations/metabase/actions/update-user.md) |
| `GET /users/single` | Fetches details of a specific user by ID. | [🔗](https://github.com/NangoHQ/integration-templates/blob/main/integrations/metabase/actions/fetch-user.md) |
| `PUT /users/enable` | Enables a disabled user. | [🔗](https://github.com/NangoHQ/integration-templates/blob/main/integrations/metabase/actions/enable-user.md) |
| `GET /users` | Fetches a list of users from Metabase, including active and inactive users. | [🔗](https://github.com/NangoHQ/integration-templates/blob/main/integrations/metabase/syncs/users.md) |
</Accordion>

</AccordionGroup>

<Tip>Not seeing the integration you need? [Build your own](https://docs.nango.dev/guides/custom-integration-builder/overview) independently.</Tip>
78 changes: 78 additions & 0 deletions packages/shared/flows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9372,6 +9372,84 @@ integrations:
city_state: string
description: string
full_address: string
metabase:
actions:
create-user:
description: Creates a user in Metabase.
output: User
endpoint:
method: POST
path: /users
group: Users
input: CreateUser
disable-user:
description: Disables a user in Metabase by id.
endpoint:
method: DELETE
path: /users
group: Users
output: SuccessResponse
input: IdEntity
update-user:
description: Updates an existing, active user in Metabase.
endpoint:
method: PUT
path: /users
group: Users
input: UpdateUserInput
output: SuccessResponse
fetch-user:
description: Fetches details of a specific user by ID.
output: User
endpoint:
method: GET
path: /users/single
group: Users
input: IdEntity
enable-user:
description: Enables a disabled user.
endpoint:
method: PUT
path: /users/enable
group: Users
output: SuccessResponse
input: IdEntity
syncs:
users:
runs: every day
description: >
Fetches a list of users from Metabase, including active and inactive
users.
output: User
track_deletes: true
sync_type: full
endpoint:
method: GET
path: /users
group: Users
models:
SuccessResponse:
success: boolean
IdEntity:
id: integer
User:
id: integer
firstName: string
lastName: string
email: string
active?: boolean
CreateUser:
firstName: string
lastName: string
email: string
UpdateUserInput:
id: integer
email: string | null
first_name: string | null
last_name: string | null
is_group_manager: boolean | null
locale: string | null
is_superuser: boolean | null
microsoft-teams:
syncs:
org-units:
Expand Down

0 comments on commit 3e5a6f7

Please sign in to comment.