Get an Integration
Get an Integration and its associated Connections by ID.
Permissions Required
Only Connections for which you have View permissions will be included on the response.
Method Signature
Integration Get(string id);
async Task<Integration> GetAsync(string id);
Parameters
Parameter | Type | Description |
---|---|---|
id | string | The id of the Integration to get |
returns | Integration | The requested Integration |
Example
/*
* This example demonstrates getting an Integration by ID
* and printing out the Integration's Connections
*/
using Catalytic.Sdk.Entities;
namespace Catalytic.Sdk.Examples
{
class Program
{
static void Main(string[] args)
{
var catalytic = new Catalytic.Sdk.CatalyticClient(AccessToken.Default);
var integration = catalytic.Integrations.Get("dropbox/oauth2/v1");
Console.WriteLine($"${integration.Name}:");
foreach (var connection in integration.Connections)
{
Console.WriteLine($"{integration.Name}");
}
}
}
}
Updated almost 4 years ago