API Docs: Difference between revisions

Jump to navigation Jump to search
133 bytes added ,  30 July 2022
→‎GET /api/userInfo: Add permissions response value
(Change ref 2 external link to an internal one)
(→‎GET /api/userInfo: Add permissions response value)
Line 284: Line 284:
   reputation: float,  
   reputation: float,  
   vip: int, // VIP status
   vip: int, // VIP status
   lastSegmentID: string // UUID of last submitted segment
   lastSegmentID: string, // UUID of last submitted segment
  permissions: { // Can the user submit segments of this category?
    category: boolean // [1]
  }
}
}
</syntaxhighlight>
</syntaxhighlight>
References: <ref name=":0" />


'''Error codes''':
'''Error codes''':
Line 293: Line 298:


-----
-----
====='''GET''' <code>/api/userStats</code>=====
====='''GET''' <code>/api/userStats</code>=====


Navigation menu