The CurseForge API documentation seems rather sparse to me, especially when it comes to getting information about mods and the files they have available.
Ideally, I'd like to be able to pull a URL such as "https://minecraft.curseforge.com/api/projects/forestry/files" and get a list of all of Forestry's uploaded files along with metadata such as the relevant version of Minecraft. However, the API docs only describe how to upload new files and update existing ones, not how to query them.
Also, the documentation mentions a "gameVersionTypeID" field in the Game Versions API. While this API endpoint does indeed provide a list of Minecraft versions, the "gameVersionTypeID" field is numeric, and there is no information on how to interpret this field. In other words, when I see JSON like this, I have no idea which one I want because I don't know what the difference is between type IDs 1 and 628.
I'm also looking for more information on the Curseforge API, more specific if it is possible to get a dump (in e.g. JSON format) for all mods for an application (I'm interested in all mods for Kerbal Space Program). By looking at the available documentation, it doesn't look like this is possible, but maybe someone can help me with more info?
The reason I'm interested in this is I would like to fetch data for all Kerbal Space Program mods available on Curse for my "KSP Mod Analyzer" app, see my GitHub repo .
Sorry for posting in this dead thread, but if anyone is seeking for an answer, check the docs. Minecraft's game ID is 432, so just GET to the /v1/games/432/versions endpoint and you'll receive everything you need.
1 is basically most of the game versions, while 628 are 1.12 versions (1.12.1, 1.12.2, snapshots etc.). All of the "general" version IDs are 615, 1, 3, 68441 and 2. If you don't want to get the list manually, this is the list as of 2022/02/20