Download a Task File

get

/rest/v16/tasks/{taskId}/files/{fileName}

This endpoint downloads the specified task file (e.g. log files and export zip files).

Request

Path Parameters
Back to Top

Response

Supported Media Types

Default Response

File content
Back to Top

Examples

The following example shows how to download the specified Data Table task file (e.g. log files and export zip files) by submitting a GET request to the REST resource using cURL. File names are acquired from the Get List of Files for a Data Task REST API response. For more information about cURL, see Use cURL.

curl -X GET -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Accept: application/json"
https://sitename.oracle.com/rest/v16/tasks/41365939/files/datatable_1571428547692
Back to Top