{"info":{"_postman_id":"fbffa5c9-f3b6-4eeb-97ca-a03be556f53e","name":"Fusion 7 Web API","description":"<html><head></head><body><p>FireDaemon Fusion's RESTful API provides a way for users and developers to communicate between FireDaemon Fusion and any 'client' program. It enables users to manage their FireDaemon and Windows services programmatically from anywhere, from a browser to a mobile device, or from any custom program or script.</p>\n<p>When the FireDaemon Fusion API is accessed from a browser, CORS must be enabled in Fusion's settings, and the browser needs to support the \"SameSite=None\" cookie modifier.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"582683","collectionId":"fbffa5c9-f3b6-4eeb-97ca-a03be556f53e","publishedId":"2s946eBECf","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-07-14T08:05:06.000Z"},"item":[{"name":"Login","event":[{"listen":"test","script":{"id":"3c3446e0-fd5b-4c3b-93da-035e4ff4f2f1","type":"text/javascript","exec":["pm.test(\"Status code is success\", function () {","    pm.response.to.be.success;","});","","pm.test(\"Content-Type is present\", function () {","    pm.response.to.have.header(\"Content-Type\");","});","","pm.test(\"Your test name\", function () {","    pm.response.to.have.jsonBody('landing');","});",""]}}],"id":"51f855cc-b7fa-4227-8aa9-e5752e526d68","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"userName\": \"admin\",\n\t\"password\": \"admin\"\n}\n"},"url":"https://localhost:20604/auth/login","description":"<p>Login to Fusion.</p>\n<p>Returns several cookies for various service points.</p>\n<p>Returns <code>json</code> with some information about the user, FireDaemon Pro and a possible landing page (which is especially useful after logging in to remote nodes).</p>\n<p>If you want to redirect to a specific landing page navigation-wise, <code>{ landing: \"\" }</code> in the returned JSON data tells where to go next.</p>\n","urlObject":{"protocol":"https","port":"20604","path":["auth","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"8c6a8f6e-04ee-40f5-b40f-13dbb9b59c0a","name":"Successful Login","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"userName\": \"admin\",\r\n    \"password\": \"admin\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://localhost:20604/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"444","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Set-Cookie","value":"fusion=\"ADe2FJIMUcxW/K79AANNSVC9F14=\"; Path=/api","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Set-Cookie","value":"fusion=\"ADe2FJIMUcxW/K79AANNSVC9F14=\"; Path=/auth","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Set-Cookie","value":"fusion=\"ADe2FJIMUcxW/K79AANNSVC9F14=\"; Path=/mgmt","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Set-Cookie","value":"fusion=\"ADe2FJIMUcxW/K79AANNSVC9F14=\"; Path=/admin","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Set-Cookie","value":"fusion=\"ADe2FJIMUcxW/K79AANNSVC9F14=\"; Path=/stats","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Set-Cookie","value":"fusion=\"ADe2FJIMUcxW/K79AANNSVC9F14=\"; Path=/fd","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Set-Cookie","value":"fusion=\"ADe2FJIMUcxW/K79AANNSVC9F14=\"; Path=/inbuilt","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"X-Powered-By","value":"Coconuts and Rum :)/6.0.22-rtm","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":false,"domain":"localhost","path":"/inbuilt","secure":false,"value":"\"ADe2FJIMUcxW/K79AANNSVC9F14=\"","key":"fusion"},{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":false,"domain":"localhost","path":"/admin","secure":false,"value":"\"ADe2FJIMUcxW/K79AANNSVC9F14=\"","key":"fusion"},{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":false,"domain":"localhost","path":"/stats","secure":false,"value":"\"ADe2FJIMUcxW/K79AANNSVC9F14=\"","key":"fusion"},{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":false,"domain":"localhost","path":"/auth","secure":false,"value":"\"ADe2FJIMUcxW/K79AANNSVC9F14=\"","key":"fusion"},{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":false,"domain":"localhost","path":"/mgmt","secure":false,"value":"\"ADe2FJIMUcxW/K79AANNSVC9F14=\"","key":"fusion"},{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":false,"domain":"localhost","path":"/api","secure":false,"value":"\"ADe2FJIMUcxW/K79AANNSVC9F14=\"","key":"fusion"},{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":false,"domain":"localhost","path":"/fd","secure":false,"value":"\"ADe2FJIMUcxW/K79AANNSVC9F14=\"","key":"fusion"}],"responseTime":null,"body":"{\"user\":{\"username\":\"admin\",\"rights\":{\"canAccessFDProServices\":true,\"canRestart\":true,\"admin\":true,\"canShutdown\":true,\"canAccessQuickStats\":true,\"canAccessSettings\":true,\"canAccessSystemServices\":true,\"canAccessUserMgmt\":true,\"canBrowseFolders\":true}},\"fdpro\":{\"isAvailable\":true,\"configuration\":{\"productName\":\"FireDaemon Pro\",\"productShortName\":\"FireDaemon\"},\"globalSettings\":{\"displayNamePrefix\":\"FireDaemon Service:\"}},\"landing\":\"/fd/list\"}"},{"id":"74967195-dffc-47c8-9d96-b2cf9bc76667","name":"Successful Login, using specific redirect URL","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"userName\": \"admin\",\r\n    \"password\": \"admin\",\r\n    \"redirectPath\": \"/stats/quickstats\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://localhost:20604/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"Keep-Alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"453","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Set-Cookie","value":"fusion=\"Dl81+D6m3Wca6ivoZadeKx3xv0Q=\"; Path=/api","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Set-Cookie","value":"fusion=\"Dl81+D6m3Wca6ivoZadeKx3xv0Q=\"; Path=/auth","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Set-Cookie","value":"fusion=\"Dl81+D6m3Wca6ivoZadeKx3xv0Q=\"; Path=/mgmt","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Set-Cookie","value":"fusion=\"Dl81+D6m3Wca6ivoZadeKx3xv0Q=\"; Path=/admin","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Set-Cookie","value":"fusion=\"Dl81+D6m3Wca6ivoZadeKx3xv0Q=\"; Path=/stats","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Set-Cookie","value":"fusion=\"Dl81+D6m3Wca6ivoZadeKx3xv0Q=\"; Path=/fd","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"Set-Cookie","value":"fusion=\"Dl81+D6m3Wca6ivoZadeKx3xv0Q=\"; Path=/inbuilt","name":"Set-Cookie","description":"an HTTP cookie"},{"key":"X-Powered-By","value":"Coconuts and Rum :)/6.0.22-rtm","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"}],"cookie":[{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":false,"domain":"localhost","path":"/inbuilt","secure":false,"value":"\"Dl81+D6m3Wca6ivoZadeKx3xv0Q=\"","key":"fusion"},{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":false,"domain":"localhost","path":"/admin","secure":false,"value":"\"Dl81+D6m3Wca6ivoZadeKx3xv0Q=\"","key":"fusion"},{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":false,"domain":"localhost","path":"/stats","secure":false,"value":"\"Dl81+D6m3Wca6ivoZadeKx3xv0Q=\"","key":"fusion"},{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":false,"domain":"localhost","path":"/auth","secure":false,"value":"\"Dl81+D6m3Wca6ivoZadeKx3xv0Q=\"","key":"fusion"},{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":false,"domain":"localhost","path":"/mgmt","secure":false,"value":"\"Dl81+D6m3Wca6ivoZadeKx3xv0Q=\"","key":"fusion"},{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":false,"domain":"localhost","path":"/api","secure":false,"value":"\"Dl81+D6m3Wca6ivoZadeKx3xv0Q=\"","key":"fusion"},{"expires":"Tue Jan 19 2038 03:14:07 GMT+0000 (Coordinated Universal Time)","httpOnly":false,"domain":"localhost","path":"/fd","secure":false,"value":"\"Dl81+D6m3Wca6ivoZadeKx3xv0Q=\"","key":"fusion"}],"responseTime":null,"body":"{\"user\":{\"username\":\"admin\",\"rights\":{\"canAccessFDProServices\":true,\"canRestart\":true,\"admin\":true,\"canShutdown\":true,\"canAccessQuickStats\":true,\"canAccessSettings\":true,\"canAccessSystemServices\":true,\"canAccessUserMgmt\":true,\"canBrowseFolders\":true}},\"fdpro\":{\"isAvailable\":true,\"configuration\":{\"productName\":\"FireDaemon Pro\",\"productShortName\":\"FireDaemon\"},\"globalSettings\":{\"displayNamePrefix\":\"FireDaemon Service:\"}},\"landing\":\"/stats/quickstats\"}"}],"_postman_id":"51f855cc-b7fa-4227-8aa9-e5752e526d68"},{"name":"Fetch FireDaemon Services","id":"4f204908-6de5-4706-afcb-9d79f6e131d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:20604/api/v2/services.datatables?fd-only","description":"<p>Fetch FireDaemon services.</p>\n<p>Returns <code>json</code> suitable for the datatables plugin.</p>\n","urlObject":{"protocol":"https","port":"20604","path":["api","v2","services.datatables"],"host":["localhost"],"query":[{"key":"fd-only","value":null}],"variable":[]}},"response":[],"_postman_id":"4f204908-6de5-4706-afcb-9d79f6e131d0"},{"name":"Fetch Windows Services","id":"52c6c545-9534-4b34-9228-ceedebd2174f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:20604/api/v2/services.datatables?system-only","description":"<p>Fetch system services.</p>\n<p>Returns <code>json</code> suitable for the datatables plugin.</p>\n","urlObject":{"protocol":"https","port":"20604","path":["api","v2","services.datatables"],"host":["localhost"],"query":[{"description":{"content":"<p>Optional. Using this parameter shows only Windows system services.</p>\n","type":"text/plain"},"key":"system-only","value":null}],"variable":[]}},"response":[],"_postman_id":"52c6c545-9534-4b34-9228-ceedebd2174f"},{"name":"Fetch service \"UI0Detect\"","id":"3e170b30-7d48-4dda-a259-03744cfb4131","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:20604/api/v1/services/UI0Detect","description":"<p>Returns information about a specified service.</p>\n<p>Returns <code>xml</code>.</p>\n<p>Note that there's no API yet to save the xml back to the server, only the legacy API <code>/inbuilt/descr</code>.</p>\n","urlObject":{"protocol":"https","port":"20604","path":["api","v1","services","UI0Detect"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"3e170b30-7d48-4dda-a259-03744cfb4131"},{"name":"Fetch status of service \"UI0Detect\"","id":"8fa6e27f-2174-4234-bbf6-885fc5f26d7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:20604/api/v2/services/UI0Detect/state","description":"<p>Returns the status and runtime information of a service.</p>\n<p>Returns <code>json</code>.</p>\n","urlObject":{"protocol":"https","port":"20604","path":["api","v2","services","UI0Detect","state"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8fa6e27f-2174-4234-bbf6-885fc5f26d7e"},{"name":"Fetch status of a specific service","id":"133f7016-d33c-409e-abdb-e55eb46b76b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:20604/api/v2/services/Notepad/state","description":"<p>Return the status and runtime information of a service.</p>\n<p>Returns <code>json</code>.</p>\n","urlObject":{"protocol":"https","port":"20604","path":["api","v2","services","Notepad","state"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"133f7016-d33c-409e-abdb-e55eb46b76b1"},{"name":"Fetch controllability of service \"UI0Detect\"","id":"8b41beec-19b9-4df7-858f-f345d909c30e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:20604/api/v2/services/UI0Detect/controllability","description":"<p>Returns information about the status and controllability of a service.</p>\n<p>Returns <code>json</code>.</p>\n","urlObject":{"protocol":"https","port":"20604","path":["api","v2","services","UI0Detect","controllability"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8b41beec-19b9-4df7-858f-f345d909c30e"},{"name":"Restart service \"UI0Detect\"","id":"9c1142f4-0bd4-44d9-8848-1ff252e0f95b","request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"svcname","value":"UI0Detect","type":"text"},{"key":"action","value":"restart","type":"text"}]},"url":"https://localhost:20604/api/v1/services.control","description":"<p>Control a service via POST request. Two parameters are required.</p>\n<ul>\n<li><code>svcname</code> - The shortname of the service. Separate multiple services by <code>/</code>.</li>\n<li><code>action</code> - The action to take on the service(s) specified in <code>svcname</code>. These actions are supported: <code>start</code>,<code>stop</code>,<code>restart</code>,<code>resume</code>,<code>pause</code></li>\n</ul>\n<p>Returns the following:</p>\n<ul>\n<li>204: success</li>\n<li>403: user missing rights for some services</li>\n<li>500: some services failed</li>\n</ul>\n","urlObject":{"protocol":"https","port":"20604","path":["api","v1","services.control"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"9c1142f4-0bd4-44d9-8848-1ff252e0f95b"},{"name":"Fetch Fusion Settings","id":"10631ebf-1b35-4655-991e-c8df3cbca8bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:20604/api/v1/settings","description":"<p>Fetch settings of the currently running Fusion instance in <code>json</code>.</p>\n","urlObject":{"protocol":"https","port":"20604","path":["api","v1","settings"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"10631ebf-1b35-4655-991e-c8df3cbca8bf"},{"name":"Fetch JqueryFileTree of Directories and Files","id":"e837937b-7668-47f5-bfe6-2f5d0b564566","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:20604/api/v1/browsefolder.jqueryfiletree?dir=C:\\","description":"<p>This action returns a JqueryFileTree of directories and files relative to a given directory as an HTML fragment. This fragment is suitable for jQueryFileTree.</p>\n","urlObject":{"protocol":"https","port":"20604","path":["api","v1","browsefolder.jqueryfiletree"],"host":["localhost"],"query":[{"key":"dir","value":"C:\\"}],"variable":[]}},"response":[],"_postman_id":"e837937b-7668-47f5-bfe6-2f5d0b564566"},{"name":"Validate a folder or file path","id":"0c15c64a-6f75-4eca-84db-4d8b73180ad0","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://localhost:20604/api/v1/validatepath?path=C:\\&isFolder=true","description":"<p>Validates the existence of a provided file or folder. Returns a <code>success</code> or <code>error</code> message in <code>json</code>.</p>\n<p>The <code>path</code> parameter is required.</p>\n<p>The <code>isFolder</code> parameter's value must be one of <code>true</code> or <code>false</code>. This parameter is required when validating a file. It is optional when validating a folder.</p>\n","urlObject":{"protocol":"https","port":"20604","path":["api","v1","validatepath"],"host":["localhost"],"query":[{"key":"path","value":"C:\\"},{"key":"isFolder","value":"true"}],"variable":[]}},"response":[{"id":"ba5214c6-ecf0-4c58-81c2-8bcf903c9a24","name":"Validate a file path","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://localhost:20604/api/v1/validatepath?path=C:\\myfile.txt&isFolder=false","protocol":"https","host":["localhost"],"port":"20604","path":["api","v1","validatepath"],"query":[{"key":"path","value":"C:\\myfile.txt"},{"key":"isFolder","value":"false"}]}},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"d6cb8962-de0f-4326-810d-1404be18655e","name":"Validate a folder","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://localhost:20604/api/v1/validatepath?path=C:\\&isFolder=true","protocol":"https","host":["localhost"],"port":"20604","path":["api","v1","validatepath"],"query":[{"key":"path","value":"C:\\"},{"key":"isFolder","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"0c15c64a-6f75-4eca-84db-4d8b73180ad0"},{"name":"Fetch list of nodes","id":"035663d1-2c17-42a9-a667-aa2c407871c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:20604/api/v1/nodes","description":"<p>Fetch information on all local and remote nodes.</p>\n","urlObject":{"protocol":"https","port":"20604","path":["api","v1","nodes"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"035663d1-2c17-42a9-a667-aa2c407871c5"},{"name":"Fetch system information","id":"fbbc7f53-d6e9-47ba-a2a8-f6475f1c2a22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:20604/api/v1/system-information?filter=fd","description":"<p>Fetches information for the system in <code>json</code>.</p>\n<p>The <code>filter</code> parameter allows for filtering for a specific set of information. Multiple values, separated by commas, are supported.</p>\n<p>The following values for <code>filter</code> are supported: <code>quickstats</code>, <code>fd</code>, <code>os</code>, <code>processor</code>, <code>storage</code>, <code>memory</code>, <code>session</code>, <code>network</code></p>\n","urlObject":{"protocol":"https","port":"20604","path":["api","v1","system-information"],"host":["localhost"],"query":[{"description":{"content":"<p>Filter for specific system information. Supported values:  quickstats, fd, os, processor, storage, memory, session, network</p>\n","type":"text/plain"},"key":"filter","value":"fd"}],"variable":[]}},"response":[],"_postman_id":"fbbc7f53-d6e9-47ba-a2a8-f6475f1c2a22"},{"name":"Fetch service dependency information","id":"32d44456-97f5-41a4-82e2-030350bf202f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:20604/api/v1/service-dependency-information","description":"<p>Retrieves service dependency list from the OS.</p>\n","urlObject":{"protocol":"https","port":"20604","path":["api","v1","service-dependency-information"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"32d44456-97f5-41a4-82e2-030350bf202f"},{"name":"Fetch pre-shutdown list from OS","id":"8e52cc42-9490-4516-a872-4b3288d06cbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:20604/api/v1/preshutdown-list","description":"<p>This API call returns the pre-shutdown list from the OS in JSON format.</p>\n","urlObject":{"protocol":"https","port":"20604","path":["api","v1","preshutdown-list"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8e52cc42-9490-4516-a872-4b3288d06cbe"},{"name":"Create a new FireDaemon Service","id":"a6ffac9b-91b3-4afc-8928-c96329e21d18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Requested-With","value":"XMLHttpRequest","description":"<p>Makes Fusion return 204 upon success.\nIf unspecified Fusion returns 302 to <code>/fd/list</code></p>\n","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"svcname","value":"winver","type":"text"},{"key":"displayname","value":"winver","type":"text"},{"key":"customprefixstring","value":"FireDaemon Service:","type":"text"},{"key":"description","value":"","type":"text"},{"key":"startuptype","value":"0","type":"text"},{"key":"pathtoexe","value":"C:\\Windows\\System32\\winver.exe","type":"text"},{"key":"workdir","value":"C:\\Windows\\System32","type":"text"},{"key":"parameters","value":"","type":"text"},{"key":"programtype","value":"1","type":"text"},{"key":"logoninteractwithdesktop","value":"on","type":"text"},{"key":"settingsshowwindow","value":"0","type":"text"},{"key":"sidtype","value":"1","type":"text"},{"key":"advancedjobtype","value":"0","type":"text"},{"key":"settingsloadordergroup","value":"","type":"text"},{"key":"logonusecustomaccount","value":"0","type":"text"},{"key":"logonaccount","value":"","type":"text"},{"key":"logonpassword","value":"","type":"text"},{"key":"logonconfirmpassword","value":"","type":"text"},{"key":"hfLogonpasswordChanged","value":"false","type":"text"},{"key":"advancedpriority","value":"0","type":"text"},{"key":"processorgroup","value":"unspecified","type":"text"},{"key":"numanodes","value":"","type":"text"},{"key":"advancedcpubindings","value":"0","type":"text"},{"key":"statsmonitoringfreq","value":"5000","type":"text"},{"key":"settingsuponprogramexit","value":"7","type":"text"},{"key":"settingsflapdetection","value":"3","type":"text"},{"key":"settingsflapdetectionretries","value":"10","type":"text"},{"key":"settingsfaildetection","value":"0","type":"text"},{"key":"settingsfaildetectionretries","value":"1","type":"text"},{"key":"settingshangdetection","value":"1","type":"text"},{"key":"settingshangdetectionperiod","value":"3","type":"text"},{"key":"settingsgracefulshutdown","value":"2","type":"text"},{"key":"settingsmaxshutdowndelay","value":"5000","type":"text"},{"key":"settingsstartuptime","value":"0","type":"text"},{"key":"consoleapplication","value":"","type":"text"},{"key":"ctrlc","value":"0","type":"text"},{"key":"preshutdowndelay","value":"180000","type":"text"},{"key":"preshutdownvalues","value":"wuauserv/gpsvc/trustedinstaller","type":"text"},{"key":"advancedenabledebugging","value":"0","type":"text"},{"key":"advanceddebuglogfile","value":"","type":"text"},{"key":"advancedcapturestdoutfile","value":"","type":"text"},{"key":"advancedcapturestderrfile","value":"","type":"text"},{"key":"dependenciesservices","value":"","type":"text"},{"key":"dependenciesgroups","value":"","type":"text"},{"key":"dialogslogfile","value":"","type":"text"},{"key":"dialogscheckfrequency","value":"5000","type":"text"},{"key":"recoveryfirstfailure","value":"0","type":"text"},{"key":"recoverysecondfailure","value":"0","type":"text"},{"key":"recoverysubsequent","value":"0","type":"text"},{"key":"recoveryresetfailcountafter","value":"0","type":"text"},{"key":"recoveryrestartservicedelay","value":"0","type":"text"},{"key":"recoveryprogram","value":"","type":"text"},{"key":"recoverycommandlineparams","value":"","type":"text"},{"key":"recoveryrestartcomputerdelay","value":"0","type":"text"},{"key":"recoveryrebootmsg","value":"","type":"text"},{"key":"environment_variable[]","value":"TEMP","type":"text"},{"key":"environment_value[]","value":"C:\\Temp","type":"text"},{"key":"environment_variable[]","value":"TMP","type":"text"},{"key":"environment_value[]","value":"C:\\Temp","type":"text"}]},"url":"https://localhost:20604/fd/new","description":"<p>Creates a new FireDaemon service via the legacy API <code>/fd/new</code>.</p>\n<p>Returns the following:</p>\n<ul>\n<li>204: success</li>\n<li>400: (bad request) creating service failed</li>\n<li>403: user missing rights</li>\n</ul>\n","urlObject":{"protocol":"https","port":"20604","path":["fd","new"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d6ac3a23-4d24-44a0-92cb-8c3103faf7e0","name":"Create a new GUI Program","originalRequest":{"method":"POST","header":[{"key":"X-Requested-With","value":"XMLHttpRequest","description":"Makes Fusion return 204 upon success.\nIf unspecified Fusion returns 302 to `/fd/list`","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"svcname","value":"winver","type":"text"},{"key":"displayname","value":"winver","type":"text"},{"key":"customprefixstring","value":"FireDaemon Service:","type":"text"},{"key":"description","value":"","type":"text"},{"key":"startuptype","value":"0","type":"text"},{"key":"pathtoexe","value":"c:\\Windows\\System32\\winver.exe","type":"text"},{"key":"workdir","value":"C:\\Windows\\System32","type":"text"},{"key":"parameters","value":"","type":"text"},{"key":"programtype","value":"1","type":"text"},{"key":"logoninteractwithdesktop","value":"on","type":"text"},{"key":"settingsshowwindow","value":"0","type":"text"},{"key":"sidtype","value":"1","type":"text"},{"key":"advancedjobtype","value":"0","type":"text"},{"key":"settingsloadordergroup","value":"","type":"text"},{"key":"logonusecustomaccount","value":"0","type":"text"},{"key":"logonaccount","value":"","type":"text"},{"key":"logonpassword","value":"","type":"text"},{"key":"logonconfirmpassword","value":"","type":"text"},{"key":"hfLogonpasswordChanged","value":"false","type":"text"},{"key":"advancedpriority","value":"0","type":"text"},{"key":"processorgroup","value":"unspecified","type":"text"},{"key":"numanodes","value":"","type":"text"},{"key":"advancedcpubindings","value":"0","type":"text"},{"key":"statsmonitoringfreq","value":"5000","type":"text"},{"key":"settingsuponprogramexit","value":"7","type":"text"},{"key":"settingsflapdetection","value":"3","type":"text"},{"key":"settingsflapdetectionretries","value":"10","type":"text"},{"key":"settingsfaildetection","value":"0","type":"text"},{"key":"settingsfaildetectionretries","value":"1","type":"text"},{"key":"settingshangdetection","value":"1","type":"text"},{"key":"settingshangdetectionperiod","value":"3","type":"text"},{"key":"settingsgracefulshutdown","value":"2","type":"text"},{"key":"settingsmaxshutdowndelay","value":"5000","type":"text"},{"key":"settingsstartuptime","value":"0","type":"text"},{"key":"consoleapplication","value":"","description":"Must be empty","type":"text","disabled":true},{"key":"ctrlc","value":"0","type":"text"},{"key":"preshutdowndelay","value":"180000","type":"text"},{"key":"preshutdownvalues","value":"wuauserv/gpsvc/trustedinstaller","type":"text"},{"key":"advancedenabledebugging","value":"0","type":"text"},{"key":"advanceddebuglogfile","value":"","type":"text"},{"key":"advancedcapturestdoutfile","value":"","type":"text"},{"key":"advancedcapturestderrfile","value":"","type":"text"},{"key":"dependenciesservices","value":"","type":"text"},{"key":"dependenciesgroups","value":"","type":"text"},{"key":"dialogslogfile","value":"","type":"text"},{"key":"dialogscheckfrequency","value":"5000","type":"text"},{"key":"recoveryfirstfailure","value":"0","type":"text"},{"key":"recoverysecondfailure","value":"0","type":"text"},{"key":"recoverysubsequent","value":"0","type":"text"},{"key":"recoveryresetfailcountafter","value":"0","type":"text"},{"key":"recoveryrestartservicedelay","value":"0","type":"text"},{"key":"recoveryprogram","value":"","type":"text"},{"key":"recoverycommandlineparams","value":"","type":"text"},{"key":"recoveryrestartcomputerdelay","value":"0","type":"text"},{"key":"recoveryrebootmsg","value":"","type":"text"}]},"url":"https://localhost:20604/fd/new"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"no-cache"},{"key":"Content-Length","value":"0"},{"key":"Connection","value":"Keep-Alive"},{"key":"X-Powered-By","value":"Coconuts and Rum :)/6.5.27"}],"cookie":[],"responseTime":null,"body":null},{"id":"9502640a-9e92-4f19-839d-cc52c5924dfa","name":"Create a new Console Program","originalRequest":{"method":"POST","header":[{"key":"X-Requested-With","value":"XMLHttpRequest","description":"Makes Fusion return 204 upon success.\nIf unspecified Fusion returns 302 to `/fd/list`","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"svcname","value":"ping","type":"text"},{"key":"displayname","value":"ping","type":"text"},{"key":"customprefixstring","value":"FireDaemon Service:","type":"text"},{"key":"description","value":"","type":"text"},{"key":"startuptype","value":"0","type":"text"},{"key":"pathtoexe","value":"C:\\Windows\\System32\\PING.EXE","type":"text"},{"key":"workdir","value":"C:\\Windows\\System32","type":"text"},{"key":"parameters","value":"-t localhost","type":"text"},{"key":"programtype","value":"1","type":"text"},{"key":"logoninteractwithdesktop","value":"on","type":"text"},{"key":"settingsshowwindow","value":"0","type":"text"},{"key":"sidtype","value":"0","type":"text"},{"key":"advancedjobtype","value":"0","type":"text"},{"key":"settingsloadordergroup","value":"","type":"text"},{"key":"logonusecustomaccount","value":"0","type":"text"},{"key":"logonaccount","value":"","type":"text"},{"key":"logonpassword","value":"","type":"text"},{"key":"logonconfirmpassword","value":"","type":"text"},{"key":"hfLogonpasswordChanged","value":"false","type":"text"},{"key":"advancedpriority","value":"0","type":"text"},{"key":"processorgroup","value":"unspecified","type":"text"},{"key":"numanodes","value":"","type":"text"},{"key":"advancedcpubindings","value":"0","type":"text"},{"key":"statsmonitoringfreq","value":"5000","type":"text"},{"key":"settingsuponprogramexit","value":"7","type":"text"},{"key":"settingsflapdetection","value":"3","type":"text"},{"key":"settingsflapdetectionretries","value":"10","type":"text"},{"key":"settingsfaildetection","value":"0","type":"text"},{"key":"settingsfaildetectionretries","value":"1","type":"text"},{"key":"settingshangdetection","value":"0","type":"text"},{"key":"settingshangdetectionperiod","value":"3","type":"text"},{"key":"settingsgracefulshutdown","value":"2","type":"text"},{"key":"settingsmaxshutdowndelay","value":"5000","type":"text"},{"key":"settingsstartuptime","value":"0","type":"text"},{"key":"consoleapplication","value":"on","type":"text","description":"Must not be empty"},{"key":"ctrlc","value":"1","type":"text"},{"key":"preshutdowndelay","value":"180000","type":"text"},{"key":"preshutdownvalues","value":"DeviceInstall/UsoSvc/gpsvc/trustedinstaller","type":"text"},{"key":"advancedenableeventlogging","value":"on","type":"text"},{"key":"advancedenabledebugging","value":"0","type":"text"},{"key":"advancedappendlogs","value":"on","type":"text"},{"key":"advanceddebuglogfile","value":"","type":"text"},{"key":"advancedcapturestdoutfile","value":"","type":"text"},{"key":"advancedcapturestderrfile","value":"","type":"text"},{"key":"dependenciesservices","value":"","type":"text"},{"key":"dependenciesgroups","value":"","type":"text"},{"key":"dialogslogfile","value":"","type":"text"},{"key":"dialogscheckfrequency","value":"5000","type":"text"},{"key":"recoveryfirstfailure","value":"0","type":"text"},{"key":"recoverysecondfailure","value":"0","type":"text"},{"key":"recoverysubsequent","value":"0","type":"text"},{"key":"recoveryresetfailcountafter","value":"0","type":"text"},{"key":"recoveryrestartservicedelay","value":"0","type":"text"},{"key":"recoveryprogram","value":"","type":"text"},{"key":"recoverycommandlineparams","value":"","type":"text"},{"key":"recoveryrestartcomputerdelay","value":"0","type":"text"},{"key":"recoveryrebootmsg","value":"","type":"text"},{"key":"environment_variable[]","value":"TEMP","type":"text"},{"key":"environment_value[]","value":"C:\\Temp","type":"text"},{"key":"environment_variable[]","value":"TMP","type":"text"},{"key":"environment_value[]","value":"C:\\Temp","type":"text"}]},"url":"https://localhost:20604/fd/new"},"status":"No Content","code":204,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":""}],"_postman_id":"a6ffac9b-91b3-4afc-8928-c96329e21d18"},{"name":"Delete a FireDaemon Service","id":"0f70637e-493a-4944-bf73-dee081a48d58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://localhost:20604/api/v1/services/winver","description":"<p>Deletes a FireDaemon service.</p>\n<p>Returns the following:</p>\n<ul>\n<li>204 success</li>\n<li>403 user missing rights</li>\n<li>500 uninstalling service failed</li>\n</ul>\n","urlObject":{"protocol":"https","port":"20604","path":["api","v1","services","winver"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"0f70637e-493a-4944-bf73-dee081a48d58"},{"name":"Retrieve a service definition's scheduling","id":"22a00552-f184-4274-abad-b89679310d23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:20604/api/v1/services/Notepad/scheduling","description":"<p>Retrieves the scheduling settings for the given service in <code>xml</code> format.</p>\n","urlObject":{"protocol":"https","port":"20604","path":["api","v1","services","Notepad","scheduling"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"22a00552-f184-4274-abad-b89679310d23"},{"name":"Modify a service definition's scheduling","id":"093f7179-3a24-44fa-92fc-b420dac4e5b5","request":{"method":"PUT","header":[{"key":"Content-Type","value":"text/xml"}],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<Service xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:fd=\"http://xml.firedaemon.com\" fd:version=\"2\">\r\n    <Program>\r\n        <Name>Notepad</Name>\r\n        <DisplayName>Notepad</DisplayName>\r\n        <ApplicationType>1</ApplicationType>\r\n    </Program>\r\n    <Scheduling stop_after_completion=\"false\">\r\n        <fds:schedules xmlns:fds=\"http://xml.firedaemon.com/scheduling/v1\"/>\r\n    </Scheduling>\r\n</Service>"},"url":"https://localhost:20604/api/v1/services/Notepad/scheduling","description":"<p>Uploads the scheduling settings for the given service.\nThe data must be submitted in the body of the request in <code>xml</code> format.</p>\n<p>Information on the scheduling XML tags can be found in the FireDaemon Pro manual.</p>\n","urlObject":{"protocol":"https","port":"20604","path":["api","v1","services","Notepad","scheduling"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"093f7179-3a24-44fa-92fc-b420dac4e5b5"},{"name":"Fetch a specific template","id":"7bd488a4-da69-42f0-b5f7-089ffd8e706b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:20604/api/v1/service-templates/Default%20Template","description":"<p>Fetches a selected template from which one can build new services via XML. </p>\n","urlObject":{"protocol":"https","port":"20604","path":["api","v1","service-templates","Default%20Template"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7bd488a4-da69-42f0-b5f7-089ffd8e706b"},{"name":"Fetch list of services assigned to a given user","id":"06f872f6-0c82-4cbd-9970-83d30ce7bd40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:20604/api/v1/services.assignment?username=admin&fd-only","description":"<p>Retrieves a list of services assigned to a given user in <code>json</code> format.</p>\n<p>The <code>user</code> parameter specifies which user's assigned services to retrive.</p>\n<p>The <code>fd-only</code> or <code>system-only</code> parameters may also be used to filter the list of services by FireDaemon services or system services.</p>\n","urlObject":{"protocol":"https","port":"20604","path":["api","v1","services.assignment"],"host":["localhost"],"query":[{"key":"username","value":"admin"},{"key":"fd-only","value":null}],"variable":[]}},"response":[],"_postman_id":"06f872f6-0c82-4cbd-9970-83d30ce7bd40"},{"name":"View list of user data","id":"ee595e1d-770a-40d8-878a-1671b1dbd265","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://localhost:20604/api/v1/users.legacy","description":"<p>This action returns JSON with FireDaemon Fusion user data.</p>\n<p>Note that all these parameters are optional and will revert to the default value if not set.</p>\n<ul>\n<li><code>page</code> - Tells which page to display. The default value is 1.</li>\n<li><code>rows</code> - Tells how many rows to display per page. The default value is 15.</li>\n<li><code>sord</code> - Tells which order to sort the result in. Options are asc (ascending) and desc (descending). The default value is asc.</li>\n<li><code>sidx</code> - Tells which field to sort by. Options are username, firstname, lastname, servicesassigned, roles, actions. The default value is username.</li>\n</ul>\n<p>The term 'legacy' suggests that it will change in a future release, the reason for this being that the currently returned information is tied to what Fusion itself displays to the user.</p>\n","urlObject":{"protocol":"https","port":"20604","path":["api","v1","users.legacy"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ee595e1d-770a-40d8-878a-1671b1dbd265"},{"name":"Shutdown or Restart a node","id":"b126fca1-b7b9-4c5e-9156-b570c277943b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"\"shutting down\"","options":{"raw":{"language":"json"}}},"url":"https://localhost:20604/api/v1/nodes/state?nodealias=localhost","description":"<p>Shuts down or restarts the local or a remote node.</p>\n<p>GET parameters:</p>\n<ul>\n<li><code>nodelias</code> optional alias of the target remote node.</li>\n</ul>\n<p>POST data in <code>json</code> format:</p>\n<ul>\n<li>Possible string values are: <code>shutting down</code>, <code>restarting</code></li>\n</ul>\n","urlObject":{"protocol":"https","port":"20604","path":["api","v1","nodes","state"],"host":["localhost"],"query":[{"description":{"content":"<p>optional, alias of remote node</p>\n","type":"text/plain"},"key":"nodealias","value":"localhost"}],"variable":[]}},"response":[],"_postman_id":"b126fca1-b7b9-4c5e-9156-b570c277943b"},{"name":"Logout","id":"aeb22a1d-6719-470e-8b4f-2d1745adfecd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://localhost:20604/auth/logout","description":"<p>Logout of Fusion.</p>\n<p>Resets several cookies for various service points.</p>\n","urlObject":{"protocol":"https","port":"20604","path":["auth","logout"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"aeb22a1d-6719-470e-8b4f-2d1745adfecd"}],"event":[{"listen":"prerequest","script":{"id":"0822230c-a50b-458c-9fbe-4fc17ce43b00","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"25241ced-140f-473d-883c-ec6a96576313","type":"text/javascript","exec":[""]}}]}