iR Engine API
client-setting
/client-setting
1 min
code examples curl location globoff '/client setting?filter={%22%24sort%22%3a{}%2c%22id%22%3a{}%2c%22logo%22%3a{}%2c%22title%22%3a{}%2c%22shorttitle%22%3a{}%2c%22startpath%22%3a{}%2c%22url%22%3a{}%2c%22releasename%22%3a{}%2c%22sitedescription%22%3a{}%2c%22favicon32px%22%3a{}%2c%22favicon16px%22%3a{}%2c%22icon192px%22%3a{}%2c%22icon512px%22%3a{}%2c%22webmanifestlink%22%3a{}%2c%22swscriptlink%22%3a{}%2c%22appbackground%22%3a{}%2c%22apptitle%22%3a{}%2c%22appsubtitle%22%3a{}%2c%22appdescription%22%3a{}%2c%22gtmcontainerid%22%3a{}%2c%22gtmauth%22%3a{}%2c%22gtmpreview%22%3a{}%2c%22key8thwall%22%3a{}%2c%22privacypolicy%22%3a{}%2c%22termsofservice%22%3a{}%2c%22assistancelink%22%3a{}%2c%22homepagelinkbuttonenabled%22%3a{}%2c%22homepagelinkbuttonredirect%22%3a{}%2c%22homepagelinkbuttontext%22%3a{}}' \\ \ header 'accept application/json' \\ \ header 'content type application/json'var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("content type", "application/json"); var requestoptions = { method 'get', headers myheaders, redirect 'follow' }; fetch("/client setting?filter={\\"$sort\\" {},\\"id\\" {},\\"logo\\" {},\\"title\\" {},\\"shorttitle\\" {},\\"startpath\\" {},\\"url\\" {},\\"releasename\\" {},\\"sitedescription\\" {},\\"favicon32px\\" {},\\"favicon16px\\" {},\\"icon192px\\" {},\\"icon512px\\" {},\\"webmanifestlink\\" {},\\"swscriptlink\\" {},\\"appbackground\\" {},\\"apptitle\\" {},\\"appsubtitle\\" {},\\"appdescription\\" {},\\"gtmcontainerid\\" {},\\"gtmauth\\" {},\\"gtmpreview\\" {},\\"key8thwall\\" {},\\"privacypolicy\\" {},\\"termsofservice\\" {},\\"assistancelink\\" {},\\"homepagelinkbuttonenabled\\" {},\\"homepagelinkbuttonredirect\\" {},\\"homepagelinkbuttontext\\" {}}", requestoptions) then(response => response text()) then(result => console log(result)) catch(error => console log('error', error));require "uri" require "json" require "net/http" url = uri("/client setting?filter={\\"$sort\\" {},\\"id\\" {},\\"logo\\" {},\\"title\\" {},\\"shorttitle\\" {},\\"startpath\\" {},\\"url\\" {},\\"releasename\\" {},\\"sitedescription\\" {},\\"favicon32px\\" {},\\"favicon16px\\" {},\\"icon192px\\" {},\\"icon512px\\" {},\\"webmanifestlink\\" {},\\"swscriptlink\\" {},\\"appbackground\\" {},\\"apptitle\\" {},\\"appsubtitle\\" {},\\"appdescription\\" {},\\"gtmcontainerid\\" {},\\"gtmauth\\" {},\\"gtmpreview\\" {},\\"key8thwall\\" {},\\"privacypolicy\\" {},\\"termsofservice\\" {},\\"assistancelink\\" {},\\"homepagelinkbuttonenabled\\" {},\\"homepagelinkbuttonredirect\\" {},\\"homepagelinkbuttontext\\" {}}") http = net http new(url host, url port); request = net http get new(url) request\["accept"] = "application/json" request\["content type"] = "application/json" response = http request(request) puts response read body import requests import json url = "/client setting?filter={\\"$sort\\" {},\\"id\\" {},\\"logo\\" {},\\"title\\" {},\\"shorttitle\\" {},\\"startpath\\" {},\\"url\\" {},\\"releasename\\" {},\\"sitedescription\\" {},\\"favicon32px\\" {},\\"favicon16px\\" {},\\"icon192px\\" {},\\"icon512px\\" {},\\"webmanifestlink\\" {},\\"swscriptlink\\" {},\\"appbackground\\" {},\\"apptitle\\" {},\\"appsubtitle\\" {},\\"appdescription\\" {},\\"gtmcontainerid\\" {},\\"gtmauth\\" {},\\"gtmpreview\\" {},\\"key8thwall\\" {},\\"privacypolicy\\" {},\\"termsofservice\\" {},\\"assistancelink\\" {},\\"homepagelinkbuttonenabled\\" {},\\"homepagelinkbuttonredirect\\" {},\\"homepagelinkbuttontext\\" {}}" payload = {} headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("get", url, headers=headers, data=payload) print(response text) responses // success { "total" 0, "limit" 0, "skip" 0, "data" \[ { "id" "", "logo" "", "title" "", "shorttitle" "", "startpath" "", "url" "", "releasename" "", "sitedescription" "", "appletouchicon" "", "favicon32px" "", "favicon16px" "", "icon192px" "", "icon512px" "", "sitemanifest" "", "safaripinnedtab" "", "favicon" "", "webmanifestlink" "", "swscriptlink" "", "appbackground" "", "apptitle" "", "appsubtitle" "", "appdescription" "", "appsociallinks" \[ "" ], "gtmcontainerid" "", "gtmauth" "", "gtmpreview" "", "themesettings" {}, "thememodes" {}, "key8thwall" "", "privacypolicy" "", "termsofservice" "", "assistancelink" "", "homepagelinkbuttonenabled" false, "homepagelinkbuttonredirect" "", "homepagelinkbuttontext" "", "createdat" "", "updatedat" "", "mediasettings" {} } ] }// not authenticated // general error