API:Revisiondelete/zh

POST请求已删除和还原修订版本.



-{zh-hans:示例; zh-hant:範例;}-
Making any POST request is a multi-step process:

  Log in, via one of the methods described on.   GET an edit/CSRF token as shown here   Send a POST request, with the CSRF token, to delete and undelete revisions.  

The sample codes below cover these steps.



回应


示例代码


可能的错误


参数历史

 * v1.29: 啟用



參見

 * - To show and hide individual page revisions.
 * - To hide individual entries in a page history or log.
 * - API parameters used for listing deleted revisions.
 * - To get deleted revision information.