v22

latestSwagger 2.02026-07-1372236814.0 KB
Tasks

Lists the files in a Task's directory on its Compute Node.

Lists the files in a Task's directory on its Compute Node.

get/jobs/{jobId}/tasks/{taskId}/files

Path parameters

jobIdstring required

The ID of the Job that contains the Task.

taskIdstring required

The ID of the Task whose files you want to list.

Query parameters

api-versionstring required

The API version to use for this operation.

timeOutinteger

The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.".

maxresultsinteger

The maximum number of items to return in the response. A maximum of 1000 applications can be returned.

$filterstring

An OData $filter clause. For more information on constructing this filter, see https://learn.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-task-files.

recursiveboolean

Whether to list children of the Task directory. This parameter can be used in combination with the filter parameter to list specific type of files.

Headers

client-request-idstring

The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.

return-client-request-idboolean

Whether the server should return the client-request-id in the response.

ocp-datestring date-time-rfc7231

The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly.

Response

The request has succeeded.

odata.nextLinkstring uri

The URL to get the next set of results.