DataSphere Jobs API v2, gRPC: ProjectJobService.DownloadJobFiles
Written by
Updated at October 17, 2024
Returns download urls for job files.
gRPC request
rpc DownloadJobFiles (DownloadProjectJobFilesRequest) returns (DownloadProjectJobFilesResponse)
DownloadProjectJobFilesRequest
{
"jobId": "string",
"files": [
{
"desc": {
"path": "string",
"var": "string"
},
"sha256": "string",
"sizeBytes": "int64",
"compressionType": "FileCompressionType"
}
]
}
Field |
Description |
jobId |
string Required field. |
files[] |
File
Field |
Description |
desc |
|
sha256 |
string SHA256 of the file. |
sizeBytes |
int64 File size in bytes. |
compressionType |
enum FileCompressionType File compression info
|
FileDesc
Field |
Description |
path |
string Path of the file on filesystem. |
var |
string Variable to use in cmd substitution. |
DownloadProjectJobFilesResponse
{
"downloadFiles": [
{
"file": {
"desc": {
"path": "string",
"var": "string"
},
"sha256": "string",
"sizeBytes": "int64",
"compressionType": "FileCompressionType"
},
"url": "string"
}
]
}
Field |
Description |
downloadFiles[] |
StorageFile
Field |
Description |
file |
|
url |
string File URL. |
File
Field |
Description |
desc |
|
sha256 |
string SHA256 of the file. |
sizeBytes |
int64 File size in bytes. |
compressionType |
enum FileCompressionType File compression info
|
FileDesc
Field |
Description |
path |
string Path of the file on filesystem. |
var |
string Variable to use in cmd substitution. |