Files API, gRPC: FileService.GetUrl
Written by
Updated at November 26, 2024
Retrieve a URL for accessing or downloading a specific file.
gRPC request
rpc GetUrl (GetFileUrlRequest) returns (GetFileUrlResponse)
GetFileUrlRequest
{
"file_id": "string"
}
Request message for retrieving the URL of a specific file.
Field |
Description |
file_id |
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. |