I have been trying to use the Roblox Discovery API to fetch Omni Recommendation Metadata, but I’m facing some difficulties. I would appreciate any assistance in understanding how to properly utilize this API.
The request URL I’m using is “https://apis.roblox.com/discovery-api/omni-recommendation-metadata”, I’m uncertain about the correct way to call it. Could someone please provide guidance on the API call structure and how to get the required payload?
Here is an example of the correct payload:
{
"contents": [
{
"contentType": "Game",
"contentId": 3087787176,
"contentMetadata": {
"Score": "10"
}
},
{
"contentType": "Game",
"contentId": 26216381,
"contentMetadata": {
"Score": "9.999"
}
},
],
"sessionId": "2a0e4e70-b1cb-4b5d-b4da-3447c9b49f07"
}
I have reviewed the API documentation, but I couldn’t find clear instructions on how to structure the payload fields. Specifically, I’m unsure about the fields required and their respective formats.