Types of JSON object¶
Account¶
Attributes:
id(string, representing an int)name(string)discriminator(string, 4 digit Discord discriminator)avatar_url(optionalstring, full URL to an avatar)team(optionalTeamobject)permissions(int, see Permissions)created_at(decimal, seconds since the UNIX epoch)awards(listofAwardobjects)
Team¶
Attributes:
id(int)name(string)created_at(decimal, seconds since the UNIX epoch)member_count(int)awards(listofAwardobjects)
Session¶
Attributes:
username(string, see Authentication)password(string, see Authentication)expires_at(decimal, seconds since the UNIX epoch)
App¶
Attributes:
name(string)permissions(int, see Permissions)username(string, see Authentication)password(string, see Authentication)
Note
Not all endpoints include the password attribute when returning
an App object for security reasons. Check endpoint-specific
documentation.