Files API, gRPC: FileService.GetUrl
Статья создана
Обновлена 28 октября 2024 г.
Retrieve a URL for accessing or downloading a specific file.
gRPC request
rpc GetUrl (GetFileUrlRequest) returns (GetFileUrlResponse)
GetFileUrlRequest
{
"fileId": "string"
}
Request message for retrieving the URL of a specific file.
Field |
Description |
fileId |
string Required field. ID of the file which the URL is requested. |
GetFileUrlResponse
{
"url": "string"
}
Response message containing the URL to access the requested file.
Field |
Description |
url |
string URL that can be used to access or download the file. |