File Extensions

Create

post

Add a file extension for the specified published RD Session Host application.

Path parameters
idinteger · int32Required

ID of the published RD Session Host application to be updated

Body

Update a file extension of the published resource

extensionstring | nullableRequired

The file extension that will be added/modified.

Responses
201
Created
post
POST /api/PubItems/{id}/Apps/FileExtensions HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 20

{
  "extension": "text"
}

No content

Update

put

Modify properties of a file extension for the specified published RD Session Host application.

Path parameters
idinteger · int32Required

ID of the published RD Session Host application to be updated

extensionstringRequired

Name of the file extension that will be updated

Body

Update a file extension of the published application

extensionstring | nullableRequired

The file extension that will be added/modified.

enabledboolean | nullableOptional

Whether the file extension should be enabled or disabled for the specified published app.

parametersstring | nullableOptional

File extension parameters for the specified published app.

Responses
204
No Content
put
PUT /api/PubItems/{id}/Apps/FileExtensions/{extension} HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 55

{
  "extension": "text",
  "enabled": true,
  "parameters": "text"
}

No content

Delete

delete

Remove a file extension from the specified published RD Session Host application.

Path parameters
idinteger · int32Required

ID of the published RD Session Host application to be updated

extensionstringRequired

The file extension that will be deleted

Responses
204
No Content
delete
DELETE /api/PubItems/{id}/Apps/FileExtensions/{extension} HTTP/1.1
Host: 
Accept: */*

No content

Was this helpful?