Page 1 of 1

/api/mods endpoint incorrectly returns "short" Result_Entry

Posted: Sun Sep 06, 2020 2:38 pm
by moon69
The /api/mods endpoint documentation indicates it returns a Mod_List_Response, which contains an array of Result_Entry.

When calling the endpoint with 'page' and 'page_size' GET parameters, this correctly returns the fields listed in the Result_Entry "api/mods endpoint" column.

However when using the 'namelist' GET parameter, it is returning the fields listed in the "Short" column.

EG:
Open https://mods.factorio.com/api/mods?page=1 and look at first result "---Jonnys-debug" - you can see the "latest_release" field.

Use the "namelist" parameter, and no more "latest_release" :(...
.../api/mods?namelist=---Jonnys-debug

It seems odd that the only way to get the latest_release field is to page through the entire catalog?

Am I missing something?