Method | Description | |
---|---|---|
CreateAsync ( |
Creates a WebHook subscription for Trello to send WebHooks when changes happen to a given modelId. If the operation fails an exception is thrown.
|
|
DeleteAsync ( string webHookId ) : Task |
Deletes an existing Trello WebHook with a given webHookId.
|
|
Dispose ( ) : void | ||
TrelloWebHookClient ( string userToken, string applicationKey ) : System |
Initializes a new instance of the TrelloWebHookClient which can be used to create and delete WebHooks with Trello. For more information about Trello WebHooks, please see
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources and optionally releases the managed resources.
|
Method | Description | |
---|---|---|
TrelloWebHookClient ( string userToken, string applicationKey, |
Initializes a new instance of the TrelloWebHookClient with the given httpClient. This constructor is intended for unit testing purposes.
|
public CreateAsync ( |
||
callback | The URI where WebHooks for the given |
|
modelId | string | The ID of a model to watch. This can be the ID of a member, card, board, or anything that actions apply to. Any event involving this model will trigger the WebHook. An example model ID is |
description | string | A description of the WebHook, for example |
return | Task |
public DeleteAsync ( string webHookId ) : Task |
||
webHookId | string | The WebHook ID obtained when creating the WebHook. |
return | Task |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
return | void |
public TrelloWebHookClient ( string userToken, string applicationKey ) : System | ||
userToken | string | The user token obtained when authenticating with Trello. The token can for example
/// be obtained using either of the |
applicationKey | string | Your Trello application key as obtained from |
return | System |