Cloud Desktop API, REST: Desktop.GetRdpFile
Статья создана
Обновлена 17 декабря 2024 г.
Returns a RDP file for the specified desktop.
HTTP request
GET https://cloud-desktop.api.cloud.yandex.net/cloud-desktop/v1/desktops/{desktopId}:getRdpFile
Path parameters
Field |
Description |
desktopId |
string Required field. ID of the desktop resource to return. To get the desktop ID use a DesktopService.List request. |
Query parameters
Field |
Description |
user |
User of the desktop. |
User
Field |
Description |
subjectId |
string Required field. Identity of the access binding. |
subjectType |
string Required field. Type of the access binding, e.g. userAccount, serviceAccount, system. |
Response
HTTP Code: 200 - OK
{
"headers": "object",
"content": "string"
}
Field |
Description |
headers |
object (map<string, string>) HTTP headers mapping. |
content |
string RDP file content. |