Skip to content

Add "view" projects API #51

@towerofnix

Description

@towerofnix

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions