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.
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):
usernameabove is of the author of the project,idis 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.