Returns List of Webhook Details
response for list webhooks
Bad request
Unauthenticated
Unauthorized
Internal server error
{- "data": {
- "itemCount": 1,
- "pageCount": 100,
- "pageIndex": 0,
- "pageSize": 1,
- "webhooks": [
- {
- "createdAt": "string",
- "createdBy": 0,
- "description": "string",
- "enabled": true,
- "extraHeaders": [
- {
- "key": "string",
- "value": "string"
}
], - "identifier": "string",
- "insecure": true,
- "internal": true,
- "latestExecutionResult": "SUCCESS",
- "modifiedAt": "string",
- "name": "string",
- "secretIdentifier": "string",
- "secretSpaceId": 0,
- "secretSpacePath": "string",
- "triggers": [
- "ARTIFACT_CREATION"
], - "url": "string",
- "version": 0
}
]
}, - "status": "SUCCESS"
}
Returns Webhook Details
request for create and update webhook
response for create, get and update webhook
Bad request
Unauthenticated
Unauthorized
Internal server error
{- "description": "string",
- "enabled": true,
- "extraHeaders": [
- {
- "key": "string",
- "value": "string"
}
], - "identifier": "string",
- "insecure": true,
- "name": "string",
- "secretIdentifier": "string",
- "secretSpaceId": 0,
- "secretSpacePath": "string",
- "triggers": [
- "ARTIFACT_CREATION"
], - "url": "string"
}
{- "data": {
- "createdAt": "string",
- "createdBy": 0,
- "description": "string",
- "enabled": true,
- "extraHeaders": [
- {
- "key": "string",
- "value": "string"
}
], - "identifier": "string",
- "insecure": true,
- "internal": true,
- "latestExecutionResult": "SUCCESS",
- "modifiedAt": "string",
- "name": "string",
- "secretIdentifier": "string",
- "secretSpaceId": 0,
- "secretSpacePath": "string",
- "triggers": [
- "ARTIFACT_CREATION"
], - "url": "string",
- "version": 0
}, - "status": "SUCCESS"
}
Delete a Webhook
Success Response
Bad request
Unauthenticated
Unauthorized
The specified resource was not found
Internal server error
{- "status": "SUCCESS"
}
Returns Webhook Details
response for create, get and update webhook
Bad request
Unauthenticated
Unauthorized
Internal server error
{- "data": {
- "createdAt": "string",
- "createdBy": 0,
- "description": "string",
- "enabled": true,
- "extraHeaders": [
- {
- "key": "string",
- "value": "string"
}
], - "identifier": "string",
- "insecure": true,
- "internal": true,
- "latestExecutionResult": "SUCCESS",
- "modifiedAt": "string",
- "name": "string",
- "secretIdentifier": "string",
- "secretSpaceId": 0,
- "secretSpacePath": "string",
- "triggers": [
- "ARTIFACT_CREATION"
], - "url": "string",
- "version": 0
}, - "status": "SUCCESS"
}
Returns Webhook Details
request for create and update webhook
response for create, get and update webhook
Bad request
Unauthenticated
Unauthorized
Internal server error
{- "description": "string",
- "enabled": true,
- "extraHeaders": [
- {
- "key": "string",
- "value": "string"
}
], - "identifier": "string",
- "insecure": true,
- "name": "string",
- "secretIdentifier": "string",
- "secretSpaceId": 0,
- "secretSpacePath": "string",
- "triggers": [
- "ARTIFACT_CREATION"
], - "url": "string"
}
{- "data": {
- "createdAt": "string",
- "createdBy": 0,
- "description": "string",
- "enabled": true,
- "extraHeaders": [
- {
- "key": "string",
- "value": "string"
}
], - "identifier": "string",
- "insecure": true,
- "internal": true,
- "latestExecutionResult": "SUCCESS",
- "modifiedAt": "string",
- "name": "string",
- "secretIdentifier": "string",
- "secretSpaceId": 0,
- "secretSpacePath": "string",
- "triggers": [
- "ARTIFACT_CREATION"
], - "url": "string",
- "version": 0
}, - "status": "SUCCESS"
}
Returns Webhook Execution Details List
list webhooks executions response
Bad request
Unauthenticated
Unauthorized
Internal server error
{- "data": {
- "executions": [
- {
- "created": 0,
- "duration": 0,
- "error": "string",
- "id": 0,
- "request": {
- "body": "string",
- "headers": "string",
- "url": "string"
}, - "response": {
- "body": "string",
- "headers": "string",
- "status": "string",
- "statusCode": 0
}, - "result": "SUCCESS",
- "retriggerOf": 0,
- "retriggerable": true,
- "triggerType": "ARTIFACT_CREATION",
- "webhookId": 0
}
], - "itemCount": 1,
- "pageCount": 100,
- "pageIndex": 0,
- "pageSize": 1
}, - "status": "SUCCESS"
}
Returns Webhook Execution Details
webhook execution response
Bad request
Unauthenticated
Unauthorized
Internal server error
{- "data": {
- "created": 0,
- "duration": 0,
- "error": "string",
- "id": 0,
- "request": {
- "body": "string",
- "headers": "string",
- "url": "string"
}, - "response": {
- "body": "string",
- "headers": "string",
- "status": "string",
- "statusCode": 0
}, - "result": "SUCCESS",
- "retriggerOf": 0,
- "retriggerable": true,
- "triggerType": "ARTIFACT_CREATION",
- "webhookId": 0
}, - "status": "SUCCESS"
}
Retrigger Webhook Execution
webhook execution response
Bad request
Unauthenticated
Unauthorized
Internal server error
{- "data": {
- "created": 0,
- "duration": 0,
- "error": "string",
- "id": 0,
- "request": {
- "body": "string",
- "headers": "string",
- "url": "string"
}, - "response": {
- "body": "string",
- "headers": "string",
- "status": "string",
- "statusCode": 0
}, - "result": "SUCCESS",
- "retriggerOf": 0,
- "retriggerable": true,
- "triggerType": "ARTIFACT_CREATION",
- "webhookId": 0
}, - "status": "SUCCESS"
}