User:APaskulin (WMF)/Sandbox/Reference

This page is a staging area for documentation for endpoints in the coredev namespace of the MediaWiki REST API.

= History =

Revision segment object
The revision segment object represents a chronological set of revisions, either as part of a page's history or a user's contributions.

Schema
= Contributions =

Get my contributions
Returns the contributions of the logged-in user in segments of 20 revisions, starting with the most recent contribution. The response includes API routes for the next oldest, next newest, and latest contribution segments, letting you scroll through contribution history.

Count my contributions
Returns the number of contributions made by the logged-in user.