Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define Events #14

Open
iph opened this issue May 21, 2016 · 0 comments
Open

Define Events #14

iph opened this issue May 21, 2016 · 0 comments

Comments

@iph
Copy link
Member

iph commented May 21, 2016

Motivation

In order to correctly rebuild the draft app, we need to have correct API interactions.


Description

Events that can happen:

  • Bid

    {
        amount: int,
        player: int64,
        drafter_id: string
    }
    
  • AddTeam

    {
        team_name: string,
        drafter_league_id: int64,     // Needed for permissions check
        drafter_id: string
    }
    
  • Win

    {
        team_name: string,
        amount: int,
        drafter_id: string,
        player_id: int64
    }
    
  • AddPlayer

    {
        player_id: int64
    }
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant