Last active
August 7, 2018 11:25
-
-
Save TondaHack/72c7338b61fedeb68dec4cdf47065d03 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"joinRoom" | |
{ | |
status: ... | |
response: | |
{ | |
state: | |
{ | |
author_id (int) | |
author_name (string) ##Let's move author_id here | |
id (int) | |
pin (string) | |
room_title (string) | |
vote_status (string) | |
active_ticket: ##We don't show old tickets, we show just active ticket | |
ticket_id: | |
description (string) | |
active_sequence (string) | |
title: (string) | |
votes: [ ##(validation, only scrum_master could see it or the rest after voting for all) + structure change | |
## Idea 2 - in progress. send list of votes including list of names example: {vote: "L", users: ["John", "Carlos"]} | |
{ | |
users: [{ | |
user_id: 8 | |
name: user1 | |
avatar: (int 0-11) | |
role: developer | |
}, | |
{ | |
user_id: 9 | |
name: user1 | |
avatar: (int 0-11) | |
role: developer | |
}], | |
vote: "L" | |
} | |
] | |
tickets: ##Remove, The app is not using it anymore. Active ticket is just enough | |
users: ##Remove users, since it's part of voting, It's not necessary. | |
7: (user_id) | |
name: user1 | |
avatar: (int 0-11) | |
role: developer | |
8: (user_id) | |
name: user1 | |
avatar: (int 0-11) | |
role: scrum_master | |
} | |
replyFrom (string) - event sending the reply, e.g. "message:createRoom" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment