[Public] Mod details API

A place to talk about the official Factorio mod portal (https://mods.factorio.com)
User avatar
vinzenz
Factorio Staff
Factorio Staff
Posts: 352
Joined: Mon Aug 02, 2021 6:45 pm
Contact:

[Public] Mod details API

Post by vinzenz »

I have been working on new a set of new APIs for the mod portal. I just finished documenting the Mod details API for changing mod information like description, license, etc. You can find it on the wiki: https://wiki.factorio.com/Mod_details_API

Please tell me what you think so I can include your feedback before marking it as stable and moving it to the /v2/ url prefix.
bringing the oops to devops
User avatar
vinzenz
Factorio Staff
Factorio Staff
Posts: 352
Joined: Mon Aug 02, 2021 6:45 pm
Contact:

Re: [Public] Mod details API

Post by vinzenz »

I've moved the mod details API to the v2 prefix and updated the API docs page.
bringing the oops to devops
justarandomgeek
Filter Inserter
Filter Inserter
Posts: 302
Joined: Fri Mar 18, 2016 4:34 pm
Contact:

Re: [Public] Mod details API

Post by justarandomgeek »

I finally got around to using this some and it's working great! The one thing i'd note is that it is currently impossible to *remove* a homepage or source_url from a mod that already has them, as they won't accept an emptystring as a valid value.
User avatar
vinzenz
Factorio Staff
Factorio Staff
Posts: 352
Joined: Mon Aug 02, 2021 6:45 pm
Contact:

Re: [Public] Mod details API

Post by vinzenz »

justarandomgeek wrote: Thu Dec 08, 2022 2:59 am I finally got around to using this some and it's working great! The one thing i'd note is that it is currently impossible to *remove* a homepage or source_url from a mod that already has them, as they won't accept an emptystring as a valid value.
Thanks for the info, I'll look into it
bringing the oops to devops
User avatar
vinzenz
Factorio Staff
Factorio Staff
Posts: 352
Joined: Mon Aug 02, 2021 6:45 pm
Contact:

Re: [Public] Mod details API

Post by vinzenz »

justarandomgeek wrote: Thu Dec 08, 2022 2:59 am I finally got around to using this some and it's working great! The one thing i'd note is that it is currently impossible to *remove* a homepage or source_url from a mod that already has them, as they won't accept an emptystring as a valid value.
fixed
bringing the oops to devops
Post Reply

Return to “Mod portal Discussion”