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

Server device info should be set by the coordinator, not the server itself #927

Open
EvanHahn opened this issue Oct 21, 2024 · 1 comment

Comments

@EvanHahn
Copy link
Contributor

No description provided.

@EvanHahn
Copy link
Contributor Author

Gregor and I discussed this today. It's a nontrivial task. Here are my notes from the call.

When adding a server peer, core should:

  • PUT to the /projects endpoint
  • Receive the device ID and server name from the response
  • Set the device info for the server
    • We'd need to implement this
    • Problem: device info docId is config core ID, not deviceId. MemberApi.prototype.getById could query both?
  • Then there's no need for an initial sync with the server

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

2 participants