Example #1
0
def description():
    '''Updates the user's description.'''
    return handler.handle(request, '/description')
Example #2
0
def follow():
    '''Follows a given user.'''
    return handler.handle(request, '/follow')
Example #3
0
def unfollow():
    '''Unfollows a given user.'''
    return handler.handle(request, '/unfollow')
Example #4
0
def following():
    '''Retrieves information of all users being followed.'''
    return handler.handle(request, '/following')
Example #5
0
def search():
    '''Searches for users with similar usernames.'''
    return handler.handle(request, '/search')
Example #6
0
def authenticated():
    '''Determines whether user is authenticated'''
    return handler.handle(request, '/authenticated')
Example #7
0
def login():
    '''Authenticates a user.'''
    return handler.handle(request, '/login')
Example #8
0
def register():
    '''Registers a user'''
    return handler.handle(request, '/register')
Example #9
0
def me():
    '''Retrieves personal information.'''
    return handler.handle(request, '/me')
Example #10
0
def upload():
    '''Uploads image to S3.'''
    return handler.handle(request, '/upload')