ankitr / GunnApps

An app platform for GHS.
gunnapps.com
MIT License
0 stars 0 forks source link

User Information Endpoint #13

Open ankitr opened 10 years ago

ankitr commented 10 years ago

There needs to be an endpoint to get user information. It will return information in this format:

GET /api/titan/<id:int> {
    'name':       [readonly] str,
    'email':      [readonly] str,          # Personal email address
    'year':       [readonly] int,          # > 2000
    'isAlumnus':  [readonly] bool,       # year <= now?
    'image':      [readonly] str or None,  # A URL
    'lastActive': [writable] str           # ISO-8601 Timestamp
} throws 404