Export Team Overview
cURL
Use the following cURL
command to create a project. You can copy and paste the following template and replace the access_token, teamId, and method.
variables
input
teamId
method: define how the export result will be delivered. The most used methods are:
EMAIL
FILE_STORAGE
Response
EMAIL
EMAIL
If the method
is set as email, the export result will be sent to access_token
owner's email. Below is a sample response:
FILE_STORAGE
FILE_STORAGE
If the method
is set as FILE_STORAGE
, the export result will be uploaded to Datasaur's temporary Amazon S3 bucket and the file URL is returned. Below is a sample response:
The client can download the file from the URL defined in fileUrl
.
Note: fileUrl
is returned optimistically, i.e the export result might have not been completely uploaded to the Amazon S3 bucket yet, so there might be a case where the file is not ready to be downloaded yet. To mitigate this issue, the client should poll the result using range request and only start downloading the result once the range request HTTP response code is 206.
Last updated