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

Add "view" projects API #51

Open
towerofnix opened this issue Dec 7, 2018 · 0 comments
Open

Add "view" projects API #51

towerofnix opened this issue Dec 7, 2018 · 0 comments
Labels

Comments

@towerofnix
Copy link
Owner

towerofnix commented Dec 7, 2018

That is, the endpoint that registers that you have viewed the project (hence increasing the view count), /users/${username}/projects/${id}/views. Reference code in scratchfoundation/scratch-www#2417.

Per details in scratchfoundation/scratch-www#2417 (comment): username above is of the author of the project, id is the project ID. It does take credentials (auth token).

Looks like it might take CSRF token too, but that'll require manual testing to be sure.

@towerofnix towerofnix added the api label Dec 7, 2018
@towerofnix towerofnix added this to the Release of 3.0 Project Page milestone Dec 7, 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