| title |
string |
read/write |
webhook title |
| enabled |
boolean(0,1) |
read/write |
Enable or disable webhook |
| authentication_type |
integer (1, 2) |
read/write |
Authentication type for the service, must be 1 (for basic) or 2 (oauth1a) |
| app_api_key |
string |
read/write |
oauth1a only. Your app's API key |
| app_secret |
string |
read/write |
oauth1a only. Your app's secret |
| app_request_token_url |
string |
read/write |
oauth1a only. Your app's request token url |
| app_access_token_url |
string |
read/write |
oauth1a only. Your app's access token url |
| app_authorize_url |
string |
read/write |
oauth1a only. Your app's authorize url |
| app_authorize_query |
string |
read/write |
oauth1a only. Query string |
| access_token |
string |
read/write |
oauth1a only. Access token |
| access_token_secret |
string |
read/write |
oauth1a only. Access token secret |
| external_url |
string |
read/write |
basic auth only. Send to this external URL. You can give webhook the username and password required by the external system through the external url. |
| http_method |
integer (0, 1) |
read/write |
HTTP method for the request, possible values are: 0 (POST), 1 (GET) |
| content_type |
string |
read/write |
Content-type header for the query, possible values are: application/xml, application/json, application/x-www-form-urlencoded, text/html, text/plain |
| content |
text |
read/write |
Content to send with the request |
| filter |
hash |
write |
Updates you want to post about, possible values are: code, code_reviews, build_tool, file, flow, ssh_tool, scrum_reports, stream, team, trac, wiki.
All the values should be passed in form of key-value pairs where the key is the name of filter and value is true or false, e.g.:
JSON:{...,"filter":{"code":"1","code_reviews":"1",...}}
|