Skip to content

Instantly share code, notes, and snippets.

@boomtrain-support
Created August 31, 2015 20:33
Show Gist options
  • Select an option

  • Save boomtrain-support/673e8d0004d3e6606017 to your computer and use it in GitHub Desktop.

Select an option

Save boomtrain-support/673e8d0004d3e6606017 to your computer and use it in GitHub Desktop.
GET /recommendations - Response details about Recommendations for a User.
[
0: {
id: '{ID of the Recommendable Resource}',
model: '{Model Type}',
props: {
author: '{Author Name}',
body: '{Body of the Resource}',
description: '{Description of the Resource}',
pubDate: '{Date the Resource was Published}',
thumbnail: '{URL to the Hosted Image}',
title: '{Title of the Resource}',
url: '{Canonical URL of the Resource}'
},
recid: '{Boomtrain Internal ID for the Recommendation}',
score: '{Boomtrain Score Used for Weighting Recommendability}'
},
1: {
id: '{ID of the Recommendable Resource}',
model: '{Model Type}',
props: {
author: '{Author Name}',
body: '{Body of the Resource}',
description: '{Description of the Resource}',
pubDate: '{Date the Resource was Published}',
thumbnail: '{URL to the Hosted Image}',
title: '{Title of the Resource}',
url: '{Canonical URL of the Resource}'
},
recid: '{Boomtrain Internal ID for the Recommendation}',
score: '{Boomtrain Score Used for Weighting Recommendability}'
},
...
type: '{recommendations / popular}'
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment