I am trying to get a list of games whose first release was on a given platform. Because I've noticed that if you simply filter for games released on a platform and sort them by release dates, you get games whose original release long predates their re-release on said platform. So, it kind of skews the results, especially when you're trying to have a more chronological history of video games, if that makes sense. I want to completely get rid of re-releases, I guess.
So here's the problem: Using the https://api.igdb.com/v4/games/ endpoint, I tried to post fields *; where first_release_date.platform = 45;, whereas 45 is the ID for the Playstation 4. But it gives me this error upon sending it:
[
{
"title": "Invalid Field",
"status": 400,
"cause": "Invalid field name: 'first_release_date.platform'"
}
]
What am I doing wrong here? I mean, I get the error. It says that first_release_date isn't a field that can be used, but the fact of the matter is that I specifically got that field from the doc itself. Am I just using it wrong? What would be the best way to go about this, if it isn't this?