public. Retrieve the pages that can be potentially restored from deletion.
None
| Name | Type | Description |
| authenticate | bool? | Force authentication for request (default: false) |
| count | string? | Number of titles to retrieve. 'ALL' for no limit. (default: 100) |
| offset | int? | Number of titles to skip. Default: 0 |
| title | string? | Show deleted pages matching the given title. (default: all pages) |
| Name | Value | Description |
| Forbidden | 403 | Administrator access is required |
| Ok | 200 | The request completed successfully |
Output:
<pages.archive>
<page.archive>
<title>{text}</title>
<path>{text}</path>
<revisions.archive count="{int}" 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.
The following code example retrieves a list of pages in the archive:
Plug p = Plug.New("http://deki-hayes/@api/deki");
p.At("users", "authenticate").WithCredentials("admin", "password").Get();
p.At("archive", "pages").Get();
Sample response indicating that there is one deleted page in the archive:
<pages.archive>
<page.archive>
<title>Page Title</title>
<path>Page_Title</path>
<revisions.archive count="2" href="http://deki-hayes/@api/deki/archive/pages/=Page_Title/revisions" />
</page.archive>
</pages.archive>