Skip to main content

Get Mod Dependencies

GET 

/games/:game-id/mods/:mod-id/dependencies

Get all dependencies the chosen mod has selected. This is useful if a mod requires other mods be installed for it to run. Successful request will return an array of Mod Dependencies Objects.

NOTE: This endpoint returns all mod dependencies, irrespective of their status, visibility or platform support. If your game automatically installs dependencies, we recommend moderating the use of this feature strictly, to ensure creators are not selecting soft dependencies to promote or credit other mods, and dependencies are checked for suitability prior to install.

For example: the official mod.io plugins where dependency support is enabled, typically subscribe users to all dependencies, so the mods suitability and synchronization can be managed by the subscription process. Following a similar process is recommend, particularly if enabling recursive dependency fetching, given it can result in many mods being returned.

DEPRECATION WARNING: By default, this endpoint does not return dependencies recursively. However, in a future version of the API, dependencies will be shown recursively by default. We suggest that you remove any custom implementation you may have in order to retrieve dependencies recursively, and instead use the ?recursive=true query parameter to fetch all dependencies in a single request.

Request

Responses

Successful Request