Page MenuHomePhabricator

Curator gets edit count
Closed, ResolvedPublic


"As a Curator, I want to get a count of all edits of a page, so that I can understand the maturity of the content."

GET /page/{title}/history/counts/edits

Return summary of information in the edit history.

Request body: none

Notable request headers: none
Status codes:
200 - OK
404 - no such page

Notable response headers: none

Body: JSON, object with following fields
count: total number of edits, integer

Event Timeline

One thing I will confirm is how important "liveness" is for this endpoint and the counts involved. If the numbers are cached and are stale by a few hours, days, or a week, is that OK?