{ "opencollection": "1.0.0", "info": { "name": "IO.Common Accounts GlobalSettings API", "version": "1.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://identity.scanbro.com/connect/authorize", "accessTokenUrl": "https://identity.scanbro.com/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "GlobalSettings", "type": "folder" }, "items": [ { "info": { "name": "Get all global settings types", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/GlobalSettings/types", "params": [ { "name": "Account", "value": "", "type": "query", "description": "Account" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://identity.scanbro.com/connect/authorize", "accessTokenUrl": "https://identity.scanbro.com/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get all global settings types" }, { "info": { "name": "Get all existing global settings", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/GlobalSettings", "params": [ { "name": "Account", "value": "", "type": "query", "description": "Account" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://identity.scanbro.com/connect/authorize", "accessTokenUrl": "https://identity.scanbro.com/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get all existing global settings" }, { "info": { "name": "Create a new global setting", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/GlobalSettings", "params": [ { "name": "Account", "value": "", "type": "query", "description": "Account" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://identity.scanbro.com/connect/authorize", "accessTokenUrl": "https://identity.scanbro.com/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create a new global setting" }, { "info": { "name": "Get a global setting by id", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/GlobalSettings/:id", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "Account", "value": "", "type": "query", "description": "Account" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://identity.scanbro.com/connect/authorize", "accessTokenUrl": "https://identity.scanbro.com/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get a global setting by id" }, { "info": { "name": "Change the value of a global setting", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/v1/GlobalSettings/:id", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "Account", "value": "", "type": "query", "description": "Account" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://identity.scanbro.com/connect/authorize", "accessTokenUrl": "https://identity.scanbro.com/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Change the value of a global setting" }, { "info": { "name": "Delete a global setting by it's id", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v1/GlobalSettings/:id", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "Account", "value": "", "type": "query", "description": "Account" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://identity.scanbro.com/connect/authorize", "accessTokenUrl": "https://identity.scanbro.com/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete a global setting by it's id" }, { "info": { "name": "Update multiple global settings with new values and types", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/v1/GlobalSettings/bulk", "params": [ { "name": "Account", "value": "", "type": "query", "description": "Account" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://identity.scanbro.com/connect/authorize", "accessTokenUrl": "https://identity.scanbro.com/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update multiple global settings with new values and types" }, { "info": { "name": "Get tenant logo URL", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/GlobalSettings/logo", "params": [ { "name": "Account", "value": "", "type": "query", "description": "Account" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://identity.scanbro.com/connect/authorize", "accessTokenUrl": "https://identity.scanbro.com/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get tenant logo URL" }, { "info": { "name": "Upload Tenant logo", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/GlobalSettings/logo", "params": [ { "name": "Account", "value": "", "type": "query", "description": "Account" } ], "body": { "type": "multipart-form", "data": [ { "name": "LogoImage", "type": "text", "value": "" } ] }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://identity.scanbro.com/connect/authorize", "accessTokenUrl": "https://identity.scanbro.com/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Upload Tenant logo" }, { "info": { "name": "Update tenant logo URL", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/GlobalSettings/logo/url", "params": [ { "name": "Account", "value": "", "type": "query", "description": "Account" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://identity.scanbro.com/connect/authorize", "accessTokenUrl": "https://identity.scanbro.com/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update tenant logo URL" } ] } ], "bundled": true }