Cloud Desktop API, REST: Desktop.GetRdpFile
Written by
Updated at October 29, 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": "string",
"content": "string"
}
Field |
Description |
headers |
string HTTP headers mapping. |
content |
string RDP file content. |