9abd466397
fixes https://github.com/TryGhost/Product/issues/4005 We no longer use the 'reason' of a recommendation, but allow a flexible description instead. Because this is a breaking change in the API, we do this before making this feature GA. - Added new database utils for renaming a column - Added new migration to rename the column - Updated all references in code
19 lines
520 B
JSON
19 lines
520 B
JSON
{
|
|
"recommendations": {
|
|
"id": "21452552",
|
|
"title": "Some Recommendation",
|
|
"description": "i like this website",
|
|
"excerpt": "this is a great website",
|
|
"feature_image": null,
|
|
"favicon": null,
|
|
"url": "http://www.google.com",
|
|
"one_click_subscribe": "false",
|
|
"created_at": "2023-10-28T20:00:00.000Z",
|
|
"updated_at": "2023-10-30T20:00:00.000Z",
|
|
"count": {
|
|
"impressions": 30,
|
|
"subscriptions": 3
|
|
}
|
|
}
|
|
}
|