-
Notifications
You must be signed in to change notification settings - Fork 13
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
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: