-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Expand file tree
/
Copy pathWebhookUpdate.json
More file actions
65 lines (65 loc) · 1.76 KB
/
WebhookUpdate.json
File metadata and controls
65 lines (65 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"parameters": {
"api-version": "2019-05-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"registryName": "myRegistry",
"webhookName": "myWebhook",
"webhookUpdateParameters": {
"tags": {
"key": "value"
},
"properties": {
"serviceUri": "http://myservice.com",
"customHeaders": {
"Authorization": "******"
},
"status": "enabled",
"scope": "myRepository",
"actions": [
"push"
]
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook",
"name": "myWebhook",
"type": "Microsoft.ContainerRegistry/registries/webhooks",
"location": "westus",
"tags": {
"key": "value"
},
"properties": {
"status": "enabled",
"scope": "myRepository",
"actions": [
"push"
],
"provisioningState": "Succeeded"
}
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook",
"name": "myWebhook",
"type": "Microsoft.ContainerRegistry/registries/webhooks",
"location": "westus",
"tags": {
"key": "value"
},
"properties": {
"status": "enabled",
"scope": "myRepository",
"actions": [
"push"
],
"provisioningState": "Updating"
}
}
}
}
}