Skip to content

Commit e087fc5

Browse files
committed
Fix recommendationItems JSON syntax
To see if this is why my changes are marked as invalid by GitHub
1 parent 3389367 commit e087fc5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/personalization/api_reference/tracking_api.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,8 @@ Sending Rendered events causes as many requests as recommendations to be display
358358
Example of a recommendation response:
359359

360360
``` json
361-
"recommendationItems": [
361+
{
362+
"recommendationItems": [
362363
{
363364
"relevance": 23,
364365
"itemType": 1,
@@ -372,7 +373,10 @@ Example of a recommendation response:
372373
"links" : {
373374
"clickRecommended" : "//event.perso.ibexa.co/clickrecommended/johndoe/1/100175717?scenario=also_clicked&modelId=37",
374375
"rendered" : "//event.perso.ibexa.co/rendered/johndoe/1/100175717"
375-
},
376+
}
377+
}
378+
]
379+
}
376380
```
377381

378382
| Field name | Description |

0 commit comments

Comments
 (0)