Files API, REST: File.GetUrl
Статья создана
Обновлена 26 ноября 2024 г.
Retrieve a URL for accessing or downloading a specific file.
HTTP request
GET https://rest-assistant.api.cloud.yandex.net/files/v1/files:getUrl
Query parameters
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. |
Response
HTTP Code: 200 - OK
{
"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. |