Page MenuHomePhabricator

Contributor gets count of page views for pages they have contributed to
Closed, DeclinedPublic

Description

"As a Contributor, I want to see a count of the views on all pages that I have contributed to, to estimate the level of impact my contributions have had."

GET /user/{name}/contributions/count/pageviews
GET /me/contributions/count/pageviews

Get the count of page views for each page the user has contributed to. me is for the current user; otherwise name is the name of the user.

Request body: none

Notable request headers: none

Status:
200 - OK
401 - not authenticated; only used for the /me synonym
404 – no such user

Notable response headers: none

Body: JSON, an object with the following fields:
count: number, count of page views