Skip to content

Commit

Permalink
feat(integrations): add support for Discourse (#2699)
Browse files Browse the repository at this point in the history
## Describe your changes

- Add support for Discourse

## Issue ticket number and link

[EXT-133](https://linear.app/nango/issue/EXT-133/add-support-for-discourse-api)
  • Loading branch information
hassan254-prog authored Sep 9, 2024
1 parent cb54ac6 commit 594e024
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 0 deletions.
31 changes: 31 additions & 0 deletions docs-v2/integrations/all/discourse.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: Discourse
sidebarTitle: Discourse
---

API configuration: [`discourse`](https://nango.dev/providers.yaml)

## Features

| Features | Status |
| - | - |
| [Auth (API Key)](/integrate/guides/authorize-an-api) ||
| [Sync data](/integrate/guides/sync-data-from-an-api) ||
| [Perform workflows](/integrate/guides/perform-workflows-with-an-api) ||
| [Proxy requests](/integrate/guides/proxy-requests-to-an-api) ||
| [Receive webhooks](/integrate/guides/receive-webhooks-from-an-api) | 🚫 (time to contribute: <48h) |

<Tip>We can implement missing features in &lt;48h, just ask for it in the [community](https://nango.dev/slack).</Tip>

## Getting started

- [Discourse API docs](https://docs.discourse.org)

<Tip>Need help getting started? Get help in the [community](https://nango.dev/slack).</Tip>

## API gotchas

- Discourse uses API_KEY authentication mode with `Api-Key: apiKey` and `Api-Username: API Username` in the request header to access different endpoints. Both keys can be obtained from the admin panel.
- Since Nango automatically sets the `Accept: application/json` header, there is no need to include the `.json` suffix in API endpoint URLs. For example, instead of sending a request to `/categories.json`, you can send it to `/categories`, and the JSON response will still be returned.

<Note>Add Getting Started links and Gotchas by [editing this page](https://github.com/nangohq/nango/tree/master/docs-v2/integrations/all/discourse.mdx)</Note>
1 change: 1 addition & 0 deletions docs-v2/integrations/communication.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ sidebarTitle: Communication
<Card title="Circle.so" href="/integrations/all/circle-so" color="#68a063" />
<Card title="Dialpad" href="/integrations/all/dialpad" color="#68a063" />
<Card title="Discord" href="/integrations/all/discord" color="#68a063" />
<Card title="Discourse" href="/integrations/all/discourse" color="#68a063" />
<Card title="Facebook" href="/integrations/all/facebook" color="#68a063" />
<Card title="Fireflies" href="/integrations/all/fireflies" color="#68a063" />
<Card title="Front" href="/integrations/all/front" color="#68a063" />
Expand Down
1 change: 1 addition & 0 deletions docs-v2/mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@
"integrations/all/dialpad",
"integrations/all/digitalocean",
"integrations/all/discord",
"integrations/all/discourse",
"integrations/all/dropbox",
"integrations/all/docusign",
"integrations/all/e-conomic",
Expand Down
11 changes: 11 additions & 0 deletions packages/shared/providers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -854,6 +854,17 @@ discord:
retry:
after: 'Retry-After'
docs: https://docs.nango.dev/integrations/all/discord
discourse:
categories:
- communication
auth_mode: API_KEY
proxy:
base_url: https://${connectionConfig.defaultHost}
headers:
Api-Username: ${connectionConfig.apiUsername}
Api-Key: ${apiKey}
Accept: application/json
docs: https://docs.nango.dev/integrations/all/discourse
docusign:
categories:
- legal
Expand Down
1 change: 1 addition & 0 deletions packages/webapp/public/images/template-logos/discourse.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 594e024

Please sign in to comment.