GET:archive

Overview

public. Retrieves a summary of available archive information

Uri Parameters

None

Query Parameters

None

Return Codes
NameValueDescription
Forbidden403Administrator access is required
Ok200The request completed successfully

Message Format

Output:

<archive>
    <pages.archive href="{uri}" /> 
    <files.archive href="{uri}" /> 
</archive>

Implementation Notes

The archive contains all pages and files that have been deleted.

Code Samples

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>
Tag page
You must login to post a comment.
Powered by MindTouch Deki Enterprise Edition v.8.08 RC2