Resource Groups
![](../__attachments/40759922/2022-05-17_15-38-05.png?inst-v=d7c833f8-8709-46dd-9a03-727c8f6a3bec)
Resources with common characteristics can now be saved as a Resource Group. To create a resource group,
1. Navigate to Content > Resources. Click on Create New and select Resource Group.
2. Provide a suitable name for the Resource Group and click on Next.
3. Select a set of filter criteria to preview a sample set of resources.
4. Click on Save Resource Group.
![](../__attachments/40759922/Screenshot%202023-10-06%20at%209.31.27%20PM.png?inst-v=d7c833f8-8709-46dd-9a03-727c8f6a3bec)
To Note:
![]()
CODE
CODE
|
When using Resources tag, note that It may take up to 30 minutes for resources to be qualified as part of the resource group.
When pagination is enabled, only a limited number of Resources will be displayed in the UI at a time. However, all Resources remain accessible and can be retrieved from the table.
Recommendation APIs
Basic Recommendation API supports a new path parameter by name “group_filter” that
curl 'https://recommendations.api.boomtrain.com/v1/your_site/email/user@example.com?group_filter=gold_credit_cards
Advanced Recommendation API supports a new parameter as part of the section payload called “group_filters”, and can accept multiple resource groups.
{
sections: [
{
"name": "credit_cards",
"group_filters": [
"gold_credit_cards",
"platinum_credit_cards"
],
"count": 5
}
]
}
If there are not enough resources to recommend, the API will return an error with status code 422 (There are not enough recommendable resources to satisfy this request)