Internal Public User Object
Contains user data.
idinteger<int32>
Unique id of the user.
Example:
1
name_idstring
Path for the user on mod.io. For example: https://mod.io/u/__name-id-here__
Example:
xant
usernamestring
Display name of the user.
Example:
XanT
display_name_portalstring
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.
Example:
null
date_onlineinteger<int32>
Unix timestamp of date the user was last online.
Example:
1509922961
date_joinedinteger<int32>
Unix timestamp of date the user joined.
Example:
1509922961
avatar object
Contains avatar data.
filenamestring
Avatar filename including extension.
Example:
avatar.png
originalstring
URL to the full-sized avatar.
Example:
https://assets.modcdn.io/images/placeholder/avatar.png
thumb_50x50string
URL to the small avatar thumbnail.
Example:
https://assets.modcdn.io/images/placeholder/avatar_50x50.png
thumb_100x100string
URL to the medium avatar thumbnail.
Example:
https://assets.modcdn.io/images/placeholder/avatar_100x100.png
profile_urlstring
URL to the users profile.
Example:
https://mod.io/u/xant
privacy_optionsstring
Users profile privacy setting.
Example:
0
monetization_optionsUser Monetization Permission Enum (integer)
Enum Value | Description |
---|---|
DISABLED (0) | Access to monetization features disabled |
MONETIZATION (1) | Access to monetization features enabled by mod.io |
MARKETPLACE (2) | Marketplace enabled |
Possible values: [0
, 1
, 2
]
monetization_statusUser Monetization Status Enum (integer)
Enum Value | Description |
---|---|
UNREGISTERED (0) | Unregistered |
PENDING (1) | Pending |
REJECTED (2) | Rejected |
REVIEW (4) | Review |
ACTION (8) | Action |
APPROVED (16) | Approved |
MEMBER (32) | Member |
Possible values: [0
, 1
, 2
, 4
, 8
, 16
, 32
]
Internal Public User Object
{
"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"
},
"profile_url": "https://mod.io/u/xant",
"privacy_options": "0",
"monetization_options": 0,
"monetization_status": 0
}