GET Offerings({id})/CompatibleFileTypes
Get the file types compatible with an offering.
A file type is compatible with an offering if:
- The offering is an application, not a desktop.
- The file type is available on the machines in the offering's session machine catalog.
- The file type's "Open" or "Edit" action defines an association with the offering's command line executable.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id | ID of the offering to find compatible file types for. |
Type: |
name |
Type: String |
|
filterBy | See Filtering, Arranging, and Paging. The supported filters are:
|
Type: Filter |
filterProp |
Type: String |
|
arrangeBy | See Filtering, Arranging, and Paging. The supported arrangers are:
|
Type: String |
skip |
Type: Number |
|
take |
Type: Number |
Response Information
A list of file types.
Response type
CollectionResultModel<FileTypeModel>
Response body formats
application/json, text/json
Sample:
{ "Href": "[api:Offerings(2f08f456-7ec8-4edc-866d-25037776ef4f)/CompatibleFileTypes]", "Count": 1, "TotalMatchingFilter": 1, "Items": [ { "ExtensionName": ".txt", "ContentType": "application/text", "Name": "App.1", "Description": "Text file", "HandlerOpen": "C:\\Program Files\\myapp\\app.exe -file %1", "HandlerOpenExecutableName": "app.exe", "HandlerOpenArguments": "-file %1", "HandlerEdit": "C:\\Program Files\\myapp\\app.exe -file %1", "HandlerEditExecutableName": "app.exe", "HandlerEditArguments": "-file %1" } ] }