User:APaskulin (WMF)/Sandbox/Reference

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

= Contributions =

Contribution object
The contribution object represents an edit to a page.

Get contributions
Returns information about contributions made by a user, 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. This endpoint supports listing contributions for a specific username or IP address (using ) or for the logged-in user (using  ).

Count contributions
Returns the number of contributions made by a user. This endpoint supports contributions counts for a specific username or IP address (using ) or for the logged-in user (using  ).