Request |
---|
Response |
---|
Request |
---|
Response |
---|
Request |
---|
Response |
---|
Request |
---|
Response |
---|
Request |
---|
Response |
---|
Request |
---|
Response |
---|
Request |
---|
Response |
---|
Request |
---|
Response |
---|
Request |
---|
Response |
---|
Request |
---|
Response |
---|
Request |
---|
Response |
---|
Request |
---|
Response |
---|
Request |
---|
Response |
---|
Request |
---|
Response |
---|
Request |
---|
Response |
---|
Request |
---|
Response |
---|
Request |
---|
Response |
---|
Request |
---|
Response |
---|
POST api/Session/logon
Headers
Content-Type: application/json; api-version=1.0
Body
{
"username":"administrator",
"password":"11112222"
}
Status:OK (200)
{
"authToken": "[AUTHENTICATION_TOKEN]"
}
POST api/pubrdsapps
Headers
Content-Type: application/json; api-version=1.0
auth_token: [AUTHENTICATION_TOKEN]
Body
{
"target":"notepad.exe",
"name":"Text Editor"
}
Status:Created (201)
{
"publishFromServer": [],
"publishFromGroup": [],
"perServerAttributes": [],
"publishFrom": 0,
"enableFileExtensions": false,
"inheritDisplayDefaultSettings": true,
"replicateDisplaySettings": false,
"startMaximized": true,
"startFullscreen": true,
"waitForPrinters": false,
"waitForPrintersTimeout": 20,
"colorDepth": 5,
"inheritLicenseDefaultSettings": true,
"replicateLicenseSettings": false,
"replicateFileExtensionSettings": false,
"replicateDefaultServerSettings": false,
"disableSessionSharing": false,
"oneInstancePerUser": false,
"conCurrentLicenses": 0,
"licenseLimitNotify": 0,
"fileExtensions": [],
"winType": 0,
"parameters": "",
"startIn": "",
"target": "notepad.exe",
"startOnLogon": false,
"excludePrelaunch": false,
"inheritShortcutDefaultSettings": true,
"replicateShortcutSettings": false,
"createShortcutOnDesktop": true,
"createShortcutInStartFolder": false,
"createShortcutInStartUpFolder": false,
"startPath": "RAS Remote Desktops & Applications\\%Groups%",
"name": "Text Editor",
"type": 2,
"parentId": 0,
"previousId": 0,
"description": "",
"enabled": true,
"publishToSite": [
1
],
"userFilterEnabled": false,
"userFilterReplicate": false,
"allowedUsers": [],
"clientFilterEnabled": false,
"clientFilterReplicate": false,
"allowedClients": [],
"ipFilterEnabled": false,
"ipFilterReplicate": false,
"allowedIP4s": [],
"allowedIP6s": [],
"macFilterEnabled": false,
"macFilterReplicate": false,
"allowedMACs": [],
"gwFilterEnabled": false,
"allowedGWs": [],
"osFilterEnabled": false,
"osFilterReplicate": false,
"allowedOSes": {
"chrome": true,
"android": true,
"WebClient": true,
"iOS": true,
"linux": true,
"mac": true,
"webPortal": true,
"windows": true,
"wyse": true
},
"id": 172
}
GET api/pubrdsapps/172
Headers
Content-Type: application/json; api-version=1.0
auth_token: [AUTHENTICATION_TOKEN]
Status:OK (200)
{
"publishFromServer": [],
"publishFromGroup": [],
"perServerAttributes": [],
"publishFrom": 0,
"enableFileExtensions": false,
"inheritDisplayDefaultSettings": true,
"replicateDisplaySettings": false,
"startMaximized": true,
"startFullscreen": true,
"waitForPrinters": false,
"waitForPrintersTimeout": 20,
"colorDepth": 5,
"inheritLicenseDefaultSettings": true,
"replicateLicenseSettings": false,
"replicateFileExtensionSettings": false,
"replicateDefaultServerSettings": false,
"disableSessionSharing": false,
"oneInstancePerUser": false,
"conCurrentLicenses": 0,
"licenseLimitNotify": 0,
"fileExtensions": [],
"winType": 0,
"parameters": "",
"startIn": "",
"target": "notepad.exe",
"startOnLogon": false,
"excludePrelaunch": false,
"inheritShortcutDefaultSettings": true,
"replicateShortcutSettings": false,
"createShortcutOnDesktop": true,
"createShortcutInStartFolder": false,
"createShortcutInStartUpFolder": false,
"startPath": "RAS Remote Desktops & Applications\\%Groups%",
"name": "Text Editor",
"type": 2,
"parentId": 0,
"previousId": 172,
"description": "",
"enabled": true,
"publishToSite": [
1
],
"userFilterEnabled": false,
"userFilterReplicate": false,
"allowedUsers": [],
"clientFilterEnabled": false,
"clientFilterReplicate": false,
"allowedClients": [],
"ipFilterEnabled": false,
"ipFilterReplicate": false,
"allowedIP4s": [],
"allowedIP6s": [],
"macFilterEnabled": false,
"macFilterReplicate": false,
"allowedMACs": [],
"gwFilterEnabled": false,
"allowedGWs": [],
"osFilterEnabled": false,
"osFilterReplicate": false,
"allowedOSes": {
"chrome": true,
"android": true,
"WebClient": true,
"iOS": true,
"linux": true,
"mac": true,
"webPortal": true,
"windows": true,
"wyse": true
},
"id": 172
}
POST api/pubrdsapps/172/ClientFilters
Headers
Content-Type: application/json; api-version=1.0
auth_token: [AUTHENTICATION_TOKEN]
Body
{
"client":"parallels"
}
Status:Created (201)
[
"parallels"
]
POST api/pubrdsdesktops
Headers
Content-Type: application/json; api-version=1.0
auth_token: [AUTHENTICATION_TOKEN]
Body
{
"name":"rainbow"
}
Status:Created (201)
{
"connectToConsole": false,
"publishFromServer": [],
"publishFromGroup": [],
"publishFrom": 0,
"useAvailableArea": false,
"width": 0,
"height": 0,
"allowMultiMonitor": 2,
"startOnLogon": false,
"excludePrelaunch": false,
"inheritShortcutDefaultSettings": true,
"replicateShortcutSettings": false,
"createShortcutOnDesktop": true,
"createShortcutInStartFolder": false,
"createShortcutInStartUpFolder": false,
"startPath": "RAS Remote Desktops & Applications\\%Groups%",
"name": "rainbow",
"type": 3,
"parentId": 0,
"previousId": 172,
"description": "",
"enabled": true,
"publishToSite": [
1
],
"userFilterEnabled": false,
"userFilterReplicate": false,
"allowedUsers": [],
"clientFilterEnabled": false,
"clientFilterReplicate": false,
"allowedClients": [],
"ipFilterEnabled": false,
"ipFilterReplicate": false,
"allowedIP4s": [],
"allowedIP6s": [],
"macFilterEnabled": false,
"macFilterReplicate": false,
"allowedMACs": [],
"gwFilterEnabled": false,
"allowedGWs": [],
"osFilterEnabled": false,
"osFilterReplicate": false,
"allowedOSes": {
"chrome": true,
"android": true,
"WebClient": true,
"iOS": true,
"linux": true,
"mac": true,
"webPortal": true,
"windows": true,
"wyse": true
},
"id": 174
}
GET api/pubrdsdesktops/174
Headers
Content-Type: application/json; api-version=1.0
auth_token: [AUTHENTICATION_TOKEN]
Status:OK (200)
{
"connectToConsole": false,
"publishFromServer": [],
"publishFromGroup": [],
"publishFrom": 0,
"useAvailableArea": false,
"width": 0,
"height": 0,
"allowMultiMonitor": 2,
"startOnLogon": false,
"excludePrelaunch": false,
"inheritShortcutDefaultSettings": true,
"replicateShortcutSettings": false,
"createShortcutOnDesktop": true,
"createShortcutInStartFolder": false,
"createShortcutInStartUpFolder": false,
"startPath": "RAS Remote Desktops & Applications\\%Groups%",
"name": "rainbow",
"type": 3,
"parentId": 0,
"previousId": 172,
"description": "",
"enabled": true,
"publishToSite": [
1
],
"userFilterEnabled": false,
"userFilterReplicate": false,
"allowedUsers": [],
"clientFilterEnabled": false,
"clientFilterReplicate": false,
"allowedClients": [],
"ipFilterEnabled": false,
"ipFilterReplicate": false,
"allowedIP4s": [],
"allowedIP6s": [],
"macFilterEnabled": false,
"macFilterReplicate": false,
"allowedMACs": [],
"gwFilterEnabled": false,
"allowedGWs": [],
"osFilterEnabled": false,
"osFilterReplicate": false,
"allowedOSes": {
"chrome": true,
"android": true,
"WebClient": true,
"iOS": true,
"linux": true,
"mac": true,
"webPortal": true,
"windows": true,
"wyse": true
},
"id": 174
}
POST api/pubrdsdesktops/174/IPFilters
Headers
Content-Type: application/json; api-version=1.0
auth_token: [AUTHENTICATION_TOKEN]
Body
{
"ip":"1.2.3.4"
}
Status:Created (201)
{
"allowedIP4s": [
{
"from": "1.2.3.4",
"to": "1.2.3.4"
}
],
"allowedIP6s": []
}
POST api/pubfolders
Headers
Content-Type: application/json; api-version=1.0
auth_token: [AUTHENTICATION_TOKEN]
Body
{
"name":"monitor"
}
Status:Created (201)
{
"adminOnly": false,
"name": "monitor",
"type": 1,
"parentId": 0,
"previousId": 172,
"description": "",
"enabled": true,
"publishToSite": [
1
],
"userFilterEnabled": false,
"userFilterReplicate": false,
"allowedUsers": [],
"clientFilterEnabled": false,
"clientFilterReplicate": false,
"allowedClients": [],
"ipFilterEnabled": false,
"ipFilterReplicate": false,
"allowedIP4s": [],
"allowedIP6s": [],
"macFilterEnabled": false,
"macFilterReplicate": false,
"allowedMACs": [],
"gwFilterEnabled": false,
"allowedGWs": [],
"osFilterEnabled": false,
"osFilterReplicate": false,
"allowedOSes": {
"chrome": true,
"android": true,
"WebClient": true,
"iOS": true,
"linux": true,
"mac": true,
"webPortal": true,
"windows": true,
"wyse": true
},
"id": 175
}
GET api/pubfolders/175
Headers
Content-Type: application/json; api-version=1.0
auth_token: [AUTHENTICATION_TOKEN]
Status:OK (200)
{
"adminOnly": false,
"name": "monitor",
"type": 1,
"parentId": 0,
"previousId": 172,
"description": "",
"enabled": true,
"publishToSite": [
1
],
"userFilterEnabled": false,
"userFilterReplicate": false,
"allowedUsers": [],
"clientFilterEnabled": false,
"clientFilterReplicate": false,
"allowedClients": [],
"ipFilterEnabled": false,
"ipFilterReplicate": false,
"allowedIP4s": [],
"allowedIP6s": [],
"macFilterEnabled": false,
"macFilterReplicate": false,
"allowedMACs": [],
"gwFilterEnabled": false,
"allowedGWs": [],
"osFilterEnabled": false,
"osFilterReplicate": false,
"allowedOSes": {
"chrome": true,
"android": true,
"WebClient": true,
"iOS": true,
"linux": true,
"mac": true,
"webPortal": true,
"windows": true,
"wyse": true
},
"id": 175
}
POST api/pubfolders/175/MACFilters
Headers
Content-Type: application/json; api-version=1.0
auth_token: [AUTHENTICATION_TOKEN]
Body
{
"mac":"MAC_filter"
}
Status:Created (201)
[
"MAC_filter"
]
GET api/PubItems
Headers
Content-Type: application/json; api-version=1.0
auth_token: [AUTHENTICATION_TOKEN]
Status:OK (200)
[
{
"publishFromServer": [],
"publishFromGroup": [],
"perServerAttributes": [],
"publishFrom": 0,
"enableFileExtensions": false,
"inheritDisplayDefaultSettings": true,
"replicateDisplaySettings": false,
"startMaximized": true,
"startFullscreen": true,
"waitForPrinters": false,
"waitForPrintersTimeout": 20,
"colorDepth": 5,
"inheritLicenseDefaultSettings": true,
"replicateLicenseSettings": false,
"replicateFileExtensionSettings": false,
"replicateDefaultServerSettings": false,
"disableSessionSharing": false,
"oneInstancePerUser": false,
"conCurrentLicenses": 0,
"licenseLimitNotify": 0,
"fileExtensions": [],
"winType": 0,
"parameters": "",
"startIn": "",
"target": "notepad.exe",
"startOnLogon": false,
"excludePrelaunch": false,
"inheritShortcutDefaultSettings": true,
"replicateShortcutSettings": false,
"createShortcutOnDesktop": true,
"createShortcutInStartFolder": false,
"createShortcutInStartUpFolder": false,
"startPath": "RAS Remote Desktops & Applications\\%Groups%",
"name": "Text Editor",
"type": 2,
"parentId": 0,
"previousId": 172,
"description": "",
"enabled": true,
"publishToSite": [
1
],
"userFilterEnabled": false,
"userFilterReplicate": false,
"allowedUsers": [],
"clientFilterEnabled": false,
"clientFilterReplicate": false,
"allowedClients": [
{
"parallels"
}
],
"ipFilterEnabled": false,
"ipFilterReplicate": false,
"allowedIP4s": [],
"allowedIP6s": [],
"macFilterEnabled": false,
"macFilterReplicate": false,
"allowedMACs": [],
"gwFilterEnabled": false,
"allowedGWs": [],
"osFilterEnabled": false,
"osFilterReplicate": false,
"allowedOSes": {
"chrome": true,
"android": true,
"WebClient": true,
"iOS": true,
"linux": true,
"mac": true,
"webPortal": true,
"windows": true,
"wyse": true
},
"id": 172
},
{
"connectToConsole": false,
"publishFromServer": [],
"publishFromGroup": [],
"publishFrom": 0,
"useAvailableArea": false,
"width": 0,
"height": 0,
"allowMultiMonitor": 2,
"startOnLogon": false,
"excludePrelaunch": false,
"inheritShortcutDefaultSettings": true,
"replicateShortcutSettings": false,
"createShortcutOnDesktop": true,
"createShortcutInStartFolder": false,
"createShortcutInStartUpFolder": false,
"startPath": "RAS Remote Desktops & Applications\\%Groups%",
"name": "rainbow",
"type": 3,
"parentId": 0,
"previousId": 172,
"description": "",
"enabled": true,
"publishToSite": [
1
],
"userFilterEnabled": false,
"userFilterReplicate": false,
"allowedUsers": [],
"clientFilterEnabled": false,
"clientFilterReplicate": false,
"allowedClients": [],
"ipFilterEnabled": false,
"ipFilterReplicate": false,
"allowedIP4s": [
{
"from": "1.2.3.4",
"to": "1.2.3.4"
}
],
"allowedIP6s": [],
"macFilterEnabled": false,
"macFilterReplicate": false,
"allowedMACs": [],
"gwFilterEnabled": false,
"allowedGWs": [],
"osFilterEnabled": false,
"osFilterReplicate": false,
"allowedOSes": {
"chrome": true,
"android": true,
"WebClient": true,
"iOS": true,
"linux": true,
"mac": true,
"webPortal": true,
"windows": true,
"wyse": true
},
"id": 174
},
{
"adminOnly": false,
"name": "monitor",
"type": 1,
"parentId": 0,
"previousId": 172,
"description": "",
"enabled": true,
"publishToSite": [
1
],
"userFilterEnabled": false,
"userFilterReplicate": false,
"allowedUsers": [],
"clientFilterEnabled": false,
"clientFilterReplicate": false,
"allowedClients": [],
"ipFilterEnabled": false,
"ipFilterReplicate": false,
"allowedIP4s": [],
"allowedIP6s": [],
"macFilterEnabled": false,
"macFilterReplicate": false,
"allowedMACs": [
{
"mac":"MAC_filter"
}
],
"gwFilterEnabled": false,
"allowedGWs": [],
"osFilterEnabled": false,
"osFilterReplicate": false,
"allowedOSes": {
"chrome": true,
"android": true,
"WebClient": true,
"iOS": true,
"linux": true,
"mac": true,
"webPortal": true,
"windows": true,
"wyse": true
},
"id": 175
}
]
DELETE api/pubrdsapps/172/ClientFilters/parallels
Headers
Content-Type: application/json; api-version=1.0
auth_token: [AUTHENTICATION_TOKEN]
Status:No Content (204)
DELETE api/pubrdsapps/172
Headers
Content-Type: application/json; api-version=1.0
auth_token: [AUTHENTICATION_TOKEN]
Status:No Content (204)
DELETE api/pubrdsdesktops/174/IPFilters/1.2.3.4
Headers
Content-Type: application/json; api-version=1.0
auth_token: [AUTHENTICATION_TOKEN]
Status:No Content (204)
DELETE api/pubrdsdesktops/174
Headers
Content-Type: application/json; api-version=1.0
auth_token: [AUTHENTICATION_TOKEN]
Status:No Content (204)
DELETE api/pubfolders/175/MACFilters/MAC_filter
Headers
Content-Type: application/json; api-version=1.0
auth_token: [AUTHENTICATION_TOKEN]
Status:No Content (204)
DELETE api/pubfolders/175
Headers
Content-Type: application/json; api-version=1.0
auth_token: [AUTHENTICATION_TOKEN]
Status:NoContent (204)
POST api/Session/logoff
Headers
Content-Type: application/json; api-version=1.0
auth_token: [AUTHENTICATION_TOKEN]
Status:OK (200)