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.

Count contributions
Returns the number of contributions made by a user, specified by username or for the logged-in user.

Response schema
= Contributions =

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

Get user 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.

Get my contributions
Returns contributions made by the logged-in 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.

Count user contributions
Returns the number of contributions made by a user.

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