Mod User Preview Object
Contains avatar data.
user 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
user_from 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
The URL of the resource that the registrant should be redirect to upon success.
https://mod.io/g/@rogueknight/m/@some-mod
If the user is also subscribed to the resource.
false
Unix timestamp of the date the user was registered as a previewer.
1499841487
{
"user": {
"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"
},
"user_from": {
"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"
},
"resource_url": "https://mod.io/g/@rogueknight/m/@some-mod",
"subscribed": false,
"date_added": 1499841487
}