public. Retrieves a summary of available archive information
None
| 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:
<archive>
<pages.archive href="{uri}" />
<files.archive href="{uri}" />
</archive>
The archive contains all pages and files that have been deleted.
The following code example retrieves archive information:
Plug p = Plug.New("http://deki-hayes/@api/deki");
p.At("users", "authenticate").WithCredentials("admin", "password").Get();
p.At("archive").Get();
Sample response:
<archive>
<pages.archive href="http://deki-hayes/@api/deki/archive/pages" />
<files.archive href="http://deki-hayes/@api/deki/archive/files" />
</archive>