Mod Object
Unique mod id.
2
Unique game id.
2
Status of the mod (see status and visibility for details)
Enum Value | Description |
---|---|
NOT_ACCEPTED (0) | Not Accepted |
ACCEPTED (1) | Accepted |
DELETED (3) | Deleted |
Possible values: [0
, 1
, 3
]
Visibility of the mod (see status and visibility for details)
Enum Value | Description |
---|---|
HIDDEN (0) | Hidden |
PUBLIC (1) | Public |
Possible values: [0
, 1
]
0
submitted_by object
Contains user data.
Unique id of the user.
1
Path for the user on mod.io. For example: https://mod.io/u/__name-id-here__
xant
Display name of the user.
XanT
The users' display name for the targeted portal. Value will be null
if no valid X-Modio-Portal
portal header value is provided. For more information see Targeting a Portal.
null
Unix timestamp of date the user was last online.
1509922961
Unix timestamp of date the user joined.
1509922961
avatar object
Contains avatar data.
Avatar filename including extension.
avatar.png
URL to the full-sized avatar.
https://assets.modcdn.io/images/placeholder/avatar.png
URL to the small avatar thumbnail.
https://assets.modcdn.io/images/placeholder/avatar_50x50.png
URL to the medium avatar thumbnail.
https://assets.modcdn.io/images/placeholder/avatar_100x100.png
Deprecated: No longer used and will be removed in subsequent API version.
Deprecated: No longer used and will be removed in subsequent API version. To localize the API response we recommend you set the Accept-Language
header.
URL to the users profile.
https://mod.io/u/xant
Unix timestamp of date mod was registered.
1492564103
Unix timestamp of date mod was updated.
1499841487
Unix timestamp of date mod was set live.
1499841403
Mature content found in this mod, this is only relevant if the parent game allows mods to be labelled as mature. Add the options you want together, to enable multiple filters (see BITWISE fields)
Enum Value | Description |
---|---|
NONE (0) | None |
ALCOHOL (1) | Alcohol |
DRUGS (2) | Drugs |
VIOLENT (4) | Violence |
EXPLICIT (8) | Explicit |
Possible values: [0
, 1
, 2
, 4
, 8
]
Community features enabled for this mod. Add the options you want together, to enable multiple features (see BITWISE fields)
Enum Value | Description |
---|---|
DISABLED (0) | None |
ALLOW_MOD_COMMENTS (1) | Allow comments on mods |
ALLOW_PREVIEWS (64) | Enable Previews (Game must be hidden) |
ALLOW_PREVIEW_URL (128) | Allow preview share-URL (Previews must be enabled) |
ALLOW_DEPENDENCY (1024) | Allow mod dependencies |
Possible values: [0
, 1
, 64
, 128
, 1024
]
0
Monetization features enabled for this mod. Add the options you want together, to enable multiple features (see BITWISE fields)
Enum Value | Description |
---|---|
DISABLED (0) | Access to monetization features disabled |
MONETIZATION (1) | Access to monetization features enabled by the game for this mod |
MARKETPLACE (2) | Marketplace enabled |
LIMITED (8) | Quantity of this mod is limited |
Possible values: [0
, 1
, 2
, 8
]
Credit options enabled for this mod:. Add the options you want together, to enable multiple options (see BITWISE fields)
Enum Value | Description |
---|---|
DISABLED (0) | All the options are disabled |
SHOW_CREDITS (1) | Show credits section |
ORIGINAL_OR_PERMITTED_ASSETS (2) | Mark with original or permitted assets |
ALLOW_REDISTRIBUTION_WITH_CREDIT (4) | Allow redistribution with credit |
ALLOW_PORTING_WITH_CREDIT (8) | Allow porting with credit |
ALLOW_PATCHING_NO_CREDIT (16) | Allow patching without credit |
ALLOW_PATCHING_WITH_CREDIT (32) | Allow patching with credit |
ALLOW_PATCHING_WITH_PERMISSION (64) | Allow patching with permission |
ALLOW_REPACKAGE_NO_CREDIT (128) | Allow repackaging without credit |
ALLOW_REPACKAGE_WITH_CREDIT (256) | Allow repackaging with credit |
ALLOW_REPACKAGE_WITH_PERMISSION (512) | Allow repackaging with permission |
ALLOW_USERS_TO_RESELL (1024) | Allow users to resell |
Possible values: [0
, 1
, 2
, 4
, 8
, 16
, 32
, 64
, 128
, 256
, 512
, 1024
]
The stock of the mod. 0 is the default value, and is only used when the mod has limited quantity enabled.
0
The price of the mod.
0
The tax of the mod.
0
logo object
Contains logo data.
Logo filename including extension.
card.png
URL to the full-sized logo.
https://assets.modcdn.io/images/placeholder/card.png
URL to the small logo thumbnail.
https://assets.modcdn.io/images/placeholder/card.png
URL to the medium logo thumbnail.
https://assets.modcdn.io/images/placeholder/card.png
URL to the large logo thumbnail.
https://assets.modcdn.io/images/placeholder/card.png
Official homepage of the mod.
https://www.rogue-hdpack.com/
Name of the mod.
Rogue Knight HD Pack
Path for the mod on mod.io. For example: https://mod.io/g/rogue-knight/m/__rogue-knight-hd-pack__
rogue-knight-hd-pack
Summary of the mod.
It's time to bask in the glory of beautiful 4k textures!
Detailed description of the mod which allows HTML.
<p>Rogue HD Pack does exactly what you thi...
description
field converted into plaintext.
Rogue HD Pack does exactly what you thi...
Metadata that is designed to be handled by the game client and is recommended to not be exposed to content creators when submitting their mods. Metadata can also be stored as searchable key value pairs, and to individual mod files.
rogue,hd,high-res,4k,hd textures
URL to the mod.
https://mod.io/g/rogue-knight/m/rogue-knight-hd-pack
media object
Contains mod media data.
Array of YouTube links.
Array of SketchFab links.
images object[]
Array of image objects (a gallery).
Image filename including extension.
card.png
URL to the full-sized image.
https://assets.modcdn.io/images/placeholder/card.png
URL to the image thumbnail.
https://assets.modcdn.io/images/placeholder/card.png
URL to the image thumbnail.
https://assets.modcdn.io/images/placeholder/card.png
modfile object
Contains modfile data.
Unique modfile id.
2
Unique mod id.
2
Unix timestamp of date file was added.
1499841487
Unix timestamp of date file was updated.
1499841487
Unix timestamp of date file was virus scanned.
1499841487
Current virus scan status of the file. For newly added files that have yet to be scanned this field will change frequently until a scan is complete.
Enum Value | Description |
---|---|
NOT_SCANNED (0) | Not scanned |
SCANNED (1) | Scan complete |
SCAN_IN_PROGRESS (2) | In progress |
FILE_TOO_LARGE (3) | Too large to scan |
FILE_NOT_FOUND (4) | File not found |
SCAN_ERROR (5) | Error Scanning |
Possible values: [0
, 1
, 2
, 3
, 4
, 5
]
Was a virus detected.
Enum Value | Description |
---|---|
NO_THREATS_FOUND (0) | No threats detected |
THREATS_FOUND (1) | Flagged as malicious |
POTENTIALLY_HARMFUL (2) | Flagged as containing potentially harmful files (i.e. EXEs) |
Possible values: [0
, 1
, 2
]
Deprecated: No longer used and will be removed in subsequent API version.
Size of the file in bytes.
15181
The uncompressed filesize of the zip archive.
16384
filehash object
Contains filehash data.
MD5 hash of the file.
2d4a0e2d7273db6b0a94b0740a88ad0d
Filename including extension.
rogue-knight-v1.zip
Release version this file represents.
1.3
Changelog for the file.
VERSION 1.3 -- Changes -- Fixed critical castle floor bug.
Metadata stored by the game developer for this file.
rogue,hd,high-res,4k,hd textures
download object
Contains download data.
URL to download the file from the mod.io CDN.
NOTE: If the game requires mod downloads to be initiated via the API, the binary_url
returned will contain a verification hash. This hash must be supplied to get the modfile, and will expire after a certain period of time. Saving and reusing the binary_url
won't work in this situation given it's dynamic nature.
https://api.mod.io.dev.internal/v1/games/1/mods/1/files/1/download/c489a0354111a4d76640d47f0cdcb294
Unix timestamp of when the binary_url
will expire.
1579316848
platforms object[]
Contains modfile platform data.
Enum Value | Description |
---|---|
ALL | All Platforms |
WINDOWS | Windows |
MAC | Mac |
LINUX | Linux |
ANDROID | Android |
IOS | Iphone IOS |
XBOXONE | Xbox One |
XBOXSERIESX | Xbox Series X |
PLAYSTATION4 | Playstation 4 |
PLAYSTATION5 | Playstation 5 |
SWITCH | Switch |
OCULUS | Oculus |
SOURCE | Source |
Possible values: [ALL
, WINDOWS
, MAC
, LINUX
, ANDROID
, IOS
, XBOXONE
, XBOXSERIESX
, PLAYSTATION4
, PLAYSTATION5
, SWITCH
, OCULUS
, SOURCE
]
PLAYSTATION5
The status of the modfile for the corresponding platform
.
Enum Value | Description |
---|---|
PENDING (0) | Pending |
APPROVED (1) | Approved |
DENIED (2) | Denied |
TARGETED (3) | Targeted |
Possible values: [0
, 1
, 2
, 3
]
If the mod has any dependencies, this value will be set to true
.
false
platforms object[]
Contains mod platform data.
Enum Value | Description |
---|---|
ALL | All Platforms |
WINDOWS | Windows |
MAC | Mac |
LINUX | Linux |
ANDROID | Android |
IOS | Iphone IOS |
XBOXONE | Xbox One |
XBOXSERIESX | Xbox Series X |
PLAYSTATION4 | Playstation 4 |
PLAYSTATION5 | Playstation 5 |
SWITCH | Switch |
OCULUS | Oculus |
SOURCE | Source |
Possible values: [ALL
, WINDOWS
, MAC
, LINUX
, ANDROID
, IOS
, XBOXONE
, XBOXSERIESX
, PLAYSTATION4
, PLAYSTATION5
, SWITCH
, OCULUS
, SOURCE
]
PLAYSTATION5
The unique id of the modfile that is currently live on the platform specified in the platform
field.
1
metadata_kvp object[]
Contains key-value metadata.
The key of the key-value pair.
pistol-dmg
The value of the key-value pair.
800
tags object[]
Contains mod tag data.
Tag name.
Unity
The localized tag name influenced by the Accept-Language header, defaults to English.
Unity
Deprecated: Unix timestamp of date tag was applied.
1499841487
stats object
Contains stats data.
Unique mod id.
2
Current rank of the mod.
13
Number of ranking spots the current rank is measured against.
204
Last 24hours of downloads for the mod.
327
Total downloads for the mod.
27492
Total users who have subscribed to the mod.
16394
Total times the mod has been rated.
1230
Number of positive ratings.
1047
Number of negative ratings.
183
Number of positive ratings, divided by the total ratings to determine it’s percentage score.
91
Overall rating of this item calculated using the Wilson score confidence interval. This column is good to sort on, as it will order items based on number of ratings and will place items with many positive ratings above those with a higher score but fewer ratings.
87.38
Textual representation of the rating in format.
Possible values: [Overwhelmingly Positive
, Very Positive
, Positive
, Mostly Positive
, Mixed
, Negative
, Mostly Negative
, Very Negative
, Overwhelmingly Negative
, Unrated
]
Very Positive
Unix timestamp until this mods's statistics are considered stale.
1492564103
skus object[]
SKUs with corresponding platforms that can be used to purchase the mod.
The unique identifier for the SKU object.
The SKU for the mod at the given portal.
The store (or platform) where the SKU is available.
{
"id": 2,
"game_id": 2,
"status": 0,
"visible": 0,
"submitted_by": {
"id": 1,
"name_id": "xant",
"username": "XanT",
"display_name_portal": null,
"date_online": 1509922961,
"date_joined": 1509922961,
"avatar": {
"filename": "avatar.png",
"original": "https://assets.modcdn.io/images/placeholder/avatar.png",
"thumb_50x50": "https://assets.modcdn.io/images/placeholder/avatar_50x50.png",
"thumb_100x100": "https://assets.modcdn.io/images/placeholder/avatar_100x100.png"
},
"timezone": "",
"language": "",
"profile_url": "https://mod.io/u/xant"
},
"date_added": 1492564103,
"date_updated": 1499841487,
"date_live": 1499841403,
"maturity_option": 0,
"community_options": 0,
"monetization_options": 0,
"credit_options": 0,
"stock": 0,
"price": 0,
"tax": 0,
"logo": {
"filename": "card.png",
"original": "https://assets.modcdn.io/images/placeholder/card.png",
"thumb_320x180": "https://assets.modcdn.io/images/placeholder/card.png",
"thumb_640x360": "https://assets.modcdn.io/images/placeholder/card.png",
"thumb_1280x720": "https://assets.modcdn.io/images/placeholder/card.png"
},
"homepage_url": "https://www.rogue-hdpack.com/",
"name": "Rogue Knight HD Pack",
"name_id": "rogue-knight-hd-pack",
"summary": "It's time to bask in the glory of beautiful 4k textures!",
"description": "<p>Rogue HD Pack does exactly what you thi...",
"description_plaintext": "Rogue HD Pack does exactly what you thi...",
"metadata_blob": "rogue,hd,high-res,4k,hd textures",
"profile_url": "https://mod.io/g/rogue-knight/m/rogue-knight-hd-pack",
"media": {
"youtube": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ"
],
"sketchfab": [
"https://sketchfab.com/models/ef40b2d300334d009984c8865b2db1c8"
],
"images": [
{
"filename": "card.png",
"original": "https://assets.modcdn.io/images/placeholder/card.png",
"thumb_320x180": "https://assets.modcdn.io/images/placeholder/card.png",
"thumb_1280x720": "https://assets.modcdn.io/images/placeholder/card.png"
}
]
},
"modfile": {
"id": 2,
"mod_id": 2,
"date_added": 1499841487,
"date_updated": 1499841487,
"date_scanned": 1499841487,
"virus_status": 0,
"virus_positive": 0,
"virustotal_hash": "",
"filesize": 15181,
"filesize_uncompressed": 16384,
"filehash": {
"md5": "2d4a0e2d7273db6b0a94b0740a88ad0d"
},
"filename": "rogue-knight-v1.zip",
"version": "1.3",
"changelog": "VERSION 1.3 -- Changes -- Fixed critical castle floor bug.",
"metadata_blob": "rogue,hd,high-res,4k,hd textures",
"download": {
"binary_url": "https://api.mod.io.dev.internal/v1/games/1/mods/1/files/1/download/c489a0354111a4d76640d47f0cdcb294",
"date_expires": 1579316848
},
"platforms": [
{
"platform": "PLAYSTATION5",
"status": 0
}
]
},
"dependencies": false,
"platforms": [
{
"platform": "PLAYSTATION5",
"modfile_live": 1
}
],
"metadata_kvp": [
{
"metakey": "pistol-dmg",
"metavalue": "800"
}
],
"tags": [
{
"name": "Unity",
"name_localized": "Unity",
"date_added": 1499841487
}
],
"stats": {
"mod_id": 2,
"popularity_rank_position": 13,
"popularity_rank_total_mods": 204,
"downloads_today": 327,
"downloads_total": 27492,
"subscribers_total": 16394,
"ratings_total": 1230,
"ratings_positive": 1047,
"ratings_negative": 183,
"ratings_percentage_positive": 91,
"ratings_weighted_aggregate": 87.38,
"ratings_display_text": "Very Positive",
"date_expires": 1492564103
},
"skus": [
{
"id": 0,
"sku": "string",
"portal": "string"
}
]
}