Webhook
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
The substring which is used to filter the webhooks by their identifier.
The data by which the webhooks are sorted.
identifierPossible values: The order of the output.
ascPossible values: The page to return.
1The maximum number of results to return.
30OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
GET /code/api/v1/repos/{repo_identifier}/webhooks?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
[
{
"created": 1,
"created_by": 1,
"description": "text",
"display_name": "text",
"enabled": true,
"extra_headers": [
{
"key": "text",
"masked": true,
"value": "text"
}
],
"has_secret": true,
"id": 1,
"identifier": "text",
"insecure": true,
"latest_execution_result": "fatal_error",
"parent_id": 1,
"parent_type": "registry",
"scope": 1,
"triggers": [
"artifact_created"
],
"updated": 1,
"url": "text",
"version": 1
}
]Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Created
Bad Request
Unauthorized
Forbidden
Internal Server Error
POST /code/api/v1/repos/{repo_identifier}/webhooks?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 218
{
"description": "text",
"display_name": "text",
"enabled": true,
"extra_headers": [
{
"key": "text",
"masked": true,
"value": "text"
}
],
"identifier": "text",
"insecure": true,
"secret": "text",
"triggers": [
"artifact_created"
],
"url": "text"
}{
"created": 1,
"created_by": 1,
"description": "text",
"display_name": "text",
"enabled": true,
"extra_headers": [
{
"key": "text",
"masked": true,
"value": "text"
}
],
"has_secret": true,
"id": 1,
"identifier": "text",
"insecure": true,
"latest_execution_result": "fatal_error",
"parent_id": 1,
"parent_type": "registry",
"scope": 1,
"triggers": [
"artifact_created"
],
"updated": 1,
"url": "text",
"version": 1
}Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
GET /code/api/v1/repos/{repo_identifier}/webhooks/{webhook_identifier}?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
{
"created": 1,
"created_by": 1,
"description": "text",
"display_name": "text",
"enabled": true,
"extra_headers": [
{
"key": "text",
"masked": true,
"value": "text"
}
],
"has_secret": true,
"id": 1,
"identifier": "text",
"insecure": true,
"latest_execution_result": "fatal_error",
"parent_id": 1,
"parent_type": "registry",
"scope": 1,
"triggers": [
"artifact_created"
],
"updated": 1,
"url": "text",
"version": 1
}Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
No Content
No content
Bad Request
Unauthorized
Forbidden
Internal Server Error
DELETE /code/api/v1/repos/{repo_identifier}/webhooks/{webhook_identifier}?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
No content
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
PATCH /code/api/v1/repos/{repo_identifier}/webhooks/{webhook_identifier}?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 218
{
"description": "text",
"display_name": "text",
"enabled": true,
"extra_headers": [
{
"key": "text",
"masked": true,
"value": "text"
}
],
"identifier": "text",
"insecure": true,
"secret": "text",
"triggers": [
"artifact_created"
],
"url": "text"
}{
"created": 1,
"created_by": 1,
"description": "text",
"display_name": "text",
"enabled": true,
"extra_headers": [
{
"key": "text",
"masked": true,
"value": "text"
}
],
"has_secret": true,
"id": 1,
"identifier": "text",
"insecure": true,
"latest_execution_result": "fatal_error",
"parent_id": 1,
"parent_type": "registry",
"scope": 1,
"triggers": [
"artifact_created"
],
"updated": 1,
"url": "text",
"version": 1
}Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
The page to return.
1The maximum number of results to return.
30OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
GET /code/api/v1/repos/{repo_identifier}/webhooks/{webhook_identifier}/executions?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
[
{
"created": 1,
"duration": 1,
"error": "text",
"id": 1,
"request": {
"body": "text",
"headers": "text",
"url": "text"
},
"response": {
"body": "text",
"headers": "text",
"status": "text",
"status_code": 1
},
"result": "fatal_error",
"retrigger_of": 1,
"retriggerable": true,
"trigger_type": "artifact_created",
"webhook_id": 1
}
]Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
The page to return.
1The maximum number of results to return.
30OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
GET /code/api/v1/repos/{repo_identifier}/webhooks/{webhook_identifier}/executions/{webhook_execution_id}?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
{
"created": 1,
"duration": 1,
"error": "text",
"id": 1,
"request": {
"body": "text",
"headers": "text",
"url": "text"
},
"response": {
"body": "text",
"headers": "text",
"status": "text",
"status_code": 1
},
"result": "fatal_error",
"retrigger_of": 1,
"retriggerable": true,
"trigger_type": "artifact_created",
"webhook_id": 1
}Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
POST /code/api/v1/repos/{repo_identifier}/webhooks/{webhook_identifier}/executions/{webhook_execution_id}/retrigger?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
{
"created": 1,
"duration": 1,
"error": "text",
"id": 1,
"request": {
"body": "text",
"headers": "text",
"url": "text"
},
"response": {
"body": "text",
"headers": "text",
"status": "text",
"status_code": 1
},
"result": "fatal_error",
"retrigger_of": 1,
"retriggerable": true,
"trigger_type": "artifact_created",
"webhook_id": 1
}Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
The substring which is used to filter the webhooks by their identifier.
The data by which the webhooks are sorted.
identifierPossible values: The order of the output.
ascPossible values: The page to return.
1The maximum number of results to return.
30OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
GET /code/api/v1/webhooks?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
[
{
"created": 1,
"created_by": 1,
"description": "text",
"display_name": "text",
"enabled": true,
"extra_headers": [
{
"key": "text",
"masked": true,
"value": "text"
}
],
"has_secret": true,
"id": 1,
"identifier": "text",
"insecure": true,
"latest_execution_result": "fatal_error",
"parent_id": 1,
"parent_type": "registry",
"scope": 1,
"triggers": [
"artifact_created"
],
"updated": 1,
"url": "text",
"version": 1
}
]Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Created
Bad Request
Unauthorized
Forbidden
Internal Server Error
POST /code/api/v1/webhooks?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 218
{
"description": "text",
"display_name": "text",
"enabled": true,
"extra_headers": [
{
"key": "text",
"masked": true,
"value": "text"
}
],
"identifier": "text",
"insecure": true,
"secret": "text",
"triggers": [
"artifact_created"
],
"url": "text"
}{
"created": 1,
"created_by": 1,
"description": "text",
"display_name": "text",
"enabled": true,
"extra_headers": [
{
"key": "text",
"masked": true,
"value": "text"
}
],
"has_secret": true,
"id": 1,
"identifier": "text",
"insecure": true,
"latest_execution_result": "fatal_error",
"parent_id": 1,
"parent_type": "registry",
"scope": 1,
"triggers": [
"artifact_created"
],
"updated": 1,
"url": "text",
"version": 1
}Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
GET /code/api/v1/webhooks/{webhook_identifier}?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
{
"created": 1,
"created_by": 1,
"description": "text",
"display_name": "text",
"enabled": true,
"extra_headers": [
{
"key": "text",
"masked": true,
"value": "text"
}
],
"has_secret": true,
"id": 1,
"identifier": "text",
"insecure": true,
"latest_execution_result": "fatal_error",
"parent_id": 1,
"parent_type": "registry",
"scope": 1,
"triggers": [
"artifact_created"
],
"updated": 1,
"url": "text",
"version": 1
}Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
No Content
No content
Bad Request
Unauthorized
Forbidden
Internal Server Error
DELETE /code/api/v1/webhooks/{webhook_identifier}?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
No content
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
PATCH /code/api/v1/webhooks/{webhook_identifier}?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 218
{
"description": "text",
"display_name": "text",
"enabled": true,
"extra_headers": [
{
"key": "text",
"masked": true,
"value": "text"
}
],
"identifier": "text",
"insecure": true,
"secret": "text",
"triggers": [
"artifact_created"
],
"url": "text"
}{
"created": 1,
"created_by": 1,
"description": "text",
"display_name": "text",
"enabled": true,
"extra_headers": [
{
"key": "text",
"masked": true,
"value": "text"
}
],
"has_secret": true,
"id": 1,
"identifier": "text",
"insecure": true,
"latest_execution_result": "fatal_error",
"parent_id": 1,
"parent_type": "registry",
"scope": 1,
"triggers": [
"artifact_created"
],
"updated": 1,
"url": "text",
"version": 1
}Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
The page to return.
1The maximum number of results to return.
30OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
GET /code/api/v1/webhooks/{webhook_identifier}/executions?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
[
{
"created": 1,
"duration": 1,
"error": "text",
"id": 1,
"request": {
"body": "text",
"headers": "text",
"url": "text"
},
"response": {
"body": "text",
"headers": "text",
"status": "text",
"status_code": 1
},
"result": "fatal_error",
"retrigger_of": 1,
"retriggerable": true,
"trigger_type": "artifact_created",
"webhook_id": 1
}
]Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
The page to return.
1The maximum number of results to return.
30OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
GET /code/api/v1/webhooks/{webhook_identifier}/executions/{webhook_execution_id}?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
{
"created": 1,
"duration": 1,
"error": "text",
"id": 1,
"request": {
"body": "text",
"headers": "text",
"url": "text"
},
"response": {
"body": "text",
"headers": "text",
"status": "text",
"status_code": 1
},
"result": "fatal_error",
"retrigger_of": 1,
"retriggerable": true,
"trigger_type": "artifact_created",
"webhook_id": 1
}Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
OK
Bad Request
Unauthorized
Forbidden
Internal Server Error
POST /code/api/v1/webhooks/{webhook_identifier}/executions/{webhook_execution_id}/retrigger?accountIdentifier=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: YOUR_API_KEY
Accept: */*
{
"created": 1,
"duration": 1,
"error": "text",
"id": 1,
"request": {
"body": "text",
"headers": "text",
"url": "text"
},
"response": {
"body": "text",
"headers": "text",
"status": "text",
"status_code": 1
},
"result": "fatal_error",
"retrigger_of": 1,
"retriggerable": true,
"trigger_type": "artifact_created",
"webhook_id": 1
}Last updated
Was this helpful?