Skip to content

Commit 0e48e90

Browse files
committed
Review of webhook documentation
1 parent 036eb22 commit 0e48e90

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

  • content/en/docs/developerportal/deploy/mendix-cloud-deploy

content/en/docs/developerportal/deploy/mendix-cloud-deploy/webhooks.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ Every POST payload contains the following delivery information as part of the he
7070
* **webhook-id** – a unique identifier for this webhook trigger, for example `msg_2M605iBQRge9hTgpYg7fKXQubaw`
7171
* **user-agent** – the user agent used to process this trigger.
7272
* **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`
7473
* **content-type**`application/json`
7574
* **accept**`*/*`
7675
* **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
129128
}
130129
```
131130

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.
133132

134133
{{% alert color="info" %}}
135134
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
147146
"commits": [
148147
{
149148
"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",
152151
"id": "4b76061182bf183281b5107cd753c6071ed00040",
153152
"mendixVersion": "9.20.2.1234",
154153
"message": "Commit the changes",
@@ -165,7 +164,7 @@ When you push a model change to the [Git Team Server](/developerportal/collabora
165164
}
166165
```
167166

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.
169168

170169
{{% alert color="info" %}}
171170
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

Comments
 (0)