Was this page helpful?

Retrieve Archive Information

    Description of the code sample

    The following code example retrieves archive information:

    Sample Code

    Plug p = Plug.New("http://deki-hayes/@api/deki");
    p.At("users", "authenticate").WithCredentials("admin", "password").Get();
    p.At("archive").Get();

    Sample Response from executing Code

    <archive>
        <pages.archive href="http://deki-hayes/@api/deki/archive/pages" /> 
        <files.archive href="http://deki-hayes/@api/deki/archive/files" /> 
    </archive>

    Implementation notes 

    Add notes about requirements or config values

    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by