Was this page helpful?

GET:archive/files/{fileid}

    Overview

    public. Retrieves file content for a deleted file

    Uri Parameters
    NameTypeDescription
    fileidintidentifies a file by ID
    Query Parameters
    NameTypeDescription
    authenticatebool?Force authentication for request (default: false)
    Return Codes
    NameValueDescription
    BadRequest400Invalid input parameter or request body
    Forbidden403Administrator access is required
    NotFound404Requested file could not be found in the archive
    Ok200The request completed successfully

    Message Format

    None

    Implementation Notes

    When a file is deleted, it is moved into the archive. It will remain in the archive until it is either permanently deleted (DELETE:archive/files/{fileid}) or restored (POST:archive/files/restore/{fileid}).  While a file is in the archive, it cannot be modified.

    The Content-Disposition, Content-Length, and Content-Type headers provide information about the retrieved file.

    Code Samples

    C# Samples

     

    Curl Samples

     

    PHP Samples

     

    Other Code Samples

     

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

    Copyright © 2011 MindTouch, Inc. Powered by