Redirected from MindTouch Deki/API Reference/GET:archive/pages/{pageid}
Was this page helpful?

GET:archive/pages/{pageid}

    Overview

    public. Retrieve basic page information for the deleted 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:

    <page.archive id="{id}" href="{uri}">
      <title>{text}</title> 
      <path>{text}</path> 
      <contents type="{contenttype}" href="{uri}" /> 
      <user.deleted id="{id}" href="{id}">
        <nick>{text}</nick> 
        <username>{text}</username> 
        <email hidden="{bool}">{text}</email> 
      </user.deleted>
      <date.deleted>{date}</date.deleted> 
    </page.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