Was this page helpful?

GET:archive/pages/{pageid}/subpages

    Overview

    public. Retrieve the child pages that were deleted as well from deleting the given page

    Uri Parameters
    NameTypeDescription
    pageidstringAn integer page ID of a deleted page
    Query Parameters
    NameTypeDescription
    authenticatebool?Force authentication for request (default: false)
    Return Codes
    NameValueDescription
    Forbidden403Administrator access is required
    Ok200The request completed successfully

    Message Format

    Output:

    <pages.archive>
      <page.archive id="{id}" href="{uri}">
        <title>{text}</title> 
        <path>{text}</path> 
        <contents type="{contenttype}" 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.

    Use GET:archive/pages to retrieve a list of pages currently in the archive.

    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