Get A Webhook

Xray REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Get an existing webhook.

Security: Requires an admin user

Usage: GET /xray/api/v1/webhooks/{name}

Consumes: application/json

Produces: application/json

Response codes:

Status code

Description

200

success

401

Insufficient privileges; you need a user with mange policies or admin privileges to list webhooks.

404

The webhook {{name}} not found

500

Failed to get the webhook

Response:

[
   {
   "name": "WebhookName1",  
   "url": "http://somehost",
   "description": "" ,  //optional
   "use_proxy": false, 
   "auth": { //Optional
       "user_name": "",
       "password": ""
   },
   "headers": { // Optional, the underlying type is a map, so you can have as many as you want.
       "name": "value"
   }

   }
]