Package | Description |
---|---|
com.ciscospark.androidsdk.webhook |
Modifier and Type | Method and Description |
---|---|
void |
WebhookClient.create(java.lang.String name,
java.lang.String targetUrl,
java.lang.String resource,
java.lang.String event,
java.lang.String filter,
java.lang.String secret,
CompletionHandler<Webhook> handler)
Posts a webhook for the authenticated user.
|
void |
WebhookClient.get(java.lang.String webhookId,
CompletionHandler<Webhook> handler)
Retrieves the details for a webhook by id.
|
void |
WebhookClient.list(int max,
CompletionHandler<java.util.List<Webhook>> handler)
Lists all webhooks of the authenticated user.
|
void |
WebhookClient.update(java.lang.String webhookId,
java.lang.String name,
java.lang.String targetUrl,
CompletionHandler<Webhook> handler)
Updates a webhook by id.
|
void |
WebhookClient.update(java.lang.String webhookId,
java.lang.String name,
java.lang.String targetUrl,
java.lang.String secret,
java.lang.String status,
CompletionHandler<Webhook> handler)
Updates a webhook by id.
|