Get Mods
GET/games/:game-id/mods
Get all mods for the corresponding game. Successful request will return an array of Mod Objects. We recommended reading the filtering documentation to return only the records you want.
If the parent game has platform filtering enabled, this endpoint supports the targeting a platform request header to return mods that have been approved for the requested platform. If you are a member of the parent game team, please see the platform_status
filter for this endpoint above on how you can retrieve pending mods.
Request
Sorting filters
Parameters
Sort results alphabetically by name using the _sort query parameter name
. For example _sort=name
would return mods from A-Z.
Sort results by the date they went live using the _sort query parameter date_live
. For example _sort=-date_live
would return the most recently live mods.
Sort results by the date they were last updated using the _sort query parameter date_updated
. For example _sort=-date_updated
would return the most recently updated mods.
Sort results by the creators ID using the _sort query parameter submitted_by
. For example _sort=submitted_by
would return mods from creators who have been registered the longest.
Sort results by the number of downloads in the last 24hours using the _sort query parameter downloads_today
. For example _sort=-downloads_today
would return the most popular mods from the last 24hours based on the number of mod downloads.
Sort results by the total number of downloads using the _sort query parameter downloads_total
. For example _sort=-downloads_total
would return the most popular mods based on the number of downloads.
Sort results by the total number of subscribers using the _sort query parameter subscribers_total
. For example _sort=-subscribers_total
would return the most popular mods based on number of subscribers.
Sort results by their calculated rating (thumbs up / down received) using the _sort query parameter ratings_weighted_aggregate
. For example _sort=-ratings_weighted_aggregate
would return the highest rated mods.
Error Codes
Status Code | Error Ref | Description |
---|---|---|
403 | 15025 | The authenticated user has applied an admin-only filter or value to the request, and is not an administrator for this game. |
Responses
- 200
- 403
Successful Request
The authenticated user has applied an admin-only filter or value to the request, and is not an administrator for this game.