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

Move sharing to special endpoint. #2304

Merged

Conversation

paulkaplan
Copy link
Contributor

@paulkaplan paulkaplan commented Nov 13, 2018

This makes a couple of assumptions about the shape of the endpoint:

  • Route is /proxy/projects/:id/share
  • Returns the full (updated) project info on success, just like the project update endpoint does.

I reviewed these assumptions with @colbygk since the API is not done, but I can update once it is.

This makes a couple of assumptions about the shape of the endpoint:
- Route is /proxy/projects/:id/share.
- Returns the full (updated) project info on success, just like the project update endpoint does.

I reviewed these with colby since this is frontrunning the actual API, but I can update once the API is finalized.
rschamp
rschamp previously approved these changes Nov 13, 2018
Copy link
Contributor

@rschamp rschamp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG. I think we should hold off merging til the endpoint is in though.

The API endpoint will return just the updated slice of the projectInfo, so just update the projectInfo instead of replacing.
@paulkaplan paulkaplan merged commit 476578c into scratchfoundation:develop Nov 14, 2018
@paulkaplan paulkaplan deleted the update-share-endpoint branch November 14, 2018 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants