Retrieves a summary of available archive information
Name | Type | Description |
authenticate | bool? | Force authentication for request (default: false) |
Name | Value | Description |
OK | 200 | The request completed successfully |
Forbidden | 403 | Administrator access is required |
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();
<archive> <pages.archive href="http://deki-hayes/@api/deki/archive/pages" /> <files.archive href="http://deki-hayes/@api/deki/archive/files" /> </archive>
Add notes about requirements or config values
The following command retrieves a summary of available archives:
curl -u admin:password -i http://mindtouch.address/@api/deki/archive
<archive> <pages.archive href="http://192.168.59.128/@api/deki/archive/pages"/> <files.archive href="http://192.168.59.128/@api/deki/archive/files"/> </archive>