Agreement Version Object
Contains Agreement data.
Unique id of the agreement.
1
Is the agreement currently active? (This can also be determined if date_live <= the current time).
true
Is this the latest version of the agreement?
true
Enum Value | Description |
---|---|
TOU (1) | Terms |
PRIVACY (2) | Privacy |
GAME (3) | Game |
API (4) | API |
MONETIZATION (5) | Monetization |
AUP (6) | AUP |
COOKIES (7) | Cookies |
REFUND (8) | Refund |
Possible values: [1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
]
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
Unix timestamp of the date the agreement was added.
1509922961
Unix timestamp of the date the agreement was updated.
1509922961
Unix timestamp of the date the agreement was set live.
1509922961
Name of the agreement.
Terms of Use
Changelog for version of this agreement.
The contents of the agreement.
Privacy Agreement - 20/11/2020.....
The previous and next versions of the agreement.
'previous': { 'id': 13, 'date_live': 1592381157 }, 'next': { 'id': 31, 'date_live': 1722400117 }
{
"id": 1,
"is_active": true,
"is_latest": true,
"type": 1,
"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"
},
"date_added": 1509922961,
"date_updated": 1509922961,
"date_live": 1509922961,
"name": "Terms of Use",
"changelog": "",
"description": "Privacy Agreement - 20/11/2020.....",
"adjacent_versions": "'previous': { 'id': 13, 'date_live': 1592381157 }, 'next': { 'id': 31, 'date_live': 1722400117 }"
}