Get a daily extract file



This operation retrieves a daily extract file for the specified date.

The daily extract file is a binary file with archived table content. The file may be large (greater than 1 GB) and therefore it is possible to identify the offset in the range header and resume an incomplete download. For example, 'Range: bytes=1000-' means that the download should start from offset, 1000 bytes and continue up to the end of the file.

Note:The daily extract files are deleted after 90 days.


Path Parameters
Back to Top


Supported Media Types

200 Response

This section describes the 200 status response for this operation.
Body ()
Root Schema : File
Type: string(binary)
Title: File
The contents of the file. This is usually binary data.

Default Response

This section describes the default error response for this operation.
Body ()
Root Schema : Error
Type: object
Error response
Show Source
Back to Top


The following example shows how to download daily extract file by submitting a GET request on the REST resource using cURL. To download binary data, the client must specify the value of the "Accept" header as "application/octet-stream".

     -H 'Accept: application/octet-stream' \

Example of Request Header

The following shows an example of the resquest header.

GET /rest/ofscCore/v1/folders/dailyExtract/folders/2015-07-02/files/activity-data.tar.gz HTTP/1.1
Accept: application/octet-stream
Accept-Encoding: gzip,deflate
Authorization: Basic c29hcEB0ZXN0YXBpY29yZS5pbjQwMDox
Host: <instance_name>
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

Example of Response Header

The following shows an example of the response header.

HTTP/1.1 200 OK
Server: nginx/1.6.2
Date: Wed, 15 Jul 2015 12:31:55 GMT
Content-Type: application/octet-stream
Content-Length: 3943529
Connection: keep-alive
content-description: File Transfer
content-disposition: attachment; filename="activity-data.tar.gz"

Example of Response Body

The following example shows the contents of the response body in JSON format.

<File content in binary format>
Back to Top