Provide a Instant Recommendation to consumers that what to know whether they should watch a piece of content without having to read any additional details.
Use Manage Consumers for storing your consumers and sensitivity preferences toward content.
{info} The url for providing instant recommendations to consumers is:
https://app.safestream.info/api/v1/consumer/{reference}/recommendation/{content_id}
.
Get the paginated list of all of your consumers that use your service. The route requires a consumer to exist, have provided preferences and for a content_id to exist
The recommendations are boolean, if null is returned consider that there isn't enough information to make a decision.
Method | URI | Headers |
---|---|---|
GET | /consumer/{reference}/recommendation/{content_id} |
Authorization: Bearer {token} |
{success} Success Response
Code 200
Content
{
"data": {
"content_name": "Rambo",
"consumer_reference": "gIou2TWa",
"content_recommendation_breakdown": {
"nudity": false,
"violence": true,
"language": true
},
"detected_preference_issues": [
"Sexual Assault (implied or explicit)",
"Racism"
],
"view_recommendation": false,
"_links": {
"related_content": {
"href": "https://app.safestream.info/api/v1/content/12111"
}
}
}
}
{danger} Error Response user not found
Code 404
Reason 404 Not Found - There is no consumer that matches the supplied reference
{danger} Error Response content not found
Code 404
Reason 404 Not Found - There is no content that matches the ID