Webhooks
APIs to create, update, list webhooks
Returns List of Webhook Details
Reference to the scope in which the registry exists.
Format depends on the scope:
- Account-level:
account_id/registry_name/+ - Organization-level:
account_id/org_id/registry_name/+ - Project-level:
account_id/org_id/project_id/registry_name/+
The /+ suffix is used internally to route scoped requests.
It must be included exactly as shown in the URL.
{"description":"Only account ID, scoped at account level","summary":"Account-level registry","value":"acc123/registry123/+"}Current page number
1Number of items per page
20sortOrder
sortField
search Term.
response for list webhooks
Request processing status indicator
The request was invalid or malformed
Authentication failed or missing credentials
Access denied due to insufficient permissions
An unexpected server error occurred
GET /api/v1/registry/{registry_ref}/webhooks HTTP/1.1
Accept: */*
{
"data": {
"itemCount": 1,
"pageCount": 100,
"pageIndex": 0,
"pageSize": 1,
"webhooks": [
{
"createdAt": "text",
"createdBy": 1,
"description": "text",
"enabled": true,
"extraHeaders": [
{
"key": "text",
"masked": false,
"value": "text"
}
],
"identifier": "text",
"insecure": true,
"internal": true,
"latestExecutionResult": "SUCCESS",
"modifiedAt": "text",
"name": "text",
"secretIdentifier": "text",
"secretSpaceId": 1,
"secretSpacePath": "text",
"triggers": [
"ARTIFACT_CREATION"
],
"url": "text",
"version": 1
}
]
},
"status": "SUCCESS"
}Returns Webhook Details
Reference to the scope in which the registry exists.
Format depends on the scope:
- Account-level:
account_id/registry_name/+ - Organization-level:
account_id/org_id/registry_name/+ - Project-level:
account_id/org_id/project_id/registry_name/+
The /+ suffix is used internally to route scoped requests.
It must be included exactly as shown in the URL.
{"description":"Only account ID, scoped at account level","summary":"Account-level registry","value":"acc123/registry123/+"}response for create, get and update webhook
Request processing status indicator
The request was invalid or malformed
Authentication failed or missing credentials
Access denied due to insufficient permissions
An unexpected server error occurred
POST /api/v1/registry/{registry_ref}/webhooks HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 264
{
"description": "text",
"enabled": true,
"extraHeaders": [
{
"key": "text",
"masked": false,
"value": "text"
}
],
"identifier": "text",
"insecure": true,
"name": "text",
"secretIdentifier": "text",
"secretSpaceId": 1,
"secretSpacePath": "text",
"triggers": [
"ARTIFACT_CREATION"
],
"url": "text"
}{
"data": {
"createdAt": "text",
"createdBy": 1,
"description": "text",
"enabled": true,
"extraHeaders": [
{
"key": "text",
"masked": false,
"value": "text"
}
],
"identifier": "text",
"insecure": true,
"internal": true,
"latestExecutionResult": "SUCCESS",
"modifiedAt": "text",
"name": "text",
"secretIdentifier": "text",
"secretSpaceId": 1,
"secretSpacePath": "text",
"triggers": [
"ARTIFACT_CREATION"
],
"url": "text",
"version": 1
},
"status": "SUCCESS"
}Returns Webhook Details
Reference to the scope in which the registry exists.
Format depends on the scope:
- Account-level:
account_id/registry_name/+ - Organization-level:
account_id/org_id/registry_name/+ - Project-level:
account_id/org_id/project_id/registry_name/+
The /+ suffix is used internally to route scoped requests.
It must be included exactly as shown in the URL.
{"description":"Only account ID, scoped at account level","summary":"Account-level registry","value":"acc123/registry123/+"}Unique webhook identifier.
response for create, get and update webhook
Request processing status indicator
The request was invalid or malformed
Authentication failed or missing credentials
Access denied due to insufficient permissions
The requested resource was not found
An unexpected server error occurred
GET /api/v1/registry/{registry_ref}/webhooks/{webhook_identifier} HTTP/1.1
Accept: */*
{
"data": {
"createdAt": "text",
"createdBy": 1,
"description": "text",
"enabled": true,
"extraHeaders": [
{
"key": "text",
"masked": false,
"value": "text"
}
],
"identifier": "text",
"insecure": true,
"internal": true,
"latestExecutionResult": "SUCCESS",
"modifiedAt": "text",
"name": "text",
"secretIdentifier": "text",
"secretSpaceId": 1,
"secretSpacePath": "text",
"triggers": [
"ARTIFACT_CREATION"
],
"url": "text",
"version": 1
},
"status": "SUCCESS"
}Returns Webhook Details
Reference to the scope in which the registry exists.
Format depends on the scope:
- Account-level:
account_id/registry_name/+ - Organization-level:
account_id/org_id/registry_name/+ - Project-level:
account_id/org_id/project_id/registry_name/+
The /+ suffix is used internally to route scoped requests.
It must be included exactly as shown in the URL.
{"description":"Only account ID, scoped at account level","summary":"Account-level registry","value":"acc123/registry123/+"}Unique webhook identifier.
response for create, get and update webhook
Request processing status indicator
The request was invalid or malformed
Authentication failed or missing credentials
Access denied due to insufficient permissions
The requested resource was not found
An unexpected server error occurred
PUT /api/v1/registry/{registry_ref}/webhooks/{webhook_identifier} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 264
{
"description": "text",
"enabled": true,
"extraHeaders": [
{
"key": "text",
"masked": false,
"value": "text"
}
],
"identifier": "text",
"insecure": true,
"name": "text",
"secretIdentifier": "text",
"secretSpaceId": 1,
"secretSpacePath": "text",
"triggers": [
"ARTIFACT_CREATION"
],
"url": "text"
}{
"data": {
"createdAt": "text",
"createdBy": 1,
"description": "text",
"enabled": true,
"extraHeaders": [
{
"key": "text",
"masked": false,
"value": "text"
}
],
"identifier": "text",
"insecure": true,
"internal": true,
"latestExecutionResult": "SUCCESS",
"modifiedAt": "text",
"name": "text",
"secretIdentifier": "text",
"secretSpaceId": 1,
"secretSpacePath": "text",
"triggers": [
"ARTIFACT_CREATION"
],
"url": "text",
"version": 1
},
"status": "SUCCESS"
}Delete a Webhook
Reference to the scope in which the registry exists.
Format depends on the scope:
- Account-level:
account_id/registry_name/+ - Organization-level:
account_id/org_id/registry_name/+ - Project-level:
account_id/org_id/project_id/registry_name/+
The /+ suffix is used internally to route scoped requests.
It must be included exactly as shown in the URL.
{"description":"Only account ID, scoped at account level","summary":"Account-level registry","value":"acc123/registry123/+"}Unique webhook identifier.
Generic success response
Request processing status indicator
The request was invalid or malformed
Authentication failed or missing credentials
Access denied due to insufficient permissions
The requested resource was not found
An unexpected server error occurred
DELETE /api/v1/registry/{registry_ref}/webhooks/{webhook_identifier} HTTP/1.1
Accept: */*
{
"status": "SUCCESS"
}Returns Webhook Execution Details List
Reference to the scope in which the registry exists.
Format depends on the scope:
- Account-level:
account_id/registry_name/+ - Organization-level:
account_id/org_id/registry_name/+ - Project-level:
account_id/org_id/project_id/registry_name/+
The /+ suffix is used internally to route scoped requests.
It must be included exactly as shown in the URL.
{"description":"Only account ID, scoped at account level","summary":"Account-level registry","value":"acc123/registry123/+"}Unique webhook identifier.
Current page number
1Number of items per page
20list webhooks executions response
Request processing status indicator
The request was invalid or malformed
Authentication failed or missing credentials
Access denied due to insufficient permissions
The requested resource was not found
An unexpected server error occurred
GET /api/v1/registry/{registry_ref}/webhooks/{webhook_identifier}/executions HTTP/1.1
Accept: */*
{
"data": {
"executions": [
{
"created": 1,
"duration": 1,
"error": "text",
"id": 1,
"request": {
"body": "text",
"headers": "text",
"url": "text"
},
"response": {
"body": "text",
"headers": "text",
"status": "text",
"statusCode": 1
},
"result": "SUCCESS",
"retriggerOf": 1,
"retriggerable": true,
"triggerType": "ARTIFACT_CREATION",
"webhookId": 1
}
],
"itemCount": 1,
"pageCount": 100,
"pageIndex": 0,
"pageSize": 1
},
"status": "SUCCESS"
}Returns Webhook Execution Details
Reference to the scope in which the registry exists.
Format depends on the scope:
- Account-level:
account_id/registry_name/+ - Organization-level:
account_id/org_id/registry_name/+ - Project-level:
account_id/org_id/project_id/registry_name/+
The /+ suffix is used internally to route scoped requests.
It must be included exactly as shown in the URL.
{"description":"Only account ID, scoped at account level","summary":"Account-level registry","value":"acc123/registry123/+"}Unique webhook identifier.
Unique webhook execution identifier.
webhook execution response
Request processing status indicator
The request was invalid or malformed
Authentication failed or missing credentials
Access denied due to insufficient permissions
The requested resource was not found
An unexpected server error occurred
GET /api/v1/registry/{registry_ref}/webhooks/{webhook_identifier}/executions/{webhook_execution_id} HTTP/1.1
Accept: */*
{
"data": {
"created": 1,
"duration": 1,
"error": "text",
"id": 1,
"request": {
"body": "text",
"headers": "text",
"url": "text"
},
"response": {
"body": "text",
"headers": "text",
"status": "text",
"statusCode": 1
},
"result": "SUCCESS",
"retriggerOf": 1,
"retriggerable": true,
"triggerType": "ARTIFACT_CREATION",
"webhookId": 1
},
"status": "SUCCESS"
}Retrigger Webhook Execution
Reference to the scope in which the registry exists.
Format depends on the scope:
- Account-level:
account_id/registry_name/+ - Organization-level:
account_id/org_id/registry_name/+ - Project-level:
account_id/org_id/project_id/registry_name/+
The /+ suffix is used internally to route scoped requests.
It must be included exactly as shown in the URL.
{"description":"Only account ID, scoped at account level","summary":"Account-level registry","value":"acc123/registry123/+"}Unique webhook identifier.
Unique webhook execution identifier.
webhook execution response
Request processing status indicator
The request was invalid or malformed
Authentication failed or missing credentials
Access denied due to insufficient permissions
The requested resource was not found
An unexpected server error occurred
GET /api/v1/registry/{registry_ref}/webhooks/{webhook_identifier}/executions/{webhook_execution_id}/retrigger HTTP/1.1
Accept: */*
{
"data": {
"created": 1,
"duration": 1,
"error": "text",
"id": 1,
"request": {
"body": "text",
"headers": "text",
"url": "text"
},
"response": {
"body": "text",
"headers": "text",
"status": "text",
"statusCode": 1
},
"result": "SUCCESS",
"retriggerOf": 1,
"retriggerable": true,
"triggerType": "ARTIFACT_CREATION",
"webhookId": 1
},
"status": "SUCCESS"
}Last updated
Was this helpful?