Skip to content

Commit 94b61b8

Browse files
Merge pull request #1014 from akeneo/CHA-1360-doc-uuid
add the uuid property in the documentation
2 parents 6b11f6a + 60ec449 commit 94b61b8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

content/extensions/ui-extensions.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ This field contains :
212212
- A `productUuids` field which is an array of string representing the UUIDs of selected products
213213
- A `productModelCodes` field which is an array of string representing the codes of selected product models and sub models
214214
- A `context` object containing the configured `locale` and `channel`.
215-
- A `user` object containing the `username` and `groups` of the connected user.
215+
- A `user` object containing the `uuid`, `username` and `groups` of the connected user.
216216

217217
Example :
218218
```json
@@ -230,6 +230,7 @@ Example :
230230
"channel": "ecommerce"
231231
},
232232
"user": {
233+
"uuid": "4ebad9a4-7728-4d90-9db0-9e5a5c6a4d45",
233234
"username": "admin",
234235
"groups": [
235236
"IT support",
@@ -280,7 +281,7 @@ Here is a diagram illustrating the workflow:
280281
Data sent within the POST body, formatted in JSON, contains :
281282
- A `data` object with different fields depending on the [position](#position).
282283
- A `context` object containing the configured `locale` and `channel`.
283-
- A `user` object containing the `username` and `groups` of the connected user.
284+
- A `user` object containing the `uuid`, `username` and `groups` of the connected user.
284285
- A `timestamp` that can be used with a [secret](#secret) to help you to protect your server against [replay attacks](https://en.wikipedia.org/wiki/Replay_attack).
285286

286287
From a position `pim.product.header`, the `data` object contains :
@@ -308,6 +309,7 @@ Examples :
308309
"channel": "ecommerce"
309310
},
310311
"user": {
312+
"uuid": "e05cc457-b8ac-43b1-baa7-c4c112091ad8",
311313
"username": "julia",
312314
"groups": [
313315
"Manager",
@@ -329,6 +331,7 @@ Examples :
329331
"channel": "ecommerce"
330332
},
331333
"user": {
334+
"uuid": "e05cc457-b8ac-43b1-baa7-c4c112091ad8",
332335
"username": "julia",
333336
"groups": [
334337
"Manager",

0 commit comments

Comments
 (0)