Cards
/cards/rank
Create a rank card
Query Parameters
avatar?string
A valid image URL
Length
1 <= length <= 2048global_name*string
The user global name
Length
1 <= length <= 100username*string
The username
Length
1 <= length <= 100level*number
The user level
Range
0 <= valuexp*number
The user xp (relative to the current level)
Range
0 <= valuemax_xp*number
The XP required for the next level (relative to the current level)
Range
0 <= valuerank?integer
The user rank
Range
0 <= valuebg_url?string
A valid image URL
Length
1 <= length <= 2048bg_color?string
A valid hexadecimal color (without the #)
Match
^[A-Fa-f0-9]{6}$Length
6 <= length <= 6blur?boolean
Blur the background image if there is one
color?string
A valid hexadecimal color (without the #)
Match
^[A-Fa-f0-9]{6}$Length
6 <= length <= 6Response Body
image/png
application/json
application/json
application/json
application/json
curl -X GET "https://plume.sodiumlabs.xyz/api/cards/rank?global_name=string&username=string&level=0&xp=0&max_xp=0""string"{
"message": "string"
}{
"message": "string"
}{
"message": "string",
"errors": [
{
"message": "string"
}
]
}{
"message": "string"
}