session.md

May 15, 2023 ยท View on GitHub

user/bests/session

argumentsdescriptionoptional
user_nameuser name or 9-digit user codetrue when usercode is not null, otherwise false
user_code9-digit user codetrue when user is not null, otherwise false
from_cacheboolean. if true, will query from cachetrue
Tag
  • Need Token

Example

  • {apiurl}/arcapi/user/bests/session?user_name=ToasterKoishi
Return data
{
  "status": 0,
  "content": {
    "session_info": "4@1a966fd8-3066-4935-975c-09cc1e042d7a"
  }
}
{
  "status": -33,
  "message": "duplicate bests requests within 12 hours. cached session generated",
  "content": {
    "session_info": "4@1a966fd8-3066-4935-975c-09cc1e042d7a"
  }
}