DataSphere Jobs API v2, gRPC: ProjectJobService.DownloadJobFiles
Статья создана
Обновлена 26 ноября 2024 г.
Returns download urls for job files.
gRPC request
rpc DownloadJobFiles (DownloadProjectJobFilesRequest) returns (DownloadProjectJobFilesResponse)
DownloadProjectJobFilesRequest
{
"job_id": "string",
"files": [
{
"desc": {
"path": "string",
"var": "string"
},
"sha256": "string",
"size_bytes": "int64",
"compression_type": "FileCompressionType"
}
]
}
|
Field |
Description |
|
job_id |
string Required field. |
|
files[] |
File
|
Field |
Description |
|
desc |
|
|
sha256 |
string SHA256 of the file. |
|
size_bytes |
int64 File size in bytes. |
|
compression_type |
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
{
"download_files": [
{
"file": {
"desc": {
"path": "string",
"var": "string"
},
"sha256": "string",
"size_bytes": "int64",
"compression_type": "FileCompressionType"
},
"url": "string"
}
]
}
|
Field |
Description |
|
download_files[] |
StorageFile
|
Field |
Description |
|
file |
|
|
url |
string File URL. |
File
|
Field |
Description |
|
desc |
|
|
sha256 |
string SHA256 of the file. |
|
size_bytes |
int64 File size in bytes. |
|
compression_type |
enum FileCompressionType File compression info
|
FileDesc
|
Field |
Description |
|
path |
string Path of the file on filesystem. |
|
var |
string Variable to use in cmd substitution. |