Was this page helpful?

Retrieve Archive Information

    Description of the code sample

    The following command retrieves a summary of available archives:

    Sample Code

    curl -u admin:password -i http://mindtouch.address/@api/deki/archive

    Sample Response from executing Code

    <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>

    Implementation notes 

    curl flags

    -u
    Provides external user authentication.
    -i
    Outputs the HTTP response headers. Useful for debugging.

    Permissions

    ADMIN permission is required to execute above command.
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by