Get Task File List
get
/rest/v19/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:
arrayTitle:
File listList of files associated with this task
Show Source
Nested Schema : file
Type:
Show Source
object-
name:
string
Title:
File name -
type:
string
Title:
File typeFile 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 -H "Authorization: Bearer <token>" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/tasks/41365939/files
Response Body Sample
{
"items": [{
"links": [{
"rel": "related",
"href": "https://sitename.oracle.com/rest/v19/tasks/41365939/files/datatable_1571428547692"
}
],
"name": "datatable_1571428547692",
"type": "application/zip"
}
],
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/tasks/41365939/files"
}
]
}