public. Retrieve the child pages that were deleted as well from deleting the given page
| Name | Type | Description |
| pageid | string | An integer page ID of a deleted page |
| Name | Type | Description |
| authenticate | bool? | Force authentication for request (default: false) |
| Name | Value | Description |
| Forbidden | 403 | Administrator access is required |
| Ok | 200 | The request completed successfully |
Output:
<pages.archive>
<page.archive id="{id}" href="{uri}">
<title>{text}</title>
<path>{text}</path>
<contents type="{contenttype}" href="{uri}" />
</page.archive>
...
</pages.archive>
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.
The following code example retrieves the subpages for the archived page ID 10168:
Plug p = Plug.New("http://deki-hayes/@api/deki");
p.At("users", "authenticate").WithCredentials("admin", "password").Get();
p.At("archive", "pages", "10168", "subpages").Get();
Sample response indicating that there is one subpage:
<pages.archive>
<page.archive id="10169" href="http://deki-hayes/@api/deki/archive/pages/10169/info">
<title>MySubPage</title>
<path>MyPage/MySubPage</path>
<contents type="application/x.deki0702+xml" href="http://deki-hayes/@api/deki/archive/pages/10169/contents" />
</page.archive>
</pages.archive>