User:Awah Nadege/Return values for action=edit API

Overview
This page documents the response values and structures of API:Edit.

Response
The response can fall under three groups
 * 1) Redirects
 * 2) Edit
 * 3) Extensions

Edit
This gives information about the edit done on the page. The following can be returned: Type: integer. Type: timestamp Format: ISO 8601 timestamp.
 * : Revision ID before the page was edited. Type: integer.
 * : Revision ID after the page was edited. Type: integer
 * : Revision ID after the page was edited. Type: integer
 * : It is set to true when

Extension
When action=edit API is used with Extension:ConfirmEdit, a captcha may be triggered for new edits. As a result, the return data could contain a  node. The values below depend on the captcha module used.
 * The last value could be a question, a math problem, or a url to an image.
 * The last value could be a question, a math problem, or a url to an image.
 * The last value could be a question, a math problem, or a url to an image.
 * The last value could be a question, a math problem, or a url to an image.