All URIs are relative to https://signrequest.com/api/v1
Method | HTTP request | Description |
---|---|---|
webhooks_create | POST /webhooks/ | Create a Webhook |
webhooks_delete | DELETE /webhooks/{uuid}/ | Delete a Webhook |
webhooks_list | GET /webhooks/ | Retrieve a list of Webhooks |
webhooks_partial_update | PATCH /webhooks/{uuid}/ | Partially update a Webhook |
webhooks_read | GET /webhooks/{uuid}/ | Retrieve a Webhook |
webhooks_update | PUT /webhooks/{uuid}/ | Update a Webhook |
WebhookSubscription webhooks_create(data)
Create a Webhook
# load the gem
require 'signrequest_client'
# setup authorization
SignRequestClient.configure do |config|
# Configure API key authorization: Token
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = SignRequestClient::WebhooksApi.new
data = SignRequestClient::WebhookSubscription.new # WebhookSubscription |
begin
#Create a Webhook
result = api_instance.webhooks_create(data)
p result
rescue SignRequestClient::ApiError => e
puts "Exception when calling WebhooksApi->webhooks_create: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
data | WebhookSubscription |
- Content-Type: application/json
- Accept: application/json
webhooks_delete(uuid, )
Delete a Webhook
# load the gem
require 'signrequest_client'
# setup authorization
SignRequestClient.configure do |config|
# Configure API key authorization: Token
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = SignRequestClient::WebhooksApi.new
uuid = 'uuid_example' # String |
begin
#Delete a Webhook
api_instance.webhooks_delete(uuid, )
rescue SignRequestClient::ApiError => e
puts "Exception when calling WebhooksApi->webhooks_delete: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
uuid | String |
nil (empty response body)
- Content-Type: application/json
- Accept: application/json
InlineResponse2009 webhooks_list(opts)
Retrieve a list of Webhooks
# load the gem
require 'signrequest_client'
# setup authorization
SignRequestClient.configure do |config|
# Configure API key authorization: Token
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = SignRequestClient::WebhooksApi.new
opts = {
page: 56, # Integer | A page number within the paginated result set.
limit: 56 # Integer | Number of results to return per page.
}
begin
#Retrieve a list of Webhooks
result = api_instance.webhooks_list(opts)
p result
rescue SignRequestClient::ApiError => e
puts "Exception when calling WebhooksApi->webhooks_list: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
page | Integer | A page number within the paginated result set. | [optional] |
limit | Integer | Number of results to return per page. | [optional] |
- Content-Type: application/json
- Accept: application/json
WebhookSubscription webhooks_partial_update(uuid, data)
Partially update a Webhook
# load the gem
require 'signrequest_client'
# setup authorization
SignRequestClient.configure do |config|
# Configure API key authorization: Token
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = SignRequestClient::WebhooksApi.new
uuid = 'uuid_example' # String |
data = SignRequestClient::WebhookSubscription.new # WebhookSubscription |
begin
#Partially update a Webhook
result = api_instance.webhooks_partial_update(uuid, data)
p result
rescue SignRequestClient::ApiError => e
puts "Exception when calling WebhooksApi->webhooks_partial_update: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
uuid | String | ||
data | WebhookSubscription |
- Content-Type: application/json
- Accept: application/json
WebhookSubscription webhooks_read(uuid, )
Retrieve a Webhook
# load the gem
require 'signrequest_client'
# setup authorization
SignRequestClient.configure do |config|
# Configure API key authorization: Token
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = SignRequestClient::WebhooksApi.new
uuid = 'uuid_example' # String |
begin
#Retrieve a Webhook
result = api_instance.webhooks_read(uuid, )
p result
rescue SignRequestClient::ApiError => e
puts "Exception when calling WebhooksApi->webhooks_read: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
uuid | String |
- Content-Type: application/json
- Accept: application/json
WebhookSubscription webhooks_update(uuid, data)
Update a Webhook
# load the gem
require 'signrequest_client'
# setup authorization
SignRequestClient.configure do |config|
# Configure API key authorization: Token
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = SignRequestClient::WebhooksApi.new
uuid = 'uuid_example' # String |
data = SignRequestClient::WebhookSubscription.new # WebhookSubscription |
begin
#Update a Webhook
result = api_instance.webhooks_update(uuid, data)
p result
rescue SignRequestClient::ApiError => e
puts "Exception when calling WebhooksApi->webhooks_update: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
uuid | String | ||
data | WebhookSubscription |
- Content-Type: application/json
- Accept: application/json