Class FileContentsParams

  • All Implemented Interfaces:
    com.increase.api.core.Params

    
    public final class FileContentsParams
     implements Params
                        

    Download the contents of a File. Responds with a 307 redirect whose Location header points at a short-lived, pre-signed URL. Our /documentation/software-development-kits follow the redirect and return the File's contents; if you call the API directly, follow the redirect to download it. The pre-signed URL serves the File with a Content-Type matching its mime and a Content-Disposition header set to its filename. It expires in 10 minutes. To share a File with someone who doesn't have access to your API key, create a File Link.