Translations:API:REST API/Reference/129/en

To update a page, you need the page's latest revision ID and the page source. First call the get page source endpoint, and then use the $2 and $3 to update the page. If $3 doesn't match the page's latest revision, the API resolves conflicts automatically when possible. In the event of an edit conflict, the API returns a 409 error.