"As a Curator, I want to know how many editors have created revisions between two revisions, so that I understand what level of collaboration has gone into the changes."
When displaying a diff between two revisions, our clients also show how many revisions happened between the two revisions. (See https://en.wikipedia.org/w/index.php?title=France&type=revision&diff=920186445&oldid=914890923 for an example, "(8 intermediate revisions by 7 users not shown)").
T234940 is for getting the count of revisions; this user story is for getting the count of unique users.
GET /page/{title}/history/editors?from=<from>&to=<to>
Return the number of unique editors who created revisions between revision with id from and revision with id to, non-inclusive
Request body: none
Notable request headers: none
Status codes:
200: body is the editors count
404: revision with id from and/or revision with id to do not exist
403: revision with id from and/or revision with id to is unauthorized, or page that these are revisions of is unauthorized
400: client error, such as if from and to are the same ID, or if from and to are not revisions of the same page
Notable response headers: none
Response body: JSON object with the following properties
count: integer of 0 or more representing count of unique editors who worked on non-inclusive non-deleted intermediate revisions between revision with id from and revision with id to (see above for examples)