You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/developerportal/deploy/mendix-cloud-deploy/webhooks.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,6 @@ Every POST payload contains the following delivery information as part of the he
70
70
***webhook-id** – a unique identifier for this webhook trigger, for example `msg_2M605iBQRge9hTgpYg7fKXQubaw`
71
71
***user-agent** – the user agent used to process this trigger.
72
72
***webhook-timestamp** – the time the webhook was triggered, for example `1677072542`
73
-
***test** – if this POST is a test, then this header will be included with the value `test`
74
73
***content-type** – `application/json`
75
74
***accept** – `*/*`
76
75
***host** – the host part of the endpoint URL, for example `gitlab.com`
@@ -129,7 +128,7 @@ When you [upload a package to the Developer Portal](/developerportal/deploy/envi
129
128
}
130
129
```
131
130
132
-
If you need a specific package id for an API call, you will need to use the **Retrieve Packages** call of the [Build API](/apidocs-mxsdk/apidocs/build-api/) to find all the packages and then use the **name**and **uploadTime** values to find the package information for the package you want.
131
+
If you need a specific package id for an API call, you will need to use the **Retrieve Packages** call of the [Build API](/apidocs-mxsdk/apidocs/build-api/) to find all the packages and then use the **name**value to find the latest package information for the package you want.
133
132
134
133
{{% alert color="info" %}}
135
134
Ensure you use the correct key names if using this payload information to call other Mendix APIs. The data may be labelled differently in the API.
@@ -147,8 +146,8 @@ When you push a model change to the [Git Team Server](/developerportal/collabora
147
146
"commits": [
148
147
{
149
148
"authorDate": "2022-12-08T16:15:52+01:00",
150
-
"authorEmail": "ahmed.negm@mendix.com",
151
-
"authorName": "Balazs Bole",
149
+
"authorEmail": "uria.abrams@example.com",
150
+
"authorName": "Uria Abrams",
152
151
"id": "4b76061182bf183281b5107cd753c6071ed00040",
153
152
"mendixVersion": "9.20.2.1234",
154
153
"message": "Commit the changes",
@@ -165,7 +164,7 @@ When you push a model change to the [Git Team Server](/developerportal/collabora
165
164
}
166
165
```
167
166
168
-
The **after**, **before**, and **id** values are git commit hashes. In most cases, you will want to use the **id**hash which is the latest commit on the branch.
167
+
The **after**, **before**, and **id** values are git commit hashes. In most cases, you will want to use the **after**hash which is the last commit on the branch.
169
168
170
169
{{% alert color="info" %}}
171
170
Ensure you use the correct key names if using this payload information to call other Mendix APIs. The data may be labelled differently in the API.
0 commit comments