Get Task File List
get
/rest/v16/tasks/{taskId}/files
This endpoint returns a list of files associated with the specified task (e.g. log files and export zip files).
Request
Path Parameters
-
taskId(required): string
The Task ID
Response
Default Response
List of files associated with this task
Root Schema : File list
Type:
array
Title:
File list
List of files associated with this task
Show Source
Nested Schema : file
Type:
Show Source
object
-
name:
string
Title:
File name
-
type:
string
Title:
File type
File can be of type plain text, csv etc
Examples
The following example shows how to get a list of files associated with a status log task (e.g. log files and export zip files) by submitting a GET request to the REST resource using cURL. 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
Response Body Sample
{ "items": [{ "links": [{ "rel": "related", "href": "https://sitename.oracle.com/rest/v16/tasks/41365939/files/datatable_1571428547692" } ], "name": "datatable_1571428547692", "type": "application/zip" } ], "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v16/tasks/41365939/files" } ] }