Ranking
This endpoint is used for promoting and demoting users.
POST/ranking/promote
Promote
Promotes the specified user.
Required attributes
- Name
- token
- Type
- string
- Description
- The token of the key, found on our dashboard. 
 
- Name
- userId
- Type
- integer
- Description
- The ID of the Roblox user being promoted. 
 
- Name
- modId
- Type
- integer
- Description
- The ID of the Roblox user who initiated this request. 
 
- Name
- scaleCode
- Type
- string
- Description
- The shortcode of the scale to promote the user to (only required if on minimum rank). 
 
Response
- Name
- success
- Type
- boolean
- Description
- Whether the request was successful. 
 
- Name
- error
- Type
- string?
- Description
- Returns an error message if the request failed. 
 
- Name
- data
- Type
- object?
- Description
- Name
- rank
- Type
- string?
- Description
- The new rank of the user. 
 
 
Request
POST
/ranking/promotecurl -G https://papi.easypos.lol/ranking/promote \
  -H "Content-Type: application/json" \
  -d token="..." \
  -d userId=123 \
  -d modId=123 \
  -d scaleCode="SC"
Response
{
  "success" (boolean),
  "error" (string?),
  "data": {
    "rank" (string?)
  }
}
POST/ranking/demote
Demote
Demotes the specified user.
Required attributes
- Name
- token
- Type
- string
- Description
- The token of the key, found on our dashboard. 
 
- Name
- userId
- Type
- integer
- Description
- The ID of the Roblox user being demoted. 
 
- Name
- modId
- Type
- integer
- Description
- The ID of the Roblox user who initiated this request. 
 
Response
- Name
- success
- Type
- boolean
- Description
- Whether the request was successful. 
 
- Name
- error
- Type
- string?
- Description
- Returns an error message if the request failed. 
 
- Name
- data
- Type
- object?
- Description
- Name
- rank
- Type
- string?
- Description
- The new rank of the user. 
 
 
Request
POST
/ranking/demotecurl -G https://papi.easypos.lol/ranking/demote \
  -H "Content-Type: application/json" \
  -d token="..." \
  -d userId=123 \
  -d modId=123
Response
{
  "success" (boolean),
  "error" (string?),
  "data": {
    "rank" (string?)
  }
}
