0 of 1 found this page helpful

GET:archive/pages

    Overview

    public. Retrieve the pages that can be potentially restored from deletion.

    Uri Parameters

    None

    Query Parameters
    NameTypeDescription
    authenticatebool?Force authentication for request (default: false)
    limitstring?Maximum number of items to retrieve. Must be a positive number or 'all' to retrieve all items. (default: 100)
    offsetint?Number of items to skip. Must be a positive number or 0 to not skip any. (default: 0)
    titlestring?Show deleted pages matching the given title. (default: all pages)
    Return Codes
    NameValueDescription
    Forbidden403Administrator access is required
    Ok200The request completed successfully

    Message Format

    Output:

    <pages.archive>
        <page.archive>
            <title>{text}</title> 
            <path>{text}</path> 
            <revisions.archive count="{int}" href="{uri}" /> 
        </page.archive>
        ...
    </pages.archive>

    Implementation Notes

    When a page is deleted, the page and all files on it are moved into the archive. A page is never permanently deleted; it will remain in the archive until it is restored (POST:archive/pages/{pageid}/restore). While a page is in the archive, it cannot be modified.

    Code Samples

    C# Samples

     

    Curl Samples

     

    PHP Samples

     

    Other Code Samples

     

    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by