mozilla / api.webmaker.org

Services for Webmaker
https://api.webmaker.org
17 stars 14 forks source link

Count project views using POST /view-project/{project_id} #185

Closed cadecairos closed 8 years ago

cadecairos commented 8 years ago

POST /view-project/{project_id}

Requires a valid Authorization header, 400s if user owns project or if project doesn't exist.

Uses an upsert query to initialize a project's view count to 1, increments it thereafter.

mozilla/webmaker-core#902

xmatthewx commented 8 years ago

:smile: - should we assign review to @jbuck ?

jbuck commented 8 years ago

@cadecairos r+