Skip to content

Add backend support for cross-team collaboration#152

Open
ryukoposting wants to merge 1 commit intoTeam2338:mainfrom
ryukoposting:collaboration-backend
Open

Add backend support for cross-team collaboration#152
ryukoposting wants to merge 1 commit intoTeam2338:mainfrom
ryukoposting:collaboration-backend

Conversation

@ryukoposting
Copy link
Contributor

  • Add a new column shared to the events table.
  • When two teams using the same event_code and secret_code both have their shared flags set to true, the /team/{teamNumber}/gameYear/{gameYear}/event/{eventCode} endpoint will return the combined match data of both teams.

Note some important behaviors:

  • Match data is shared, not notes or inspections (will want to share inspections too, but never notes)
  • Teams with shared=false cannot see data from teams with shared=true. In other words, you can't benefit from scouting collaboration unless you're also collaborating.

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

Successfully merging this pull request may close these issues.

1 participant