Webhooks

Webhooks List

Get a list of all webhooks in a repository.

Request

gethttps://api.cloudsmith.io/v1/webhooks/{owner}/{repo}
Query params
page
integer
A page number within the paginated result set.
page_size
integer
Number of results to return per page.

Response

Responses

Retrieved the list of webhooks

array of objects

object

created_at
date-time
optional
created_by
string
optional
length ≥ 1
created_by_url
uri
optional
disable_reason
integer
optional
Allowed values: 0, 1, 2, 3, 4, 5, 6
disable_reason_str
string
optional
length ≥ 1
events
array of strings | null
required
identifier
integer | null
optional
is_active
boolean
optional
is_last_response_bad
boolean
optional
last_response_status
integer
optional
last_response_status_str
string
optional
length ≥ 1
num_sent
integer
optional
package_query
string | null
optional
length ≤ 1024
request_body_format
integer
optional
Allowed values: 0, 1, 2, 3
request_body_format_str
string
optional
length ≥ 1
request_body_template_format
integer
optional
Allowed values: 0, 1, 2
request_body_template_format_str
string
optional
length ≥ 1
request_content_type
string | null
optional
length ≤ 128
secret_header
string | null
optional
^[-\w]+$
length ≤ 64
self_url
uri
optional
slug_perm
slug
optional
^[-a-zA-Z0-9_]+$
length ≥ 1
target_url
uri
required
length between 1 and 255
templates
array of objects | null
required
updated_at
date-time
optional
updated_by
string
optional
length ≥ 1
updated_by_url
uri
optional
verify_ssl
boolean
optional

Request could not be processed (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional

Owner namespace or repository not found

object

object

detail
string
required
length ≥ 1
fields
object
optional

Missing or invalid parameters (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional