{ "opencollection": "1.0.0", "info": { "name": "IO.Common Accounts ScaleLocker 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": "ScaleLocker", "type": "folder" }, "items": [ { "info": { "name": "Get location scale lockers", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/ScaleLocker/:locationId", "params": [ { "name": "locationId", "value": "", "type": "path", "description": "Location id" }, { "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 location scale lockers" }, { "info": { "name": "Get defined locker configuration in defined location", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/ScaleLocker/:locationId/:lockerId", "params": [ { "name": "locationId", "value": "", "type": "path", "description": "Location id" }, { "name": "lockerId", "value": "", "type": "path", "description": "Locker id" }, { "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 defined locker configuration in defined location" }, { "info": { "name": "Save Scale locker layout/configuration", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/v1/ScaleLocker/:locationId/:lockerId", "params": [ { "name": "locationId", "value": "", "type": "path" }, { "name": "lockerId", "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": "Save Scale locker layout/configuration" }, { "info": { "name": "Confirm Scale Locker layout/configuration", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/ScaleLocker/:locationId/:lockerId/firm", "params": [ { "name": "locationId", "value": "", "type": "path" }, { "name": "lockerId", "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": "Confirm Scale Locker layout/configuration" }, { "info": { "name": "Toggle locker state operational/Congifuration", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/ScaleLocker/:locationId/:lockerId/state", "params": [ { "name": "locationId", "value": "", "type": "path" }, { "name": "lockerId", "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": "Toggle locker state operational/Congifuration" }, { "info": { "name": "Save seds configuration to cabinet", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/ScaleLocker/:locationId/:lockerId/leds", "params": [ { "name": "locationId", "value": "", "type": "path" }, { "name": "lockerId", "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": "Save seds configuration to cabinet" } ] } ], "bundled": true }