Files

Returns the content of the specified task file.

get/pools/{poolId}/nodes/{nodeId}/files/{fileName}

Path parameters

poolIdstring required

The id of the pool that contains the compute node.

nodeIdstring required

The id of the compute node that contains the file.

fileNamestring required

The path to the task file that you want to get the content of.

Query parameters

timeoutinteger

The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

api-versionstring required

Client API Version.

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 identifier in the response.

ocp-datestring date-time-rfc1123

The time the request was issued. If not specified, this header will be automatically populated with the current system clock time.

ocp-rangestring

The byte range to be retrieved. The default is to retrieve the entire file. The format is startRange-endRange.

If-Modified-Sincestring date-time-rfc1123

Specify this header to perform the operation only if the resource has been modified since the specified date/time.

If-Unmodified-Sincestring date-time-rfc1123

Specify this header to perform the operation only if the resource has not been modified since the specified date/time.

Response

OK

string binary required

Changes