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

Document requests that remixing and copying make #44

Open
towerofnix opened this issue Oct 24, 2018 · 0 comments
Open

Document requests that remixing and copying make #44

towerofnix opened this issue Oct 24, 2018 · 0 comments
Labels

Comments

@towerofnix
Copy link
Owner

towerofnix commented Oct 24, 2018

I think they use the same endpoint as normally saving a project does, but with the extra properties original_id (self-explanatory) and is_copy/is_remix (= 1).

See scratchfoundation/scratch-gui#3493 for reference.

Edit: Per the related PR scratchfoundation/scratch-storage#54, it looks like the entire endpoint is POST https://projects.scratch.mit.edu/?original_id=<id>&is_(copy, remix)=1 (whereas just uploading a new project without any original ID and not a copy/remix is POST https://projects.scratch.mit.edu/, and updating is PUT https://projects.scratch.mit.edu/<id>).

See also #37.

@towerofnix towerofnix added the api label Oct 24, 2018
@towerofnix towerofnix added this to the Release of 3.0 Project Page milestone Oct 24, 2018
@towerofnix towerofnix changed the title Document requests which remixing and copying make Document requests that remixing and copying make Nov 13, 2018
@towerofnix towerofnix removed this from the Release of 3.0 Project Page milestone Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant