username:password
Authorization: Basic *****************
{
"active": false,
"authorization_header": "string",
"branch_filter": "string",
"config": {
"property1": "string",
"property2": "string"
},
"events": [
"string"
],
"type": "dingtalk"
}
curl --location --request POST '/repos///hooks' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
"active": false,
"authorization_header": "string",
"branch_filter": "string",
"config": {
"property1": "string",
"property2": "string"
},
"events": [
"string"
],
"type": "dingtalk"
}'
{
"active": true,
"authorization_header": "string",
"branch_filter": "string",
"config": {
"property1": "string",
"property2": "string"
},
"created_at": "2019-08-24T14:15:22Z",
"events": [
"string"
],
"id": 0,
"type": "string",
"updated_at": "2019-08-24T14:15:22Z"
}