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
(optionalTeam
object)permissions
(int
, see Permissions)created_at
(decimal
, seconds since the UNIX epoch)awards
(list
ofAward
objects)
Team
¶
Attributes:
id
(int
)name
(string
)created_at
(decimal
, seconds since the UNIX epoch)member_count
(int
)awards
(list
ofAward
objects)
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.