WebhookClient
public class WebhookClientAn iOS client wrapper of the Cisco Webex Webhooks REST API .
Since
1.2.0- 
                  
                  Lists all webhooks of the authenticated user. Since 1.2.0DeclarationSwift public func list(max: Int? = nil, queue: DispatchQueue? = nil, completionHandler: @escaping (ServiceResponse<[Webhook]>) -> Void)ParametersmaxThe maximum number of webhooks in the response. queueThe queue on which the completion handler is dispatched. completionHandlerA closure to be executed once the request has finished. Return ValueVoid 
- 
                  
                  Posts a webhook for the authenticated user. Since 1.2.0DeclarationSwift public func create(name: String, targetUrl: String, resource: String, event: String, filter: String? = nil, secret: String? = nil, queue: DispatchQueue? = nil, completionHandler: @escaping (ServiceResponse<Webhook>) -> Void)ParametersnameA user-friendly name for this webhook. targetUrlThe URL that receives POST requests for each event. resourceThe resource type for the webhook. eventThe event type for the webhook. filterThe filter that defines the webhook scope. secetSecret use to generate payload signiture queueThe queue on which the completion handler is dispatched. secetSecret use to generate payload signiture completionHandlerA closure to be executed once the request has finished. Return ValueVoid 
- 
                  
                  Retrieves the details for a webhook by id. Since 1.2.0DeclarationSwift public func get(webhookId: String, queue: DispatchQueue? = nil, completionHandler: @escaping (ServiceResponse<Webhook>) -> Void)ParameterswebhookIdThe identifier of the webhook. queueThe queue on which the completion handler is dispatched. completionHandlerA closure to be executed once the request has finished. Return ValueVoid 
- 
                  
                  Updates a webhook by id. Since 1.4.0DeclarationSwift public func update(webhookId: String, name: String, targetUrl: String, secret: String? = nil, status: String? = nil, queue: DispatchQueue? = nil, completionHandler: @escaping (ServiceResponse<Webhook>) -> Void)ParameterswebhookIdThe identifier of the webhook. nameA user-friendly name for this webhook. targetUrlThe URL that receives POST requests for each event. statusThe status of the webhook. Use “active” to reactivate a disabled webhook. secretThe secret used to generate payload signature. queueThe queue on which the completion handler is dispatched. completionHandlerA closure to be executed once the request has finished. Return ValueVoid 
- 
                  
                  Deletes a webhook by id. Since 1.2.0DeclarationSwift public func delete(webhookId: String, queue: DispatchQueue? = nil, completionHandler: @escaping (ServiceResponse<Any>) -> Void)ParameterswebhookIdThe identifier of the webhook. queueThe queue on which the completion handler is dispatched. completionHandlerA closure to be executed once the request has finished. webhookIdThe identifier of the webhook. Return ValueVoid 
 View on GitHub
View on GitHub WebhookClient Class Reference
        WebhookClient Class Reference