Skip to content

get sessions call returns public sessions not belonging to user #138

@antoinefalisse

Description

@antoinefalisse

This call will return public sessions not belonging to the user.

def get_user_sessions(user_token=API_TOKEN):
    sessions = requests.get(
        API_URL + "sessions/valid/", 
        headers = {"Authorization": "Token {}".format(user_token)}).json()
    
    return sessions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions