Skip to content

Commit

Permalink
Fix recommendationItems JSON syntax
Browse files Browse the repository at this point in the history
To see if this is why my changes are marked as invalid by GitHub
  • Loading branch information
adriendupuis committed Nov 28, 2024
1 parent 3389367 commit e087fc5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/personalization/api_reference/tracking_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,8 @@ Sending Rendered events causes as many requests as recommendations to be display
Example of a recommendation response:

``` json
"recommendationItems": [
{
"recommendationItems": [
{
"relevance": 23,
"itemType": 1,
Expand All @@ -372,7 +373,10 @@ Example of a recommendation response:
"links" : {
"clickRecommended" : "//event.perso.ibexa.co/clickrecommended/johndoe/1/100175717?scenario=also_clicked&modelId=37",
"rendered" : "//event.perso.ibexa.co/rendered/johndoe/1/100175717"
},
}
}

Check warning on line 377 in docs/personalization/api_reference/tracking_api.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/personalization/api_reference/tracking_api.md#L377

[Ibexa.EOLWhitespace] Remove whitespace characters from the end of the line.
Raw output
{"message": "[Ibexa.EOLWhitespace] Remove whitespace characters from the end of the line.", "location": {"path": "docs/personalization/api_reference/tracking_api.md", "range": {"start": {"line": 377, "column": 6}}}, "severity": "WARNING"}
]
}
```

| Field name | Description |
Expand Down

0 comments on commit e087fc5

Please sign in to comment.